Skip to content

mwierszycki/Abaqus-in-Apptainer-Singularity-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Abaqus in Apptainer/Singularity container

The Apptainer/Singularity containerization technology streamlines the containerization process of Abaqus with OpenMPI and Intel OneAPI compilers, ensuring compatibility with (almost) any Linux distribution., enhances portability and enables a seamless deployment of Abaqus across existing computing environments. The provided Definition file assumes CentOS 7 as the base OS, but it can be used on other distributions as well. If you encounter any issues due to differences between other distributions and CentOS 7, you may need to adjust the Definition file accordingly. Additionally, ensure that the necessary dependencies and packages are available on the host system.

To install Apptainer on CentOS 7 you can use EPEL repository:

~]$ sudo yum -y install epel-release
~]$ sudo yum -y install apptainer apptainer-suid

Put the following files required for installation into directory ~/2024:

Use the following commands to build the Apptainer/Singularity container:

~]$ sudo apptainer build abaqus-2024.sif abaqus-2024-EL7.def

Please note that the Apptainer container with Abaqus can be run and built in rootless mode as well. Please follow the Apptainer documentation to allow an unprivileged user to build and run a container with Abaqus.

To run Abaqus 2024 in the container execute the command:

~]$ apptainer exec abaqus-2024.sif abaqus -info ver

or start an interactive shell within the container to run Abaqus commands as needed:

~]$ apptainer shell abaqus-2024.sif
Apptainer> . /opt/intel/oneapi/compiler/latest/env/vars.sh
Apptainer> abq2024 verify all

Happy using Abaqus in the Apptainer/Singularity container on Linux.