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

You are not logged in.

#1 2022-02-01 17:25:22

eduserenza
Member
Registered: 2022-01-21
Posts: 8

Installation Salome-Meca 2021 in Ubuntu 20.04 (using singularity)

Hi Guys,

I am tryng install Salome-Meca 2021 using Singularity container. But
I follow al steps by singularity’s website...

"Installation
Install singularity v3. For more information regarding this process, have a look at singularity’s website :
Dowload the salome_meca 2021 container (use the right click and "save as" ) :
Use this command in a terminal in order to prepare the container’s environment and generate the launcher
singularity run --app install salome_meca-lgpl-2021.0.0-1-20210811-scibian-9.sif"

When I go to run the setup file (singularity run --app install salome_meca-lgpl-2021.0.0-0-20210601-scibian-9.sif), Happen a fatal error, because Ubuntu Cannot found the directory...
I follow exactly install procedure by Cyprien...
I do not using an Ubuntu Virtual machine...

Does anyone in the community know how to resolve this?

Offline

#2 2022-02-01 18:33:53

giobara
Member
Registered: 2022-01-31
Posts: 4

Re: Installation Salome-Meca 2021 in Ubuntu 20.04 (using singularity)

Hi

I had a simila issue

In my case the problem was the name of the .sif file and the name of the file in the command line, thay should match.

Offline

#3 2022-02-02 01:02:33

eduserenza
Member
Registered: 2022-01-21
Posts: 8

Re: Installation Salome-Meca 2021 in Ubuntu 20.04 (using singularity)

Hi Giobara!

The error is:

eduardo@ESerenza:~$ singularity run --app install salome_meca-lgpl-2021.0.0-0-20210601-scibian-9
FATAL:   could not open image /home/eduardo/salome_meca-lgpl-2021.0.0-0-20210601-scibian-9: failed to retrieve path for /home/eduardo/salome_meca-
lgpl-2021.0.0-0-20210601-scibian-9: lstat /home/eduardo/salome_meca-lgpl-2021.0.0-0-20210601-scibian-9: no such file or directory

Last edited by eduserenza (2022-02-02 01:02:57)

Offline

#4 2022-02-03 02:33:41

sb1966
Member
Registered: 2015-03-16
Posts: 230

Re: Installation Salome-Meca 2021 in Ubuntu 20.04 (using singularity)

Dear eduserenza,

eduserenza wrote:

Hi Giobara!

The error is:

eduardo@ESerenza:~$ singularity run --app install salome_meca-lgpl-2021.0.0-0-20210601-scibian-9
FATAL:   could not open image /home/eduardo/salome_meca-lgpl-2021.0.0-0-20210601-scibian-9: failed to retrieve path for /home/eduardo/salome_meca-
lgpl-2021.0.0-0-20210601-scibian-9: lstat /home/eduardo/salome_meca-lgpl-2021.0.0-0-20210601-scibian-9: no such file or directory

Please note that the extension ".sif" is important here.  So try

 singularity run --app install your_file_name.sif 

where your_file_name is the exact name of the singularity image file (.sif) you downloaded.

I am assuming that you are new to Linux. So let me also tell you that you must run the above command in the directory where you had downloaded the your_file_name.sif file e.g. /home/eduardo/Download etc.

Hope this helps.

Good luck

Sukumar

Offline

#5 2022-02-10 03:54:40

eduserenza
Member
Registered: 2022-01-21
Posts: 8

Re: Installation Salome-Meca 2021 in Ubuntu 20.04 (using singularity)

Hi Sukumar,

Yeah sure, I am new Ubuntu user...
I did that...

eduardo@serenza:~$ singularity run --app install salome_meca-lgpl-2021.0.0-0-20210601-scibian-9.sif
FATAL:   while initializing starter command: /usr/local/libexec/singularity/bin/starter-suid not found, please check your installation

Sincerely, I do not know how to solve that.

Thanks a Million!

Eduardo

Offline

#6 2022-02-10 03:59:21

eduserenza
Member
Registered: 2022-01-21
Posts: 8

Re: Installation Salome-Meca 2021 in Ubuntu 20.04 (using singularity)

Hi Sukumar,

Yeah sure, I am new Ubuntu user...
I did that...

eduardo@serenza:~$ singularity run --app install salome_meca-lgpl-2021.0.0-0-20210601-scibian-9.sif
FATAL:   while initializing starter command: /usr/local/libexec/singularity/bin/starter-suid not found, please check your installation

Sincerely, I do not know how to solve that.

Thanks a Million!

Eduardo

Offline

#7 2022-02-10 15:08:26

sb1966
Member
Registered: 2015-03-16
Posts: 230

Re: Installation Salome-Meca 2021 in Ubuntu 20.04 (using singularity)

Hi,

1. I hope you had tested your singularity after installation.

2. If not, see singularity tutorial page- https__://singularity-tutorial.github.io/01-installation/ page for the same. (Remove __ after "https" for access, posting url is not allowed here)

3. Is your "salome_meca-lgpl-2021.0.0-0-20210601-scibian-9" file executable? (the one without .sif extension, that you get after running the following command:

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

4. You can check it graphically by right clicking on that file icon and check the permissions. Then check the checkbox to make it excutable, i.e. "Allow run as program". There will be some warning. You can safely ignore it.

5.See the screenshot below for my s-meca container as an example.

Hope this helps.

Best wishes
Sukumar

Last edited by sb1966 (2022-02-10 15:11:03)


Attachments:
Screenshot from 2022-02-10 19-34-56.png, Size: 149.29 KiB, Downloads: 97

Offline

#8 2022-02-14 17:07:35

eduserenza
Member
Registered: 2022-01-21
Posts: 8

Re: Installation Salome-Meca 2021 in Ubuntu 20.04 (using singularity)

Hi,

3. Is your "salome_meca-lgpl-2021.0.0-0-20210601-scibian-9" file executable? (the one without .sif extension, that you get after running the following command: = YES, CORRECT

4. You can check it graphically by right clicking on that file icon and check the permissions. Then check the checkbox to make it excutable, i.e. "Allow run as program". There will be some warning. You can safely ignore it. = YES, I DO NOT HAVE PERMISSIONS... SO I will try do that.

Thxs Sukumar

Offline