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
Installation with CGNS support on a cluster
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
Installation with CGNS support on a cluster
- Attachments
-
- setup.txt
- (4.08 KiB) Downloaded 430 times
-
- install_saturne.zip
- (68.59 KiB) Downloaded 394 times
-
- Posts: 4206
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Installation with CGNS support on a cluster
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
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
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
OpenMP support: no
I thought v4.0.4 has hybrid parallelism capability. No? Thanks.
- ffan
-
- Posts: 4206
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Installation with CGNS support on a cluster
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
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