Marc Mentat
Marc Mentat by Hexagon Marc is a general purpose finite element program capable of solving structural and thermal problems. Marc input is graphically generated using the program Mentat.
Using Marc Mentat interactive
(Graphical User Interface)
Use your browser to connect to Umbrella On Demand
Using Marc Mentat in SLURM batch jobs
(Command Line Interface)
Test Marc
Test Marc Mentat
Load the module
[user@umbrella]$ module purge
[user@umbrella]$ module load MarcMentat/2025.1-intel-2024a
Check execution on empty data file (test.dat)
[user@umbrella]$ touch test.dat
[user@umbrella]$ run_marc -jid test
Program name : marc
Marc shared lib :
Version type : i8
.....
.....
running the job in the background, see test.log
Final run stream value
RUNJOB= /sw/rl8/zen/app/MarcMentat/marc2025.1/bin/linux64i8/marc -jid test -dirjid /home/20224765/. -maxnum 1000000 -dirjob /home/20224765 -ml 128474 -ci yes -cr yes
test.log file has more info
```shell [user@umbrella]$ cat test.log ..... Tue Nov 25 17:20:21 CET 2025
Marc test begins execution
(c) COPYRIGHT 2025 Hexagon Manufacturing Intelligence, Inc., all rights reserved
Requested number of element threads = 1 Requested number of solver threads = 1
VERSION: Marc 2025.1, build 271e0caa5 (2025-07-27)
Date: Tue Nov 25 17:20:22 2025
Marc execution begins
Date: Tue Nov 25 17:20:22 2025 MSC Id: cc96e5f26997 (ethernet) (Linux) Hostname: tue-login002.cluster (user 20224765, display /dev/tty) License files: 27500@marcmentat.lic.tue.nl CEID: 56906B84-A5BDA279 User: 20224765 Display: /dev/tty LAPI Version: LAPI 23.1.2 (CL b668b185) (FLEXlm 11.19.6.3) Acquired 20 licenses for Group MSCONE (Marc) from license server on host marcmentat.lic.tue.nl
general memory initially set to = 23 MByte
maximum available memory set to = 128499 MByte
*** error - no element types chosen and no substructure input
Returned 20 licenses for Group MSCONE (Marc)
......
```
Test MarcMentat and Fortran compiler
Load the module
[user@umbrella]$ module purge
[user@umbrella]$ module load MarcMentat/2025.1-intel-2024a
[user@umbrella]$ touch test.dat
[user@umbrella]$
[user@umbrella]$ run_marc -jid test -u main
Marc SLURM sbatch jobscript example using Shared Memory
#!/bin/bash
#SBATCH --job-name=test_marc
#SBATCH --output=test_marc-%j.log
#SBATCH --partition=tue.default.q
#SBATCH --nodes=1
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=4
#SBATCH --mem-per-cpu=2gb
#SBATCH --time=00:05:00
module purge
module load MarcMentat/2025.1-intel-2024a
# The input file input.dat can be referenced without the .dat extension
run_marc -j input -v no -b no -nte ${SLURM_CPUS_PER_TASK} -nts ${SLURM_CPUS_PER_TASK}
Marc SLURM sbatch jobscript example using specific Fortran code
#!/bin/bash
#SBATCH --job-name=test_marc
#SBATCH --output=test_marc-%j.log
#SBATCH --partition=tue.default.q
#SBATCH --nodes=1
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=4
#SBATCH --mem-per-cpu=2gb
#SBATCH --time=00:05:00
module purge
module load MarcMentat/2025.1-intel-2024a
# The input file input.dat can be referenced without the .dat extension
# The Fortran code main.f can be referenced without the .f extension
run_marc -j input -u main -v no -b no -nte ${SLURM_CPUS_PER_TASK} -nts ${SLURM_CPUS_PER_TASK}