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

You are not logged in.

#1 Re: Salome-Meca installation » Need help with Installing Salome-Meca on Ubuntu 20-04 » 2020-10-13 04:28:17

Hi Mario,

Thank you for your reply. First I would like to apologize if I am asking stupid questions, I am new to the Linux world.

Yes, I am running in a virtual machine. I agree with you that thousand of people download SM files, but Every time I tried to download the SM file, I get a "download failed". I get an error message about 60% through the download. I downloaded the SM file using Windows (I used Chrome) and Linux (I used Firefox). Eventually, I used "wget" to download the SM file.

My Ubuntu installation is okay (at least that's what I think). I am not sure what do you mean by environment variables, would you please be more specific?

In the thread that Sukumar sent me, somebody said that if the md5sum is not exactly as what he post then there is something wrong with the download, please see the attached file.

I followed the procedure that Sukumar suggested. Please bear in mind that I am installing salome_meca-2019.0.3-1-universal on Ubuntu 20.04.1 LTS

How can I fix this?

Thanks,
Ali

#2 Re: Salome-Meca installation » Need help with Installing Salome-Meca on Ubuntu 20-04 » 2020-10-09 23:41:14

Hi Sukumar,

My installation was unsuccessful. I ran "md5sum salome_meca-2019.0.3-1-universal.tgz" and here what I got "edbc8f805ce72203f0ae70b17c7ebb95" which is according to ing.nicola reply to Zohir the download file is no good. I tried a few times but every time I get the message that the download failed. I tried "wget htps://www.code-aster.org/FICHIERS/salome_meca-2019.0.3-1-universal.tgz" and here is what happened:

aliagha@aliagha-VirtualBox:~$ wget htps://www.code-aster.org/FICHIERS/salome_meca-2019.0.3-1-universal.tgz
--2020-10-09 11:52:19--  htps://www.code-aster.org/FICHIERS/salome_meca-2019.0.3-1-universal.tgz
Resolving ww.code-aster.org (ww.code-aster.org)... 213.186.33.69
Connecting to ww.code-aster.org (ww.code-aster.org)|213.186.33.69|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1899078694 (1.8G) [application/x-gzip]
Saving to: ‘salome_meca-2019.0.3-1-universal.tgz’

salome_meca-2019.0.   9%[>                   ] 179.22M   366KB/s    in 10m 25s

2020-10-09 12:02:45 (293 KB/s) - Connection closed at byte 187922867. Retrying.

--2020-10-09 12:02:46--  (try: 2)  htps://www.code-aster.org/FICHIERS/salome_meca-2019.0.3-1-universal.tgz
Connecting to ww.code-aster.org (ww.code-aster.org)|213.186.33.69|:443... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 1899078694 (1.8G), 1711155827 (1.6G) remaining [application/x-gzip]
Saving to: ‘salome_meca-2019.0.3-1-universal.tgz’

salome_meca-2019.0.  56%[+=========>         ]   1.00G  1.43MB/s    in 10m 23s

2020-10-09 12:13:10 (1.36 MB/s) - Connection closed at byte 1074365603. Retrying.

--2020-10-09 12:13:12--  (try: 3)  htps://ww.code-aster.org/FICHIERS/salome_meca-2019.0.3-1-universal.tgz
Connecting to ww.code-aster.org (ww.code-aster.org)|213.186.33.69|:443... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 1899078694 (1.8G), 824713091 (787M) remaining [application/x-gzip]
Saving to: ‘salome_meca-2019.0.3-1-universal.tgz’

salome_meca-2019.0. 100%[+++++++++++========>]   1.77G  1.31MB/s    in 10m 9s 

2020-10-09 12:23:22 (1.29 MB/s) - ‘salome_meca-2019.0.3-1-universal.tgz’ saved [1899078694/1899078694]

Is there any other way that I could get hold of the installation file?

I appreciate your help.

Ali

#3 Salome-Meca installation » Need help with Installing Salome-Meca on Ubuntu 20-04 » 2020-10-03 20:55:56

amvali
Replies: 5

Hi there,

I am new to Linux and I must install Salome-Meca on Ubuntu 20-04. I read the thread about the Salome-Meca installation and followed it step by step, but still, I am having problems with it.

What I did:

The first issue I encounter was to download the software itself. I tried the link on the website, but it doesn't work (give me a message that downloads failed). Somehow I got a copy of the software, installed prerequisites, and then followed the instruction on one of the threads to install Salome-Meca.

Problem:

After the installation was done it gave some errors. Below is the error messages:

amvali@amvali-VirtualBox:~$ ./salome_meca-2019.0.3-1-universal.run
=========================================================
Self Extracting salome_meca V2019.0.3_universal Installer
=========================================================
Enter the salome_meca install directory [default=/home/amvali/salome_meca] : salome_meca is in English, do you want to be in French ? [y/N] : n
Installation of salome_meca V2019.0.3_universal in /home/amvali/salome_meca/V2019.0.3_universal ...
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/amvali/salome_meca/appli_V2019.0.3_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 ...
./create_appli.sh: line 263: python: command not found
./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/amvali/salome_meca/appli_V2019.0.3_universal/salome
Adjusting wishexecutable /home/amvali/salome_meca/V2019.0.3_universal/tools/Code_aster_frontend-20190/etc/codeaster/profile.sh
Initialize terminal and editor for Code_aster
Final configuration

Would you please help me? I am new to Linux and only know a few basic commands.

Thanks,
Ali

#4 Re: Salome-Meca installation » Salome_Meca V2019.0.3_Ubuntu 18.04 Installation Issues » 2020-09-24 18:12:28

Hi there,

I install Salome-Meca, but when I launch it, it gives the following error:

aliagha@aliagha-VirtualBox:~/salome_meca/appli_V2018.0.1_public$ ./salome
runSalome running on aliagha-VirtualBox
Error when trying to access active network connections.
Traceback (most recent call last):
  File "/home/aliagha/salome_meca/appli_V2018.0.1_public/bin/salome/PortManager.py", line 111, in __isNetworkConnectionActiveOnPort
    p = Popen(cmd, stdout=PIPE, stderr=STDOUT)
  File "/home/aliagha/salome_meca/V2018.0.1_public/prerequisites/Python-2710/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/home/aliagha/salome_meca/V2018.0.1_public/prerequisites/Python-2710/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
Searching for a free port for naming service: 2813 - OK
Searching Naming Service + found in 0.1 seconds
Searching /Kernel/Session in Naming Service +++++Gtk-Message: 10:03:11.778: Failed to load module "canberra-gtk-module"
+libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: swrast
Warning: this type (SALOME_MED/MEDCouplingFieldDoubleCorbaInterface,objref) already exists, it will be ignored.
++Traceback (most recent call last):
  File "/home/aliagha/salome_meca/appli_V2018.0.1_public/bin/salome/runSalome.py", line 633, in useSalome
    clt = startSalome(args, modules_list, modules_root_dir)
  File "/home/aliagha/salome_meca/appli_V2018.0.1_public/bin/salome/runSalome.py", line 578, in startSalome
    session=clt.waitNSPID("/Kernel/Session",mySessionServ.PID,SALOME.Session)
  File "/home/aliagha/salome_meca/V2018.0.1_public/modules/KERNEL_V8_5_0/bin/salome/orbmodule.py", line 174, in waitNSPID
    raise RuntimeError, "Process %d for %s not found" % (thePID,theName)
RuntimeError: Process 3593 for /Kernel/Session not found


--- Error during Salome launch ---
aliagha@aliagha-VirtualBox:~/salome_meca/appli_V2018.0.1_public$

Would you please help me?

Thanks,
Ali

#5 Re: Salome-Meca installation » Installation on Ubuntu 20.04 » 2020-09-18 19:03:15

Hi there,

I followed instruction and install Salome-Meca, but still having problem with installation. Here what I got after installation:

amvali@amvali-VirtualBox:~$ ./salome_meca-2019.0.3-1-universal.run

=========================================================
Self Extracting salome_meca V2019.0.3_universal Installer
=========================================================

Enter the salome_meca install directory [default=/home/amvali/salome_meca] : salome_meca is in English, do you want to be in French ? [y/N] : n
Installation of salome_meca V2019.0.3_universal in /home/amvali/salome_meca/V2019.0.3_universal ...
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/amvali/salome_meca/appli_V2019.0.3_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 ...
./create_appli.sh: line 263: python: command not found
./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/amvali/salome_meca/appli_V2019.0.3_universal/salome
Adjusting wishexecutable /home/amvali/salome_meca/V2019.0.3_universal/tools/Code_aster_frontend-20190/etc/codeaster/profile.sh
Initialize terminal and editor for Code_aster
Final configuration

Would you please help me?

Thanks,
Ali

#6 Introduce yourself / Présentez vous » Hello » 2020-09-17 17:22:20

amvali
Replies: 0

This is Ali from Vancouver, Canada.