salome_meca 2021 under LGPL license is available for download

18 October 2021

The new salome_meca 2021 under LGPL license is available for download.

This 2021 version integrates the following products:

  • SALOME 9.7.0 ;
  • code_aster stable (version 15.4) ;
  • code_aster oldstable (version 14.8) ;
  • AsterStudy ;
  • MEDConverter ;
  • EUROPLEXUS module ;
  • Salome-Meca plugins : CABRI ;
  • code_aster translator ;
  • astk.
    This version is compatible with all Linux OS as it is distributed via a Scibian9 singularity container. One may even consider using it on Windows10/11 if WSL2 is installed.

Installation of Singularity for Ubuntu 18 and 20

The version of singularity available in apt is not recent enough and as a consequence, singularity needs to be compiled from scratch.

See compile-singularity

Installation of Singularity for CentOS

If using CentOS, EPEL package manager can be used in order to download Singularity. One first needs to update the package-list and install epel-release:

sudo dnf search epel
sudo dnf install epel-release

The packages list can then be updated as follows:

sudo dnf update

Finally, Singularity can be downloaded and installed, along with its prerequisites:

sudo dnf install singularity

Compile Singularity from scratch

Building Singularity v3.6.4 requires Go Language as a prerequisite (version 1.14+). Hence, it is also mandatory to build this product

sudo apt-get install -y build-essential libseccomp-dev pkg-config squashfs-tools cryptsetup

If using another distribution, the listed packages must of course be installed.

Then, in order to compile Go, one must set two environment variables. Here are the commands which can of course be modified to suit your personal choices if needed:

echo 'export GOPATH=${HOME}/go' >> ~/.bashrc
echo 'export PATH=/usr/local/go/bin:${PATH}:${GOPATH}/bin' >> ~/.bashrc
source ~/.bashrc

Then, Go can be downloaded:

cd $HOME
wget https://golang.org/dl/go1.15.5.linux-amd64.tar.gz
tar -C ./ -xzf go1.15.5.linux-amd64.tar.gz
go version

Once done, golangci-lint needs to be dowloaded and compiled:

curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.32.2

Now that Go is available, Singularity’s source code can be downloaded. First, let’s create a directory and then clone de source code using git:

mkdir $HOME/dev && cd $HOME/dev
git clone https://github.com/sylabs/singularity.git && cd singularity

The current stable version is v3.7.0. In order to compile this version, on must update the source code at the right revision (tag) using git:

git checkout v3.7.0

Finally, it is now possible to build Singularity:

cd ./builddir
sudo make install

Now, it is possible to verify whether installation was performed correctly and the compiled version (v3.7.0) :

singularity version

Installation of salome_meca

First install singularity v3. For more information regarding this process, have a look at singularity’s website and previous section

  • 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-0-20210601-scibian-9.sif

The platforme is already installed within the container, no need to install anything else as all the prerequisites are in the container

  • Launching salome_meca 2021 using the singularity container :
  • salome_meca uses GPU acceleration and expects a Nvidia-like device. Yet, on may use software rendering instead using such option:
    ./salome_meca-lgpl-2021.0.0-0-20210601-scibian-9 --soft

New features

A noteworthy novelty of this version is the ANSYS mesh format now available within MEDConverter, a tool for mesh conversion into the MED formatdifferent formats.

This version integrates AsterStudy 2021.0.0.

And of course, code_aster V15.4 where code_aster is now a python module.

Supported Linux distributions

This container version has been tested with the following 64bits Linux distributions:

  • Scibian 9 & 10
  • Centos 8 & 9
  • Ubuntu 18.04

Have fun experiencing open simulation!