Qarnot Technical Team
HPC platform
Launch compute tasks in a few lines of code or a few clicks on Tasq, our HPC platform.

LMGC-90 on Qarnot Cloud - documentation

January 27, 2022 - Documentation, Numerical simulation


LMGC90 is a free and open source software dedicated to multiple physics simulation of discrete material and structures. A list of publications which used the software can be found here. The documentation can be found here.


Versions available on Qarnot's cloud plateform.

Release yearVersion

If you are interested in another version, please send us an email at


Before launching a computation task, please ensure that the following prerequisites have been met:

Test Case

We use an example provided by LMGC90 team of a brick wall. You need to unzip this folder to be able to use it on Qarnot Cloud.

Launching the case

Copy the following code in a Python script and save it next to the lmgc90_wall_example folder you unzipped before. Be sure you have copied your authentication token in the script (instead of <<<MY_SECRET_TOKEN>>>) to be able to launch the task on Qarnot. Make sure that all input files are in the same folder named lmgc90_wall_example. Your working directory should look like this :

  • lmgc90_wall_example/
    • DATBOX/

To launch this script, open a terminal in your working directory and execute python3 &. It will launch the execution of lmgc90 on Qarnot and wait until the execution is over to download the results.


At any given time, you can monitor the status of your task on Tasq. You should now have an output folder in your working directory on your computer and a lmgc90_output bucket on Qarnot’s Tasq containing all output files. It should comport 3 directories :


The ASCII files in POSTPRO directory result from the commands in the DATBOX/POSTPRO.DAT file. To have more information on how to use this features read this document. The files inside the DISPLAY directory can be visualized with paraview. It is advised to read the .pvd files which ensure time consistency. The different output files are:

  • tacts: contactors of rigid objects
  • rigids: center of mass of rigid objects
  • inter: interactions
  • mecafe: mechanical mesh
  • therfe: thermal mesh
  • porofe: porous mechanical mesh
  • multife: multi-phasic fluid in porous media mesh

That’s it! If you have any questions, please contact and we will help you with pleasure!Results opened in Paraview

Share on networks