Problem with include paths?
Posted: Wed Mar 24, 2010 12:41 am
I am trying to compile Abinit 6.0.2 for the first time under Linux with pgi 7.0 compilers. The compilation stops in 12_hide_mpi:
/opt/mpich2.pgi70/bin/mpif90 -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -g -c -o xallgather_mpi.o xallgather_mpi.F90
PGF90-F-0004-Unable to open MODULE file defs_basis.mod (xallgather_mpi.F90: 53)
PGF90/x86-64 Linux 7.0-7: compilation aborted
If I manually add -I../10_defs to the compiler invocation, it finds the defs_basis file and completes normally. But the problem persists with numerous files; it seems that the modules that have been previously compiled are not available in the include path when files in other directories are compiled. Am I doing something wrong, or is there a configuration bug somewhere?
Thanks,
Kirill
/opt/mpich2.pgi70/bin/mpif90 -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -g -c -o xallgather_mpi.o xallgather_mpi.F90
PGF90-F-0004-Unable to open MODULE file defs_basis.mod (xallgather_mpi.F90: 53)
PGF90/x86-64 Linux 7.0-7: compilation aborted
If I manually add -I../10_defs to the compiler invocation, it finds the defs_basis file and completes normally. But the problem persists with numerous files; it seems that the modules that have been previously compiled are not available in the include path when files in other directories are compiled. Am I doing something wrong, or is there a configuration bug somewhere?
Thanks,
Kirill