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

You are not logged in.

#1 2022-02-25 09:45:59

hpp
Member
Registered: 2020-04-02
Posts: 6

SalomeMeca singularity on MacOS

Hello,

I have succeeded downloading the actual salome*.sif as well as singularity for MacOS (running Monterey). This is Version 3.2.0-rc2. singularity is working - it is executable, it displays --help etc.

But: Starting singularity run --app install ... results in a big error. It shows

Invalid flag "--app" for command "run"

There is not such option! Neither help nor the documentation knows abaout --app. Could it be a problem of version? Is --app a new option for versions later than 3.2? I remain somewhat perplexed.

Greetz, hp prüfer

Offline

#2 2022-02-27 07:56:52

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

Re: SalomeMeca singularity on MacOS

It is possibly due to your singularity version.

Are you able to run the sif file directly ?

singularity run *.sif

Offline

#3 2022-03-08 15:00:33

hpp
Member
Registered: 2020-04-02
Posts: 6

Re: SalomeMeca singularity on MacOS

In the meantime since your kind answer I have tried several ways to find a solution. At first answers to your questions:

"It is possibly due to your singularity version."

Maybe. I usually mistrust versions for MacOS. There is almost always a hidden beastliness ...

"Are you able to run the sif file directly ?"

Of course I did try this. It is not possible. I get a real interesting error message: "vmx_init: processor does not support desired secondary processor-based controls".

This message seems to be well-known, at least sort of. But I am still not able to discover a working remedy.

Second, an alternative idea:

I tried the brute force approach. I installed a virtual machine runnig Debian buster for a scibian overlay. But even this resulted in a kind of helplesness. Ok, the basesystem is running. But then the recipe of scibian (https: .. scibian.org/docs/scibian10_installation.html) leads into the boondocks and remains there, because gnupg is missing and cannot be installed. Maybe I am too blind ... anyway, I am working with unixoid systems for more than three decades, I have compiled kernels and so on. But in this case I am finished.

Btw, compiling singularity from scratch on a Mac is a desaster. Many thanks to Monterey, vulgo macOS 12.2.1!

Now really pessimistic,
hp

Offline

#4 2022-03-08 22:05:42

hpp
Member
Registered: 2020-04-02
Posts: 6

Re: SalomeMeca singularity on MacOS

Now I had some success. Debian buster runs smoothly with VirtualBox, I had been able to install Scibian10. It ist really very (!!!) important to find the matching versions. Scibian10 ist NOT installable under the actual Debian 11. Btw, Debian buster (which is obligatory) can only be downloaded from a Debian archive, as it is no longer supported.

Singularity is not contained in Scibian! There is a singularity.deb in the Debian distro, but: This is a ridiculous container with "Endgame". So I will have to do the compiling etc by myself. I cannot understand this. Scibian is made for applications like CodeAster and Salome. Why is singularity missing?

I do not want to send endless complaints. Instead, I adjust myself to the historical task of compiling. At least I am used to. Anyway I'll keep you informed.

Still not very happy,
hp

Offline

#5 2022-03-11 14:04:16

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

Re: SalomeMeca singularity on MacOS

Hello hpp,

You do not need Scibian to run this singularity, you can use insteady the Linux OS of your choice!

The image (sif file) has been tested on different debian, RedHat, OpenSUSE based OS's.

Offline

#6 2022-03-13 23:08:47

hpp
Member
Registered: 2020-04-02
Posts: 6

Re: SalomeMeca singularity on MacOS

Hello hberro,

of course I am aware of the fact that Scibian is by no means obligatory. I have understood Scibian as a recommandation, so to say the OS of choice! Why should I choose another distro?

I am really patient. Scibian is a little bit bizarre. It has a startpage for firefox pointing to myelectric ... where I might log in (which is naturally impossible).

Anyway, I have tried the somewhat tedious task of installing singularity (I suppose there is no other distro with a precompiled singularity). This is all really interesting, because now I ran against another wall. Make tells me that the file seccomp.h is missing. Ok, we can search and try and maybe find. In reality, the recipe of singularity install does not work flawlessly. But singularity is absolutely necessary? IMHO, it is something like a matrioshka. As I don't want to buy a dedicated machine for codeaster/salome, I build a virtualized linux (debian etc), and in this virtualization I run another virtualization: the singularity container.

What I like to say about those installation problems in french will not be very good manners.

singularity, c'est le bordel. Ça m'agace. Ça me fait ch... non, je ne veux pas écrire comme ça.

Maybe an installation on a simple debian base will be better. I got time enough for a new attempt. And I hope I'll have success with that horrible singularity which seems to be something like a mathematical singularity.

Sorry for my rude words. The whole thing leaves me still unhappy. I have adjusted to the fact that codeaster/salome is linux-based, because I know lots of linuxes for many years. The more I try the actual ideas the more obstacles I find. My last success which is still running is the version SM2019.0.3.

But I don't give up!

Greetz, hp

Offline