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

You are not logged in.

#1 2022-01-05 01:25:37

Humberto
Member
From: Ensenada, Mexico
Registered: 2012-10-15
Posts: 104
Website

[Solved] Installation on Debian Bullseye Fails

Hello Trying to install on Debian Bullseye and I get this error:

===================================================================
Self Extracting salome_meca V2020.0.1_universal_universal Installer
===================================================================

Enter the salome_meca install directory [default=/root/salome_meca] : /opt/salome_meca/
The directory /opt/salome_meca//V2020.0.1_universal_universal 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 V2020.0.1_universal_universal in /opt/salome_meca//V2020.0.1_universal_universal ...
Verifying archive integrity...
All good.
Done                                                                                                                                                                                                              
./create_appli.sh: line 113: /salome_prerequisites_root.sh: No such file or directory
./create_appli.sh: line 114: /salome_modules.sh: No such file or directory
Creating salome_meca application in /opt/salome_meca//appli_V2020.0.1_universal_universal ...
sed: can't read /.config_appli_template.xml: No such file or directory
Setting for help already set
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
./create_appli.sh: line 296: ./salome_post_install.py: No such file or directory
./create_appli.sh: line 301: syntax error near unexpected token `fi'
./create_appli.sh: line 301: `fi'
Adjusting wishexecutable /opt/salome_meca//V2020.0.1_universal_universal/tools/Code_aster_frontend-202001/etc/codeaster/profile.sh
Initialize terminal and editor for Code_aster
Final configuration
============================================================================================================

The script appli.sh uses python2 in some commands line 113 and 114. Debian does not have python2 anymore and thus I made an alias in my syestm for python2=python3 Still no luck. please help.

Last edited by Humberto (2022-01-16 22:21:30)

Offline

#2 2022-01-08 12:47:38

hberro
Member
From: Palaiseau, France
Registered: 2011-07-05
Posts: 148

Re: [Solved] Installation on Debian Bullseye Fails

Hello, I suggest that you try the 2021 version which is containerized and thus will avoid you having to deal with the OS prerequisites.

Offline

#3 2022-01-12 17:56:26

Humberto
Member
From: Ensenada, Mexico
Registered: 2012-10-15
Posts: 104
Website

Re: [Solved] Installation on Debian Bullseye Fails

Ok, I followed Hberro advice, and after installing the singularity-container package this are the problems I am having:

1.- The Md5Sum of the "salome_meca-lgpl-2021.0.0-0-20210601-scibian-9.sif" package is c34331b7c3161021cb20731cd9a16b16  and not the one published on the downloads page (65e153eaf43edcd3b671d41194936f53)
I downloaded the package twice with identical md5sums so no errors in download.

2.- Assuming they updated the package and forgot to update the web page md5sum, I tried to install with the following command:

               singularity run --app install salome_meca-lgpl-2021.0.0-0-20210601-scibian-9.sif

To which I got the error:

ERROR  : Unknown image format/type: salome_meca-lgpl-2021.0.0-0-20210601-scibian-9.sif
ABORT  : Retval = 255

Please help

P.D. I just realized that My singularity-container is version 2.6.1- dist from NeuroDebian and that the installation instructions require 3.0.

This whole thing seems way more complicated than it used to be.  plus a 5G vs 2G download...  Too bad there is no other way around.

Last edited by Humberto (2022-01-13 23:26:09)

Offline

#4 2022-01-13 23:08:11

Humberto
Member
From: Ensenada, Mexico
Registered: 2012-10-15
Posts: 104
Website

Re: [Solved] Installation on Debian Bullseye Fails

After now deleting the neurodebian singularity, Donwloading compiling and installing the Git version 3.9.3 and then following the installation procedure for salome meca outlined in the Download's documentation:

singularity run --app install salome_meca-lgpl-2021.0.0-0-20210601-scibian-9.sif

Installation successfully completed.
To start salome_meca, just use:
  /opt/salome_meca/salome_meca-lgpl-2021.0.0-0-20210601-scibian-9
or (in the installation directory):
  ./salome_meca-lgpl-2021.0.0-0-20210601-scibian-9

Ok and after trying to run as stated above I get:

not exist: /etc/krb5.conf
FATAL:   stat /opt/salome_meca/salome_meca: no such file or directory
singularity exit code: 255

What is wrong now???

I feel so frustrated and seems like putting SalomeMeca in a container makes it 10 harder to install than it used to be. please help.

Last edited by Humberto (2022-01-13 23:23:25)

Offline

#5 2022-01-14 21:40:36

hberro
Member
From: Palaiseau, France
Registered: 2011-07-05
Posts: 148

Re: [Solved] Installation on Debian Bullseye Fails

Hi humberto

Try moving the sif file from /opt/salome_meca to somewhere on your home folder for example.

Let me know if that helps

Offline

#6 2022-01-16 22:20:39

Humberto
Member
From: Ensenada, Mexico
Registered: 2012-10-15
Posts: 104
Website

Re: [Solved] Installation on Debian Bullseye Fails

Thanks @hberro yes it works if I move it to my home folder. I don't understand why, as I tried in /opt giving it 777 permissions.

Offline

#7 2022-01-18 07:35:04

hberro
Member
From: Palaiseau, France
Registered: 2011-07-05
Posts: 148

Re: [Solved] Installation on Debian Bullseye Fails

The thing is that salome_meca within the container is, itself, installed in /opt/salome_meca. So there might be conflict happening there!

Offline

#8 2022-01-18 15:23:40

sb1966
Member
From: INDIA
Registered: 2015-03-16
Posts: 260

Re: [Solved] Installation on Debian Bullseye Fails

hberro wrote:

The thing is that salome_meca within the container is, itself, installed in /opt/salome_meca. So there might be conflict happening there!

Hi,
For a multi user environment (Desktop linux with more than one user) is it OK to place the container in /usr/local?

I need to let my students use my system. Right now, I have installed the container also in the /home/students/, but this unnecessarily consume hard drive space.

Best regards.

Sukumar

Offline

#9 2022-01-18 21:24:52

hberro
Member
From: Palaiseau, France
Registered: 2011-07-05
Posts: 148

Re: [Solved] Installation on Debian Bullseye Fails

I would try to put it in a subfolder such as /usr/local/containers

It is still unclear for me how and why singularity mounts the folder containing the sif file but avoid putting it in the root of system paths . A subfolder like containers should suffice to avoid any conflict.

Offline