I have created a new module "m_eig2d.F90" in src/72_response
In that module I have
Code: Select all
#ifdef HAVE_TRIO_ETSF_IO
use etsf_io
#endif
when compiling on woopy I get a Fatal error :
Code: Select all
/usr/local/mpich_gcc/bin/mpif90 -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -I/home/buildbot/ABINIT/woopy_gcc48/sponce_7.7.3-public/fallbacks/exports/include -ffree-form -J/home/buildbot/ABINIT/woopy_gcc48/sponce_7.7.3-public/src/mods -O2 -mtune=native -march=native -ffree-line-length-none -c -o m_eig2d.o m_eig2d.F90
m_eig2d.F90:36.5:
use etsf_io
1
Fatal Error: Can't open module file 'etsf_io.mod' for reading at (1): No such file or directory
The problem is that there is a line missing in the Makefile line.
Indeed the same use etsf_io in 62_occeig/m_ebands.F90 work:
Code: Select all
/usr/local/mpich_gcc/bin/mpif90 -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -I/usr/local/bigdft/include -I/usr/local/fallbacks-dev/include -I/usr/include -I/home/buildbot/ABINIT/woopy_gcc48/sponce_7.7.3-public/fallbacks/exports/include -ffree-form -J/home/buildbot/ABINIT/woopy_gcc48/sponce_7.7.3-public/src/mods -O2 -mtune=native -march=native -ffree-line-length-none -c -o m_ebands.o m_ebands.F90
What should I do in order to modify the Makefile and to add the correct call to etsf_io lib -I/usr/local/fallbacks-dev/include ?
Cheers !
Samuel