bgeneto / siesta-gcc-mpi

Instructions to install siesta with gnu compilers and openmpi
16 stars 11 forks source link

fail to build Util/Gen-basis #3

Open Satinelamp opened 2 years ago

Satinelamp commented 2 years ago

I am trying to build the Utilities with the build_all.sh in the Util directory, but some of the tool's compilations fail

 *** All failed directories:
 *** (Some programs have to be compiled after compiling Siesta)
   ./Gen-basis
   ./STM/ol-stm/Src
   ./SiestaSubroutine/ProtoNEB/Src
   ./SiestaSubroutine/SimpleTest/Src

I go into the Util/Gen-basis directory and try make, but it fails because the system can't find the version_info.mod file

[alpha@fat01 Gen-basis]$ make
gfortran          -c -O3 -fPIC -ftree-vectorize -march=native -I./SiestaXC -I./SiestaXC   -DFC_HAVE_ABORT -DMPI  -UMPI  /home/alpha/software/siesta-4.1.5/Util/Gen-basis/../../Src/m_cite.F90
/home/alpha/software/siesta-4.1.5/Util/Gen-basis/../../Src/m_cite.F90:409:8:

     use version_info, only: version_str
        1
Fatal Error: Can't open module file ‘version_info.mod’ for reading at (1): No such file or directory
compilation terminated.
make: *** [m_cite.o] Error 1

but I checked the Obj directory, there exists a version_info.mod file.

[alpha@fat01 siesta-4.1.5]$ cd Obj/
[alpha@fat01 Obj]$ ll version_info.mod 
-rw-rw-r-- 1 alpha alpha 561 Jun 10 23:03 version_info.mod