Yes, indeed it works if I disable the coarrays. Here is the command line I enter
to compile neural-fortran :
fpm build --profile release --flag “-I$HDF5INC -L$HDF5LIB -coarray=single” --compiler ifort
Now for instance if I want to compile individually simple.f90 with ifort, I have to enter the command :
ifort simple.f90 -o simple -I$NFINC -I$HDF5INC -L$NFLIB -L$HDF5LIB -lneural-fortran -lhdf5 -lhdf5_fortran -lhdf5_hl -lhdf5hl_fortran -coarray=single
Thank you very much for the help. I should now be able to use neural fortran and contribute if needed.