Problem with installing Code_Saturne on cluster (lgfortranbegin)

All questions about installation
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
Mohammad
Posts: 114
Joined: Thu Oct 25, 2018 12:18 pm

Problem with installing Code_Saturne on cluster (lgfortranbegin)

Post 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 86 times
Where is the problem?
Please note that I don't have permissions to install libraries on the cluster.

Regards,

Mohammad
Yvan Fournier
Posts: 3424
Joined: Mon Feb 20, 2012 3:25 pm

Re: Problem with installing Code_Saturne on cluster (lgfortranbegin)

Post by Yvan Fournier »

Hello,

What is in config.log ?

Regards,

Yvan
Mohammad
Posts: 114
Joined: Thu Oct 25, 2018 12:18 pm

Re: Problem with installing Code_Saturne on cluster (lgfortranbegin)

Post by Mohammad »

Hello and thank you,

I attached the file.

Regards,

Mohammad
Attachments
config.log
(254.2 KiB) Downloaded 84 times
Yvan Fournier
Posts: 3424
Joined: Mon Feb 20, 2012 3:25 pm

Re: Problem with installing Code_Saturne on cluster (lgfortranbegin)

Post 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
Mohammad
Posts: 114
Joined: Thu Oct 25, 2018 12:18 pm

Re: Problem with installing Code_Saturne on cluster (lgfortranbegin)

Post by Mohammad »

Hello,

Thanks a lot.

Regards,
Mohammad
Post Reply