times-software / OCEAN

BSE code for core spectroscopy
Other
14 stars 12 forks source link

parallel build fails: Fatal Error: Cannot open module file 'iomod.mod' for reading at (1): No such file or directory #327

Open yurivict opened 3 months ago

yurivict commented 3 months ago

Build fails with errors about missing *.mod files, like this:

gfortran13 -c -I/usr/local/include -Wl,-rpath=/usr/local/lib/gcc13 -cpp -DBLAS -DMPI -D__OLD_MPI -fallow-argument-mismatch -ffree-line-length-512 -D__FFTW3 -fcheck=all -O0 xlogx.f90
m_SelfEnergy.f90:2:7:

    2 |   USE IOMod
      |       1
Fatal Error: Cannot open module file 'iomod.mod' for reading at (1): No such file or directory
compilation terminated.
conv.f90:2:7:

    2 |   USE IOMod
      |       1
Fatal Error: Cannot open module file 'iomod.mod' for reading at (1): No such file or directory
compilation terminated.
make[2]: *** [Makefile:29: conv.o] Error 1
make[2]: *** Waiting for unfinished jobs....
polint.f90:37:51:

   37 |             if (den.eq.0) pause 'failure in polint'
      |                                                   1

Version: 3.1.0 FreeBSD 14.0

jtv3 commented 3 months ago

From your title, is this just when building in parallel?

yurivict commented 3 months ago

Yes, it's only when built in parallel. Serial build succeeds.