Problem with installing Code_Saturne on cluster (lgfortranbegin)

Hello,

I just installed code_saturne 5.0.9 on a cluster.

When I run the “code_saturne run” command it gives this error in compile.log file:

/usr/bin/ld: cannot find -lgfortranbegin

I attached the compile.log file.
compile.log (30.4 KB)
Where is the problem?
Please note that I don’t have permissions to install libraries on the cluster.

Regards,

Mohammad

Hello,

What is in config.log ?

Regards,

Yvan

Hello and thank you,

I attached the file.

Regards,

Mohammad
config.log (254 KB)

Hello,

I’m not sure what is wrong here but MPI was not detected according to the config.log, so that is not a “true” cluster installation.
You may try adding

FCLIBS=“-L/usr/lib/gcc/x86_64-redhat-linux/4.4.6 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/state/partition1/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/state/partition1/intel/composer_xe_2015.0.090/ipp/../compiler/lib/intel64 -L/state/partition1/intel/composer_xe_2015.0.090/ipp/lib/intel64 -L/state/partition1/intel/composer_xe_2015.0.090/mkl/lib/intel64 -L/state/partition1/intel/composer_xe_2015.0.090/tbb/lib/intel64/gcc4.4 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../.. -lgfortran -lm”

to the “configure” line (based on the autodetected FCLIBS variable in config.log, and removing lgfortranbegin, useful only when linking with Fortran, which is not the case here).

Also, you installation did not detect MPI, so will not run in parallel, which defeats the purpose of running on a cluster.

Did you check the installation documentation pdf ? It shows how to use “CC=mpicc” and such to ensure the MPI configuration is OK.

Regards,

Yvan

Hello,

Thanks a lot.

Regards,
Mohammad