Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2019-07-28 19:24:45

manueloliveira
Member
Registered: 2019-07-28
Posts: 3

Problem installing Salome-Meca 2018 in Ubuntu 18.04

Hello to all,

I am a new user of Salome-MECA

I have downloaded the file and extracted it according to what says in the download page.

When I ./salome_meca-2018.0.1-LGPL-1.run the following error message appears.

======================================================
Self Extracting salome_meca V2018.0.1_public Installer
======================================================

Enter the salome_meca install directory [default=/home/pc/salome_meca] :
salome_meca is in English, do you want to be in French ? [y/N] : N
Installation of salome_meca V2018.0.1_public in /home/pc/salome_meca/V2018.0.1_public ...
Verifying archive integrity...
All good.
Done                                                                                               
./create_appli.sh: line 108: /salome_prerequisites.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/pc/salome_meca/appli_V2018.0.1_public ...
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
Warning: the directory /opt/ThirdParty-6/platforms/linux64Gcc/gperftools-svn/lib is in a path variable but does not exist
Warning: the directory /opt/ThirdParty-6/platforms/linux64GccDPInt32/lib/openmpi-system is in a path variable but does not exist
Warning: the directory /home/pc/OpenFOAM/pc-6/platforms/linux64GccDPInt32Opt/lib is in a path variable but does not exist
Warning: the directory /opt/site/6/platforms/linux64GccDPInt32Opt/lib is in a path variable but does not exist
Warning: the directory /opt/ThirdParty-6/platforms/linux64GccDPInt32/lib is in a path variable but does not exist
Warning: the directory /opt/ThirdParty-6/platforms/linux64Gcc/gperftools-svn/bin is in a path variable but does not exist
Warning: the directory /home/pc/OpenFOAM/pc-6/platforms/linux64GccDPInt32Opt/bin is in a path variable but does not exist
Warning: the directory /opt/site/6/platforms/linux64GccDPInt32Opt/bin is in a path variable but does not exist
./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/pc/salome_meca/appli_V2018.0.1_public/salome
Adjusting wishexecutable /home/pc/salome_meca/V2018.0.1_public/tools/Code_aster_frontend-201801/etc/codeaster/profile.sh
Initialize terminal and editor for Code_aster
Final configuration

It says that the application was installed but I have no file called salome in the folder $ /home/pc/salome_meca/appli_V2018.0.1_public.

Can anyone give me a hand with this?

Best Regards!

Offline

#2 2019-08-02 18:59:04

manueloliveira
Member
Registered: 2019-07-28
Posts: 3

Re: Problem installing Salome-Meca 2018 in Ubuntu 18.04

So,

I was using Ubuntu 18.04. I downgraded to 16.04 and it worked correctly.

Offline

#3 2019-08-06 22:56:37

solver
Member
Registered: 2019-08-06
Posts: 4

Re: Problem installing Salome-Meca 2018 in Ubuntu 18.04

Exact same problem using Ubuntu 19.04.

Offline

#4 2019-08-06 23:32:32

solver
Member
Registered: 2019-08-06
Posts: 4

Re: Problem installing Salome-Meca 2018 in Ubuntu 18.04

I have tried Salome-Meca 2017.0.2 on Ubuntu 19.04. Same problem.

Offline

#5 2019-08-07 21:32:06

solver
Member
Registered: 2019-08-06
Posts: 4

Re: Problem installing Salome-Meca 2018 in Ubuntu 18.04

Searching through the forum revealed that this problem has been solved before.

Before running '$ ./salome_meca-2018.0.1-LGPL-1.run' to install Salome_Meca you can do a quick python environment change, running these lines

export PATH=/usr/bin:$PATH
alias python=/usr/bin/python2.7 (or whatever is the name of your Python2 executable)
unset PYTHONPATH
export PYTHONHOME=/usr

The installation script relies on python 2 not 3 which was my case. The install is now without errors, but salome didn't start. Go to install directory "$HOME/salome_meca/V2018/prerequisites/debianForSalome/lib", find 3 files named "libstdc++" and rename them to "_libstdc++".

This procedure worked for me with nvidia graphics on Ubuntu 19.04.

Offline

#6 2019-08-16 14:58:05

kathi
Member
Registered: 2009-09-24
Posts: 176

Re: Problem installing Salome-Meca 2018 in Ubuntu 18.04

hello,

I have exactly the same problem with Ubuntu 18.04 as manueloliveira. I tried the exact commands given by solver, but afterwards there is the same problem with the installation of SalomeMeca

solver, can you help me please? I suppose the commands which you propose will work if slightly adapted to my system, but I don t know how.

alias python=/usr/bin/python2.7
was OK, because this is the right place on my system

thank you, best regards

kathi

Offline