Page 1 of 1

Installation with CGNS support on a cluster

Posted: Mon Feb 01, 2016 1:31 am
by ffan
Hi Code_Saturne developers and users,

I wanted to install Code_Saturne 4.0.4 on a cluster machine. Without CGNS support, it compiled successfully. However, with CGNS support tuned on, it generated an error.
Looks like the problem happened at libsaturne.so: undefined reference to `cg_elements_partial_write'
collect2: ld returned 1 exit status

Also, the installation log says No MED Support even through I had turned on MED in the setup file.
configure: WARNING: no MED file support with C only link

The installation log and my setup file are attached here. Thanks for your helps.

- ffan

Re: Installation with CGNS support on a cluster

Posted: Mon Feb 01, 2016 9:46 am
by Yvan Fournier
Hello,

Which version of CGNS is installed on the cluster ? Could you also post the config.status and config.log files from the build ?

Regards,

Yvan

Re: Installation with CGNS support on a cluster

Posted: Mon Feb 01, 2016 7:16 pm
by ffan
Thank you Yvan. Yes, the CGNS on the cluster is too old (cgnslib-2.5.5). I now use cgnslib-3.2.1, hdf5-1.8.14, and med-3.0.8. It builds without a problem, and MED is supported. The only thing is the installation log says:
OpenMP support: no

I thought v4.0.4 has hybrid parallelism capability. No? Thanks.

- ffan

Re: Installation with CGNS support on a cluster

Posted: Mon Feb 01, 2016 10:47 pm
by Yvan Fournier
Hello,

V4.0 has hybrid support, but it is not activated by default To activate it, add "--enable-openmp" to the configure command.

Starting from version 4.1, OpenMp is enabled by default (to disable it, add "--disable-openmp" to the configure command).

Regards,

Yvan