Page 1 of 1
Crash of salome_cfd when I edit variables
Posted: Thu Jul 13, 2023 4:20 pm
by Mathurin_bld
Hello,
When I edit variables mathematical expression editor in CFDSTUDY module salome crash when i clic on ok.
I've attach the error message, I've tried to resolved this problem by myself but I can't find a solution.
Thank for your help
Best regards
Mathurin
Salome 9.10.0
Code_saturne V8.0
Salome_cfd_extension clone from the master at github
Re: Crash of salome_cfd when I edit variables
Posted: Fri Jul 14, 2023 2:45 pm
by Yvan Fournier
Hello,
Do you have the crash only under CFDSTUDY or also in standalone mode ?
Best regards,
Yvan
Re: Crash of salome_cfd when I edit variables
Posted: Mon Jul 17, 2023 8:36 am
by Mathurin_bld
Hello,
it's only under the CFDSTUDY module, it work perfectly in standalone mode
Best regards
Mathurin
Re: Crash of salome_cfd when I edit variables
Posted: Mon Jul 17, 2023 6:28 pm
by Yvan Fournier
Hello,
I can't reproduce the issue on a Debian 11-based system, using code_saturne 8.0 or development branches, and Salome 9.11 (which should behave the same as 9.10 or 9.9 here)...
In my case, I define CS_ROOT_DIR when configuring the salome_cfd_extensions. Do you define it at that time also, or only when trying to execute the code ?
Best regards,
Yvan
Re: Crash of salome_cfd when I edit variables
Posted: Tue Jul 18, 2023 8:56 am
by Mathurin_bld
Hello,
I define the CS_ROOT_DIR when configuring the salome_cfd_extensions.
I've attached the config.log if it can help you, my the CS_ROOT_DIR path seems to be the right one
Best regards
Mathurin
Re: Crash of salome_cfd when I edit variables
Posted: Tue Jul 18, 2023 4:40 pm
by Yvan Fournier
Hello,
The CS_ROOT_DIR variable should only contain the root directory, not the "/bin" subdirectory.
Can you try removing the trailing "/bin" from that environament variable ? In theory, you do not even need to reinstall anything if you export that variable before launching salome_cfd.
Best regards,
Yvan
Re: Crash of salome_cfd when I edit variables
Posted: Tue Jul 18, 2023 5:25 pm
by Mathurin_bld
Hello,
I've launch a salome shell like for the installation, I've change the CS_ROOT_DIR path and run salome_cfd but it crash the same way as previously I've the same error message.
Is this the right way to change the path ?
Best regards
Mathurin
Re: Crash of salome_cfd when I edit variables
Posted: Mon Aug 07, 2023 10:59 am
by Yvan Fournier
Hello,
And sorry for the late reply.
This is not the way I use most frequently, but it should still work. I usually do the install outside a Salome shell, as the launcher should already source the necessary files.
So you might want to try this, but I suspect the problem is rather due to a subtle incompatibility between the Salome version used and the OS version, or some subtle bug in the distribution's Qt install...
From the color of your screenshot, I assume you are using Ubuntu ? Which version ?
Best regards,
Yvan
Re: Crash of salome_cfd when I edit variables
Posted: Wed Aug 09, 2023 2:47 pm
by Mathurin_bld
Hello,
Don't worry, you are right I'm using Ubuntu version 22.04
For the moment, I didn't try anything else since the last post.
Best regards
Mathurin