Hi,
I am a new user of Code_Saturne and Salome Meca.
I have started to use this for my phd studies, since it is a great tool and it is free. (Thank you EDF! )
I have followed several topics on this forum for the instaltion of code_saturne with Salome and now I’m doing the toturial( https://www.code-saturne.org/cms/sites/ ... _Study.pdf) of a pipe.
I’m now facing a problem with the CFDSTUDY activation. It is shows an error message like this:
“Failed to activate module CFDSTUDY”
See attached figure.
Can anyone help me on this?
PS: I'm not a Linux expert.
Thanks in advance!
João Castanheira
Error - Failed to activate module CFDSTUDY
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
-
- Posts: 4089
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Error - Failed to activate module CFDSTUDY
Hello,
How was Code_Saturne installed ? Was the "--with-salome=..." option used during the configure stage -this is explained in the installation manual).
Did you use the standard Salome launch command or "code_saturne salome" ?
Best regards,
Yvan Fournier
How was Code_Saturne installed ? Was the "--with-salome=..." option used during the configure stage -this is explained in the installation manual).
Did you use the standard Salome launch command or "code_saturne salome" ?
Best regards,
Yvan Fournier
Re: Error - Failed to activate module CFDSTUDY
Hello Yvan,
Thank you for the reply.
Yes, i have installed the Code Saturne with Salome ( i think so...). I have two file attached, the installation log and setup file.
I have have initiated the salome with "code_saturne salome" on terminal. (I have added a PATH environment to the "code_saturne salome" file. So i can used anywhere on terminal.)
Terminal:
sudo -H gedit /etc/environment
-------------------
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/joao/Code_Saturne/5.0.6/code_saturne-5.0.6/arch/Linux_x86_64/bin"
-------------------
save file
Any idea of what could be the problem?
Thanks!
João
Thank you for the reply.
Yes, i have installed the Code Saturne with Salome ( i think so...). I have two file attached, the installation log and setup file.
I have have initiated the salome with "code_saturne salome" on terminal. (I have added a PATH environment to the "code_saturne salome" file. So i can used anywhere on terminal.)
Terminal:
sudo -H gedit /etc/environment
-------------------
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/joao/Code_Saturne/5.0.6/code_saturne-5.0.6/arch/Linux_x86_64/bin"
-------------------
save file
Any idea of what could be the problem?
Thanks!
João
- Attachments
-
- install_saturne.log
- (2.02 MiB) Downloaded 393 times
-
- install_saturne.log
- (2.02 MiB) Downloaded 410 times
-
- Posts: 4089
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Error - Failed to activate module CFDSTUDY
Hello,
This is strange, as your configuration command seems fine (otherwise CFSTUDY would not even appear in the menus).
Do you have any logging/text messages in the terminal from which you ran "code_saturne salome" ?
Regards,
Yvan
This is strange, as your configuration command seems fine (otherwise CFSTUDY would not even appear in the menus).
Do you have any logging/text messages in the terminal from which you ran "code_saturne salome" ?
Regards,
Yvan
Re: Error - Failed to activate module CFDSTUDY
Good morning Yvan,
when i push the CFDSTUDY i have some error messages on terminal window.
I have added some files as attachments.
thanks!
João
when i push the CFDSTUDY i have some error messages on terminal window.
I have added some files as attachments.
thanks!
João
- Attachments
-
- log_terminal.txt
- terminal log information
- (3.63 KiB) Downloaded 355 times
-
- Posts: 4089
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Error - Failed to activate module CFDSTUDY
Hello,
You might have an issue due to Salome_Meca using Qt5, and Code_Saturne using Qt4.
When both PyQt4 and PyQt5 are available on a machine, Code_Saturne 5.0 defaults to using PyQt4, while Code_Saturne 5.1 defaults to PyQt5.
To force selection of PyQt5, you can add QT_SELECT=5 to the "configure" line. Otherwise make sure PyQt5 is available, and if you do not need it for othet purposes, uninstalling PyQt4 can help.
Not 100% sure this is the cause of the issue, but the error message seems to indicate of problem of this type, or PYTHONPATH issues.
Best regards,
Yvan
You might have an issue due to Salome_Meca using Qt5, and Code_Saturne using Qt4.
When both PyQt4 and PyQt5 are available on a machine, Code_Saturne 5.0 defaults to using PyQt4, while Code_Saturne 5.1 defaults to PyQt5.
To force selection of PyQt5, you can add QT_SELECT=5 to the "configure" line. Otherwise make sure PyQt5 is available, and if you do not need it for othet purposes, uninstalling PyQt4 can help.
Not 100% sure this is the cause of the issue, but the error message seems to indicate of problem of this type, or PYTHONPATH issues.
Best regards,
Yvan
Re: Error - Failed to activate module CFDSTUDY
Hi,
what do you mean by "QT_SELECT=5 to the "configure" line"? Could you explain me?
You think instaling all this Salome Meca and Code saturne 5 on a Ubuntu 16 is better?
thanks!
what do you mean by "QT_SELECT=5 to the "configure" line"? Could you explain me?
You think instaling all this Salome Meca and Code saturne 5 on a Ubuntu 16 is better?
thanks!
-
- Posts: 4089
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Error - Failed to activate module CFDSTUDY
Hello,
Did you use the general installer or "cd <build_dir> && <src_dir>/configure [options] && make && make install" approach ?
In the build directory, check the top of the "config.log" file for the "configure" command. Replay that adding QT_SELECT=5 (also explained in the installation manual). Then make && make install.
Regards,
Yvan
Did you use the general installer or "cd <build_dir> && <src_dir>/configure [options] && make && make install" approach ?
In the build directory, check the top of the "config.log" file for the "configure" command. Replay that adding QT_SELECT=5 (also explained in the installation manual). Then make && make install.
Regards,
Yvan
Re: Error - Failed to activate module CFDSTUDY
Ok thanks, i will try.
I have been using the python installation method.
thanks,
João
I have been using the python installation method.
thanks,
João
Re: Error - Failed to activate module CFDSTUDY
Hi all,
I still have this issue with the CFDSTUDY module. I've added the QT_SELECT=5 option to configure, removed PyQt4 from my system and also tried it in combination with salome_meca and salome 8. Still no success. It seems like the configure script doesn't process the QT_SELECT option.
Besides trying to manually replace the pyqt4 references, it there any other way to fix this?
I still have this issue with the CFDSTUDY module. I've added the QT_SELECT=5 option to configure, removed PyQt4 from my system and also tried it in combination with salome_meca and salome 8. Still no success. It seems like the configure script doesn't process the QT_SELECT option.
Besides trying to manually replace the pyqt4 references, it there any other way to fix this?