[SOLVED] How to run Salome_meca on Ubuntu 24.04?

I downloaded Salome_meca 2025 for windows and installed it on Windows 11 and it works ok so far.
But then I switched to other laptop with Ubuntu 24.04. I downloaded the .sif file from here to a /home/jcsaaver/containers folder.
Then I installed singularity with:

sudo apt install singularity-container

And after that I did:

singularity run --app install salome_meca-lgpl-2025.1.0-1-20251026-scibian-12.sif

Then I run

/home/jcsaaver/containers/salome_meca-lgpl-2025.1.0-1-20251026-scibian-12

And the program starts normally.
But then I click on shaper module and it closes.

Here is what appears on the terminal:

jcsaaver@HP:~/containers$ /home/jcsaaver/containers/salome_meca-lgpl-2025.1.0-1-20251026-scibian-12
WARNING: Could not find any nv files on this host!
+ running salome_meca in software rendering mode
++ using container salome_meca-lgpl-2025.1.0-1-20251026-scibian-12.sif
++ using software rendering mode (should use `mesa_salome` starter)
jcsaaver@HP:~/containers$ 
** (SALOME_Session_Server_No_Server:9500): WARNING **: 17:31:12.668: atk-bridge: get_device_events_reply: unknown signature
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  3 (X_GetWindowAttributes)
  Resource id in failed request:  0xe
  Serial number of failed request:  10
  Current serial number in output stream:  11

In case it helps, these are my system characteristics:

# Detalles del informe del sistema
---

## Detalles del informe
- **Fecha generada:**                              2026-08-23 12:00:20

## Información de hardware:
- **Modelo de hardware:**                          HP HP ENVY Notebook 13-ab0XX
- **Memoria:**                                     8,0 GiB
- **Procesador:**                                  Intel® Core™ i5-7200U × 4
- **Gráficos:**                                   Intel® HD Graphics 620 (KBL GT2)
- **Capacidad del disco:**                         256,1 GB

## Información de software:
- **Versión de firmware:**                         F.07
- **Nombre del SO:**                               Ubuntu 24.04.2 LTS
- **Construcción de SO:**                          (null)
- **Tipo de SO:**                                  64 bits
- **Versión de GNOME:**                            46
- **Sistema de ventanas:**                         Wayland
- **Versión del núcleo:**                          Linux 6.8.0-63-generic

I do not know what am I doing wrong. Any help is welcome.

Hi,

there is an issue with apptainer not being able to access your graphic card. Either use the mesa launcher, or configure apptainer to make it work with your graphic card (nvidia?).

You will get more help on this in the code-aster forum (where you have already posted this message).

Christophe

I was finally able to run salome_meca, I will now present what I did. I don’t know if every step was necessary.

First, I uninstalled singularity with
sudo apt --purge remove singularity-container

Then I installed apptainer following the instructions from here:

sudo add-apt-repository -y ppa:apptainer/ppa
sudo apt update
sudo apt install -y apptainer

Then I used again this command
singularity run --app install salome_meca-lgpl-2025.1.0-1-20251026-scibian-12.sif

And tried to run salome_meca with:
/home/jcsaaver/containers/salome_meca-lgpl-2025.1.0-1-20251026-scibian-12

But again no luck.
So I extracted the .sif file:

apptainer build --sandbox salome_sandbox salome_meca-lgpl-2025.1.0-1-20251026-scibian-12.sif

Then I run salome_meca with

apptainer exec ~/containers/salome_sandbox /opt/salome-meca/2025/salome-meca-2025

And this time it worked.
I hope it migth help someone with the same problem.

1 Like