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

You are not logged in.

#1 2020-06-05 03:54:14

KevinTse
Member
From: Winnipeg, MB, Canada
Registered: 2020-05-13
Posts: 11

salome_prerequisites.sh: No such file or directory

Hi everyone,
I have installed pre-prerequisites files of slaome-meca (Python3, Numpy, blas/lapack, Tcl/Tk,
zlib and bison/flex) following the guide from Prerequisites page. However, when I install salome-meca V2017.0.2, I faced the same problem which is shown in Index» Salome-Meca installation» salome_prerequisites.sh not found, which is " ./create_appli.sh: line 108: /salome_prerequisites.sh: No such file or directory"  and I followed the answer and install python2.7 but the error still the same, I don't know why and how can I solve this.

System: Ubuntu 20.04
Salome-meca: 2017.0.2





kevin@kevin-virtual-machine:~/Downloads$ sudo apt install python2

kevin@kevin-virtual-machine:~/Downloads$ export PATH=/usr/bin:$PATH
kevin@kevin-virtual-machine:~/Downloads$ alias python=/usr/bin/python2.7
kevin@kevin-virtual-machine:~/Downloads$ unset PYTHONPATH
kevin@kevin-virtual-machine:~/Downloads$ export PYTHONHOME=/usr
kevin@kevin-virtual-machine:~/Downloads$ sudo ./Salome-Meca-2017.0.2-LGPL-2.run

===============================================
Self Extracting salome_meca V2017.0.2 Installer
===============================================

Enter the salome_meca install directory [default=/root/salome_meca] : The directory /root/salome_meca/V2017.0.2 already exists, install anyway ? [y/N] y
salome_meca is in English, do you want to be in French ? [y/N] : n
Installation of salome_meca V2017.0.2 in /root/salome_meca/V2017.0.2 ...
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 /root/salome_meca/appli_V2017.0.2 ...
sed: can't read /.config_appli_template.xml: No such file or directory
Desktop directory not found.
grep: salome_context.cfg: No such file or directory
salome_meca post-installation ...
./create_appli.sh: line 240: python: command not found
./create_appli.sh: line 263: ./salome_post_install.py: No such file or directory
The salome_meca application was successfully created.
To run the application:
$ /root/salome_meca/appli_V2017.0.2/salome
Adjusting wishexecutable /root/salome_meca/V2017.0.2/tools/Code_aster_frontend-20170/etc/codeaster/profile.sh
Initialize terminal and editor for Code_aster

Offline

#2 2020-06-05 06:32:02

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

Re: salome_prerequisites.sh: No such file or directory

sm2017 require python 2.7 , not python3

install sm2019, first install python 3.7 then below link
code-aster.org/spip.php?article1112

refer below for ubuntu 20.04
hitoricae.com/2019/11/10/code_aster-14-4-with-petsc/

Last edited by sameer21101970 (2020-06-05 06:33:47)

Offline

#3 2020-06-06 05:29:19

KevinTse
Member
From: Winnipeg, MB, Canada
Registered: 2020-05-13
Posts: 11

Re: salome_prerequisites.sh: No such file or directory

Thanks, the Salome is installed successfully. However when I run the software, it shows that "Process 8445 for/Kernel /Session not found" . I don't know what wrong it is and how to deal with it.


Attachments:
无标题.png, Size: 301.22 KiB, Downloads: 18

Offline