Installation issue on Debian 12

Hello everyone,

I am a user of Salome-Meca and I would like to install Code-Aster on Debian 12. I have tried both Code-aster Stable (14.6.0) and Testing (15.2.0). I have installed all prerequisites before the attempt. When installing the stable version, I can get through the installation step and the installation finishes with failure in Mumps and Tfel. As I understand, Mumps is critical for the solver. The error I get is: Exception raised : error during compilation.

As for the Testing version, I do not get the choice of (yes/no) in the installation process, and the installation does not finish. The error is: Unable to find libboost_python3.so or libboost_python3.a or libboost_python3-mt.so or libboost_python3-mt.a. I did not get this error when installing the stable version.

I would be grateful for any help or guidance to succeed in installing code-aster.

Thank you,

Abdullah

Have you followed this procedure.

https://gitlab.com/codeaster-opensource-documentation/opensource-installation-development/-/blob/main/install/build-prerequisites-debian11.md

or use singularity container

https://gitlab.com/codeaster-opensource-documentation/opensource-installation-development/-/blob/main/devel/changelog.md

Thank you for the reply Nicolas. I was following the instructions in the README_aster_stable.txt file, available with the code-aster archive. Using the command: “python setup.py install prefix=/code-aster-directory/”

I did not know about this gitlab page. However, after following the procedure on the page, I get an error with make:

"not found: /home/abdullah/Salome/code-aster/code-aster/20240327/gcc12-openblas-ompi4/med-4.1.1/lib/python3.11/site-packages/med/init.py

make: *** [makefile:53: /home/abdullah/Salome/code-aster/code-aster/20240327/gcc12-openblas-ompi4/.installed/med] Error 1"

Is this an alternative way of installing code-aster? Tried with gcc10 as well. Is gcc 9 a requirement? I could not install it on Debian 12.

It has already work with debian12.

But why you don’t want to compile code_aster inside a singularity container ?

@abd

not found: /home/abdullah/Salome/code-aster/code-aster/20240327/gcc12-openblas-ompi4/med-4.1.1/lib/python3.11/site-packages/med/init.py

maybe (/home/abdullah/Salome/code-aster/code-aster/20240327/gcc12-openblas-ompi4/med-4.1.1/local/lib/python3.11/dist-packages/med/init.py) is exist.

maybe it is python env cause this.