Page 1 of 1

Problem with installing Code_Saturne on cluster (lgfortranbegin)

Posted: Thu Nov 14, 2019 8:58 am
by Mohammad
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.39 KiB) Downloaded 211 times
Where is the problem?
Please note that I don't have permissions to install libraries on the cluster.

Regards,

Mohammad

Re: Problem with installing Code_Saturne on cluster (lgfortranbegin)

Posted: Thu Nov 14, 2019 1:36 pm
by Yvan Fournier
Hello,

What is in config.log ?

Regards,

Yvan

Re: Problem with installing Code_Saturne on cluster (lgfortranbegin)

Posted: Thu Nov 14, 2019 2:24 pm
by Mohammad
Hello and thank you,

I attached the file.

Regards,

Mohammad

Re: Problem with installing Code_Saturne on cluster (lgfortranbegin)

Posted: Thu Nov 14, 2019 2:36 pm
by Yvan Fournier
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

Re: Problem with installing Code_Saturne on cluster (lgfortranbegin)

Posted: Fri Dec 06, 2019 8:09 pm
by Mohammad
Hello,

Thanks a lot.

Regards,
Mohammad