Atom topic feed | site map | contact | login | Protection des données personnelles | Powered by FluxBB | réalisation artaban
You are not logged in.
Hi! When installing the latest version on Salome Meca, I was able to uncompress the .tgz file and install the software in the directory. The shortcut in my desktop was created and I was able to enter inside the directory through the terminal via:
cd $HOME/salome_meca/appli_V2020.0.1_universal_universal
When I try to compute ./salome in order to launch it, seems like doesn't work
Could anyone help me fix that problem? Thank you very much!
PD: I'm just starting to learn Linux functioning
Last edited by Mamili (2021-03-19 12:06:57)
Offline
Hello,
I don't know is this post actual but : do You have file in this folder called "salome_meca_V2020.0.1_universal_universal.desktop" ?
If Yes, go to properties and check on Privileges tick which is something like "allow to run as program", then start this file.
Offline
Hello, I have an issue that looks quite alike. And I am also a beginner in Linux...
As I am a windows user, I began by installing Ubuntu 20.04 on a virtual machine (VM VirtualBox), and installed all the packages mentioned as prerequisites, without a problem.
Then I downloaded salome_meca2019.0.3 (download of 2020 version often failed), extracted the archive and run installation.
Several error messages appeared (I first I did not notice as the end of the install seemed to end properly), but no application were created. After I performed the operation several times,
1. I notice that in the log, the python application was not found. In python support forums, it seemed that it was an issue regarding pointing python instead of python, which should be solved by the command sudo apt-get install python-is-python3. After a reinstall, there was still an issue, but the message has changed
2. in the log, the message was "python: can't open file '/bin/salome/appli_gen.py': [Errno 2] No such file or directory"
So there are still files that have not been created.
When running the installation, the terminal printed:
Verifying archive integrity...
All good.
Done
./create_appli.sh: line 108: /salome_prerequisites_root.sh: No such file or directory
./create_appli.sh: line 109: /salome_modules.sh: No such file or directory
Creating salome_meca application in /home/yoram/salome_meca/appli_V2019.0.3_universal ...
sed: can't read /.config_appli_template.xml: No such file or directory
Setting for help already set
grep: salome_context.cfg: No such file or directory
salome_meca post-installation ...
python: can't open file '/salomemeca_custom_appli.py': [Errno 2] No such file or directory
./create_appli.sh: line 287: ./salome_post_install.py: No such file or directory
The salome_meca application was successfully created.
To run the application:
$ /home/yoram/salome_meca/appli_V2019.0.3_universal/salome
Adjusting wishexecutable /home/yoram/salome_meca/V2019.0.3_universal/tools/Code_aster_frontend-20190/etc/codeaster/profile.sh
Initialize terminal and editor for Code_aster
Final configuration
I will appreciate help if someone found a solution to the problem.
Thanks by advance
Offline
Hello,
In my opinion There is a problem with Salome 2019 on UBuntu.
Try Salome 2020
Offline
Hey Infocheck, thanks for the reply.
So I tried it, I re-started each time the download failed and... well the problem is still there.
But the message in the log changed, it is now ./create_appli.sh: line 136: python2: command not found
Which is strange, is not this version supposed to work with python 3 only ?
The message in the terminal is now
Verifying archive integrity...
All good.
Done
./create_appli.sh: line 113: /salome_prerequisites_root.sh: No such file or directory
./create_appli.sh: line 114: /salome_modules.sh: No such file or directory
Creating salome_meca application in /home/yoram/salome_meca/appli_V2020.0.1_universal_universal ...
sed: can't read /.config_appli_template.xml: No such file or directory
grep: salome_context.cfg: No such file or directory
salome_meca post-installation ...
python: can't open file '/salomemeca_custom_appli.py': [Errno 2] No such file or directory
./create_appli.sh: line 296: ./salome_post_install.py: No such file or directory
./create_appli.sh: line 301: syntax error near unexpected token `fi'
./create_appli.sh: line 301: `fi'
Adjusting wishexecutable /home/yoram/salome_meca/V2020.0.1_universal_universal/tools/Code_aster_frontend-202001/etc/codeaster/profile.sh
Initialize terminal and editor for Code_aster
Final configuration
I honestly do not know where to begin with to solve the problem
Offline
Hello,
You are writing about SM2019 but on message list I see V2020.
First check Your /home folder : What folders called Salome... You have.
Then check Python version:
On terminal type: python --version
Offline
Hello,
Python version is 3.8.5.
As for the version of Salome Meca, my first post was about 2019 because 2020 download always failed, then after you suggested that 2019 may have issues with ubuntu, I reran several times the download until it completed, so my second post was about v2020. But the issue, or at least its effect, is the same.
In the /home folder, I have a folder salome_meca, om which I have 2 folders for each version (2 for 2019, 2 for 2020):
appli_V2020.0.1_universal_universal which contains
appli_V2020.0.1_universal_universal.log
config_appli.xml
V2020.0.1_universal_universal which contains
create_appli.sh
README
salome_prerequisites_root.sh
icon.png
salome_context.cfg
salome_prerequisites.sh
modules
salomemeca_custom_appli.py
sha1_collections.txt
plugins
salome_modules.sh
tools
prerequisites
salome_post_install.py
Offline
It's look's like Python problem.
My suggestion is:
Install python 2 or edit file "create_appli.sh" and try to change python2 to python3
Then try to recreate SalomeMeca 2020
Offline
I have found my notice for installation and problems with SM 2020 , Ubuntu, VirtualBox:
1. Virtualbox addons ( for exchange files)
$ sudo add-apt-repository multiverse
$ sudo apt install virtualbox-guest-dkms virtualbox-guest-x11
2. Installation V2020 Ubuntu
sudo apt install python
download and install libffi6_3.2.1-9_amd64.deb
./create_appli.sh
-ln -s /usr/lib/x86_64-linux-gnu/libffi.so.6 libffi.so.6
-mv libstdc++.so _libstdc++.so
-mv libstdc++.so.6 _libstdc++.so.6
-mv libstdc++.so.6.0 _libstdc++.so.6.0
-mv libstdc++.so.6.0.22 _libstdc++.so.6.0.22
Install the requisite qt5 pacakges and net-tools
sudo apt-get install libqt5pengl5
sudo apt-get install libqt5concurrent5
sudo apt-get install libqt5opengl5
sudo apt-get install libqt5multimediawidgets5
sudo apt-get install net-tools
sudo apt-get install libnlopt0
./create_appli.sh
Offline