I am trying to compile my fortran f90 code using pgf90
PGF90-F-0004-Unable to open MODULE file parameter_fmodule.mod (/home/navier01b/sathiah/FINAL/CODE1/flame6-beta-1.3/program/src/flame_fmodule.f90: 4)
PGF90/x86 Linux 7.1-6: compilation aborted
Perhaps a file that contains parameter_fmodule.mod has not been compiled yet? Make sure they are in the same directory, if not you will need to add -Ilocation_of_mod_file to your compile line.
PGF90-F-0004-Unable to open MODULE file magma.mod (/home/ccevallos/DFTB+/prg_dftb/…/lib_math/eigensolver.F90: 10)
PGF90/x86-64 Linux 17.4-0: compilation aborted
/home/ccevallos/DFTB+/prg_dftb/…/Makefile.common:114: recipe for target ‘eigensolver.o’ failed
make[1]: *** [eigensolver.o] Error 2
Somehow my eigensolver file is unable to open magma.mod. I know magma is compiling right because magma.mod is saved in magma’s include file.
However, this is the line giving trouble:
module eigensolver
use message
use accuracy, only : rsp, rsp2, rdp use magma ------> THIS ONE
I have no idea why. I have tried several versions of cuda, pgi, and magma and always get the same error.
needs to be compiled, so that magma.mod will be created.
The file exists, but not in a directory searched
if you find magma.mod in /usr/xxx/yyy, be sure to add
-I/usr/xxx/yyy to your compile line.
The file magma.mod exists but was not created with PGI 64-bit compilers. *.mod files differ from compiler to compiler, and it may be
that pgf90 needs to recompile the source so that magma.mod
is no in PGI format.