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

You are not logged in.

#1 2020-03-07 10:39:03

AsterO'dactyle
Administrator
Registered: 2007-11-29
Posts: 342

Procedure to install salome_meca 2019 on Ubuntu 18.04

On a virtual or physical install of Ubuntu 18.04

In french:
https://www.code-aster.org/spip.php?article1111

In english
https://www.code-aster.org/spip.php?article1112

Feedback is welcome !


Code_Asterの開発者

Offline

#2 2020-03-14 09:10:18

jlf
Member
Registered: 2007-11-22
Posts: 242

Re: Procedure to install salome_meca 2019 on Ubuntu 18.04

Hi,

Before the installation verify that when you launch "python" in a terminal is PYTHON2

Good install

Offline

#3 2020-04-23 10:22:43

dbpatankar
Member
From: Roorkee, Uttarakhand, India
Registered: 2010-05-22
Posts: 196

Re: Procedure to install salome_meca 2019 on Ubuntu 18.04

After a fresh install of Ubuntu 18.04 LTS, using the script provided, I could successfully install SM2019. However, there was an issue with MFront. MFront wasn't working.

Upon executing mfront in salome shell, I was getting error similar to following :

in file ......../sysconfig.py [line 4xx]
module not found '_sysconfigdata_m_x86_64.....'

Upon looking at the Mfront/bin folder, I realized that the binaries are named with version number as mfront-3.2.1, tfel-x.y.z etc. So I just created symlinks to all those files without version number in the same folder as

ln -s mfront-3.2.1 mfront
ln -s tfel-x.y.z tfel
.....

After this the mfront started working properly without any issue.

I am not sure if everyone is having this issue or its just me. But this apparently solved my problem. I had experienced this issue of mfront on ArchLinux install as well.
Reporting it here just in case someone comes across the same issue.

Offline