Docker images for Code_Aster
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Docker for Code_Aster

This repository contains the Dockerfiles for building images of Code_Aster inside a Ubuntu base system. The built images are available on Using Docker you can directly execute Code_Aster on virtually any platform (Linux, Mac, Windows, ...) and without having to compile yourself the full package (hdf5, med, mumps, etc).

Currently three images are available:

  1. a GCC-based build of the latest stable version (13.6). Both the sequential and parallel (MPI) versions are available. Its size is around 3.1 GB.
              -- CODE_ASTER -- VERSION : EXPLOITATION (stable) --

                     Version 13.6.0 modifiée le 21/06/2018
                     révision fb950a49b96d - branche 'v13'
                         Copyright EDF R&D 1991 - 2018

                           Version de Python : 2.7.12
                           Version de NumPy : 1.11.0
                     Version de la librairie HDF5 : 1.8.14
                      Version de la librairie MED : 3.3.1
                     Version de la librairie MFront : 3.0.0
                     Version de la librairie MUMPS : 5.1.1
                    Version de la librairie PETSc : 3.7.7p0
                     Version de la librairie SCOTCH : 6.0.4
  1. a GCC-based build of the latest testing version (14.2). Currently only the sequential version is available. Its size is around 2.3 GB.

                     Version 14.2.0 modifiée le 21/06/2018
                   révision db2699f0662a - branche 'default'
                         Copyright EDF R&D 1991 - 2018

                           Version de Python : 2.7.12
                           Version de NumPy : 1.11.0
                     Version de la librairie HDF5 : 1.8.14
                      Version de la librairie MED : 3.3.1
                     Version de la librairie MFront : 3.1.1
                     Version de la librairie MUMPS : 5.1.2
                        Librairie PETSc : non disponible
                     Version de la librairie SCOTCH : 6.0.4
  1. the latest release of Salome_Meca (2018). Only the sequential version is available, but aster is compiled with Intel compilers that in general give better performance. Additional packages such as ecrevisse are also provided. Unnecessary modules could in fact be removed to reduce the image size, which is currently around 4.1 GB.
Image name Build status Description Version Size Docker Repository on Quay Latest stable version of Code_Aster 13.6 3.1 GB Docker Repository on Quay Latest testing version of Code_Aster 14.2 2.3 GB Docker Repository on Quay Latest release of Salome_Meca 2018 4.1 GB


To install Docker for your platform, follow the instructions at The tutorial provided there may also be useful.

One you have Docker installed, you can use the following commands to run the here provided Code_Aster image.

  1. To run an interactive bash terminal containing the as_run command in its PATH
docker run -ti --rm

where -ti stands for an interactive process and --rm means the container will be automatically removed when it exits, in order to save disk space.

  1. If you also want to share your current working directory into the container (for instance, use as_run to launch a .comm simulation file along with all the other data files, prepared in the current directory)
docker run -ti --rm -v $(pwd):/home/aster/shared -w /home/aster/shared

The Windows users may need to use the following command

docker run -ti --rm -v %cd%:/home/aster/shared -w /home/aster/shared


If everything goes well, you will see the following message showing up in the terminal

# Code_Aster latest stable version

Welcome to Code_Aster!

This image provides a GCC-based build of the latest
stable release of Code_Aster containing the following


To execute an "export" file, just run

    as_run foo.export

To immediately verify that Code_Aster indeed works, launch a simple testcase

as_run --test forma02a

for the sequential version, and

as_run --vers stable_mpi --test forma02a

for the parallel version.

Testcases qualification

A simple script file is available at /home/aster that will launch all the testcases available. You can just run


The test results are saved to /home/aster/shared/test (which will be shared with your host if you are using the -v command). A summary will also be given at the end.

By default it will run the sequential version stable. You can define an environmental variable ASRUN to run the parallel version stable_mpi

export ASRUN="/home/aster/aster/bin/as_run --vers stable_mpi"

Using the sequential and parallel versions provided here, only the following tests fail mainly due to lack of some features not provided by the aster-full package.

  • Missing xmgrace (20 cases)
forma10a  forma10b  forma30b  sdld102a  sdnl105a  sdnl105b  sdns107a  sdns107b
ssnl127a  ssnl127b  ssnl127c  ssnl127d  ssnl127e  ssnp150b  ssnp153a  ssnv194a
ssnv219b  ssnv219c  ssnv219d  tplp107b
  • Missing europlexus (28 cases)
plexu* (except plexu10c)
  • gmsh installation problem (3 cases, see #1)
ssls131a  zzzz151a  zzzz216b
  • Missing miss3d (27 cases)
fdlv112b  fdlv112e  fdlv112f  fdlv112g  fdlv112k  fdlv113a  sdls118a  sdls118d
sdlv133a  sdlx101a  sdlx101b  sdlx103a  sdlx104a  sdlx105a  sdlx106a  sdnx100a
sdnx100b  sdnx100c  sdnx100d  sdnx100e  sdnx100f  sdnx100g  sdnx101a  sdnx101b
sdnx101c  zzzz108c  zzzz200b
  • Missing ecrevisse (19 cases)
zzzz218a  zzzz218b  zzzz218c  zzzz354a  zzzz354b  zzzz354c  zzzz354d  zzzz354e
zzzz354f  zzzz354g  zzzz354h  zzzz355a  zzzz355b  zzzz355c  zzzz355d  zzzz355e
zzzz355f  zzzz355g  zzzz355h
  • Missing CALC_MAC3COEUR (31 cases)
  • Missing MACR_RECAL (6 cases)
sdls121a  sdls121b  sdls121c  zzzz159b  zzzz159e  zzzz159f
  • Missing material data (32 cases)
hsnv131a   ort001a  ssll501a  ssna117a  ssna117b  ssna117c  ssnl121b  ssnl121c
ssnl128a  ssnl128b  ssnl128c  ssnl128d  ssnl131a  ssnl131b  ssnl131c  ssnl131d
ssnp132a  ssnv101c  ssnv113a  ssnv190a  ssnv190b  ssnv212a  ssnv213a  ssnv214a
ssnv215a  ssnv216a  zzzz118a  zzzz118b  zzzz118c  zzzz118d  zzzz120a  zzzz120b
  • Missing scipy (1 case)
  • Missing devtools (1 case)
  • Possible numerical issues to be investigated further (12 cases)
erreu06a  forma11a   rccm01b  sdnd123a  ssnp504e  ssns115b  ssnv128r  ssnv157k
supv003a  umat002a  wtnv135a  zzzz255b


On a Windows 10 host with 8 Intel(R) Xeon(R) W-2123 CPU @ 3.6 GHz, with the Docker Community Edition for Windows, the following strong scaling result is obtained for the perf009d testcase.

Similarly, for the perf015 testcases, we obtain

Since back-end virtualization may still be used by Docker under Mac and Windows, performance should be better under a native Linux environment using Docker.


Tianyi Li ( @ Promold