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: 382

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: 255

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: 199

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

#4 2020-11-19 09:18:38

Sid Ho
Member
Registered: 2020-11-19
Posts: 4

Re: Procedure to install salome_meca 2019 on Ubuntu 18.04

Q: There're good details on Version 2017.02, but the latest is 2019.0.3, please advise which one to use?

Offline

#5 2020-11-19 09:54:52

sameer21101970
Member
Registered: 2019-09-06
Posts: 345

Re: Procedure to install salome_meca 2019 on Ubuntu 18.04

Look at installation link in first message of this post.

Offline

#6 2020-11-20 04:24:58

Sid Ho
Member
Registered: 2020-11-19
Posts: 4

Re: Procedure to install salome_meca 2019 on Ubuntu 18.04

Thanks!

Offline

#7 2021-02-10 01:34:00

abbas
Member
Registered: 2021-02-10
Posts: 15

Re: Procedure to install salome_meca 2019 on Ubuntu 18.04

jlf wrote:

Hi,

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

Good install

Hi,

I tried the procedure on freshly installed ubuntu 18.04-4 and 18.04-5 several times. However, unfortunately every time I launched the application, choosing "mesh" module resulted in following error:

SIGSEGV 'segmentation violation' detected. Address 8

The only warning I received during installation was:

Warning: the directory /home/username/salome_meca/V2019.0.3_universal/modules/EUROPLEXUS_201901/lib/salome is in a path variable but does not exist

Any help is greatly appreciated

Thanks,
Abbas

Offline

#8 2021-02-10 07:46:24

sameer21101970
Member
Registered: 2019-09-06
Posts: 345

Re: Procedure to install salome_meca 2019 on Ubuntu 18.04

does your system has graphic card.

Offline

#9 2021-02-11 00:49:41

abbas
Member
Registered: 2021-02-10
Posts: 15

Re: Procedure to install salome_meca 2019 on Ubuntu 18.04

sameer21101970 wrote:

does your system has graphic card.

Hi sameer,

thanks for the reply. No, It has integrated graphics. However, following the procedure in link (code-aster.org/forum2/viewtopic.php?id=23568), I installed latest version of salome from "salome-platform.org" and it is working without problem. But when trying to access asterstudy module, I receive another error "failed to activate module asterstudy".

Is there any way to have it running on my system?

Thanks

Offline

#10 2021-02-11 07:49:55

sameer21101970
Member
Registered: 2019-09-06
Posts: 345

Re: Procedure to install salome_meca 2019 on Ubuntu 18.04

you have install salomemeca2020

and facing asterstudy problem

Offline

#11 2021-02-12 01:27:18

abbas
Member
Registered: 2021-02-10
Posts: 15

Re: Procedure to install salome_meca 2019 on Ubuntu 18.04

sameer21101970 wrote:

you have install salomemeca2020

and facing asterstudy problem

No I installed salome_meca 2019 (fully automated installation script) and I received SIGSEGV 'segmentation violation' error (when I activated mesh module).

However, I didn't have any problem about salome and its modules running on my pc (salome 9.6.0).

what is the reason? is there any solution?

Thanks

Offline

#12 2021-02-12 07:16:31

sameer21101970
Member
Registered: 2019-09-06
Posts: 345

Re: Procedure to install salome_meca 2019 on Ubuntu 18.04

you follow procedure to bypass graphic card mention on Page 2 of automated installation script
code-aster.org/spip.php?article1112

Offline