Installation with CGNS support on a cluster

All questions about installation
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
ffan
Posts: 66
Joined: Thu Jul 24, 2014 3:23 pm

Installation with CGNS support on a cluster

Post 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
Attachments
setup.txt
(4.08 KiB) Downloaded 314 times
install_saturne.zip
(68.59 KiB) Downloaded 302 times
Yvan Fournier
Posts: 4075
Joined: Mon Feb 20, 2012 3:25 pm

Re: Installation with CGNS support on a cluster

Post 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
ffan
Posts: 66
Joined: Thu Jul 24, 2014 3:23 pm

Re: Installation with CGNS support on a cluster

Post 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
Yvan Fournier
Posts: 4075
Joined: Mon Feb 20, 2012 3:25 pm

Re: Installation with CGNS support on a cluster

Post 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
Post Reply