Search found 18 matches

by niuniuaba
Tue Nov 08, 2022 4:53 am
Forum: code_saturne usage
Topic: forbidden memory area access (libCoolProp.so.6)
Replies: 6
Views: 4440

Re: forbidden memory area access (libCoolProp.so.6)

Hello, I confirmed that regression to code from 7.0 resolves the issue. More specifically, I replaced cs_coolprop.hxx, cs_coolprop.cxx, cs_physical_properties.h and cs_physical_properties.c from 7.0 then 7.2 compiled successfully and the calculation executed as expected (both from command line and g...
by niuniuaba
Tue Nov 08, 2022 4:47 am
Forum: Installation issues
Topic: Convergence tool
Replies: 15
Views: 49664

Re: Convergence tool

Hello,

The commit works for 7.2 in Ubuntu 22.04. By the way, 7.0 also has the same problem and modifying the python script manually solves the problem.

Best regards
by niuniuaba
Tue Nov 08, 2022 3:00 am
Forum: Installation issues
Topic: Problem with libple.so.2
Replies: 22
Views: 73182

Re: Problem with libple.so.2

Hello, Did you try Step1~Step3 in my previous post? It should work for Ubuntu 22.04. But from your latest config.log it seems you didn't. Without Step1, you won't have compiler wrappers (/usr/bin/mpicc and /usr/bin/mpicxx) and mpi header files; withou setting '--with-mpi=/usr/lib/x86_64-linux-gnu/op...
by niuniuaba
Sun Nov 06, 2022 12:37 pm
Forum: Installation issues
Topic: Problem with libple.so.2
Replies: 22
Views: 73182

Re: Problem with libple.so.2

I have done ./configure CXX=mpicxx \ CC=mpicc \ --with-mpi=/usr/lib/x86_64-linux-gnu/openmpi No, you didn't. Otherwise you have uploaded a wrong config.log. make make install (in admin mode) Don't install as root. Not necessary because you install to your own home directory (-- refix=/home/julien/c...
by niuniuaba
Sun Nov 06, 2022 4:56 am
Forum: Installation issues
Topic: Convergence tool
Replies: 15
Views: 49664

Re: Convergence tool

Hello, You are not alone. I have the same problem. Traceback (most recent call last): File "/home/wing/Apps/saturne-7.2.dbg/bin/code_saturne", line 94, in <module> retcode = cs.execute() File "/home/wing/Apps/saturne-7.2.dbg/local/lib/python3.10/dist-packages/code_saturne/base/cs_scri...
by niuniuaba
Sat Nov 05, 2022 11:07 am
Forum: Installation issues
Topic: Problem with libple.so.2
Replies: 22
Views: 73182

Re: Problem with libple.so.2

Hello, I try the command line: Code_Saturne configure --with-mpi=/usr/lib/x86_64-linux-gnu/openmpi It sounds like you didn't do it the right way. You have to rebuild code_saturne with mpi support before you can use it. Step1: be sure you have necessary development packages installed: sudo apt instal...
by niuniuaba
Wed Nov 02, 2022 6:09 am
Forum: Installation issues
Topic: Problem with libple.so.2
Replies: 22
Views: 73182

Re: Problem with libple.so.2

Hello, In your $HOME directory (/home/julien) there is a shell script named '.bashrc'. Add a line alias code_saturne='LD_LIBRARY_PATH=/home/julien/code_saturne/7.2.0/code_saturne-7.2.0/arch/Linux_x86_64/lib:$LD_LIBRARY_PATH /home/julien/code_saturne/7.2.0/code_saturne-7.2.0/arch/Linux_x86_64/bin/cod...
by niuniuaba
Tue Nov 01, 2022 10:24 am
Forum: Installation issues
Topic: Problem with libple.so.2
Replies: 22
Views: 73182

Re: Problem with libple.so.2

Hi there,

I have the same problem. CS-7.2.0 in Ubuntu 22.04 native, hdf5/med/medcoupling from SALOME installation.
Besides libple, CS claims medcoupling library not found either. Now I am using it by

Code: Select all

LD_LIBRARY_PATH=..... code_saturne ...
Best regards,
niuniuaba
by niuniuaba
Fri Oct 21, 2022 11:35 am
Forum: code_saturne usage
Topic: forbidden memory area access (libCoolProp.so.6)
Replies: 6
Views: 4440

Re: forbidden memory area access (libCoolProp.so.6)

Hello, I confirmed that the same build of CoolProp works properly in CS-7.0.0. I prepared debug versions of CS and CoolProp and now get some more information: SIGSEGV signal (forbidden memory area access) intercepted! Call stack: 1: 0x7fd701a49520 <+0x42520> (libc.so.6) 2: 0x7fd7004b561d <_ZN8CoolPr...
by niuniuaba
Wed Oct 19, 2022 1:57 pm
Forum: code_saturne usage
Topic: forbidden memory area access (libCoolProp.so.6)
Replies: 6
Views: 4440

Re: forbidden memory area access (libCoolProp.so.6)

Hello Yvan, Thank you for your quick response. Here is some information for reference: Ubuntu 22.04, gcc 11.2.0, OpenMPI 4.1.2, CoolProp 6.4.1 downloaded from sourceforge.net and built by cmake -DCOOLPROP_INSTALL_PREFIX=/home/wing/Apps/CoolProp -DCOOLPROP_SHARED_LIBRARY=ON Best regards, niuniuaba