Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
abaqus [2020/11/17 14:31] – créée adminabaqus [2022/07/13 10:38] (Version actuelle) – admin
Ligne 2: Ligne 2:
  
 How to Run Abaqus on Mesocentre Cluster. How to Run Abaqus on Mesocentre Cluster.
 +
 +<note warning>
 +  * Only DMA researchers are allowed to use Abaqus on the Mesocentre
 +  * The license server is hosted at Femto-ST. Make sure you have access to it.
 +
 +</note>
  
 ===== Interactive/Graphical mode ===== ===== Interactive/Graphical mode =====
-**Objective:** run the graphical interface a.k.a CAO. +**Objective:** 
 +  * Run the graphical interface a.k.a CAO.  
 +  * Post/pre processing 
 +  * Small Jobs run 
  
-  - Connect to mesoshared.univ-fcomte.fr using [[x2go|x2go]] as explained here.+ 
 +<note tip>We will use ''mesoshared.univ-fcomte.fr''. An interactive node shared by all users and not managed by SGE</note> 
 + 
 +  - Connect to **mesoshared.univ-fcomte.fr** using [[x2go|x2go]] as explained here.
   - Once connected, open terminal (Top menu: Applications->System Tools> Terminal   - Once connected, open terminal (Top menu: Applications->System Tools> Terminal
   - Change directory to WORK: cd WORK (remember this is the Work space)     - Change directory to WORK: cd WORK (remember this is the Work space)  
   - Load abaqus module <code bash>$ module load abaqus</code>   - Load abaqus module <code bash>$ module load abaqus</code>
-  - Run CAE <code bash>$abq2017 cae -mesa</code>  This will open a Grapical window of abaqus/CAE.  +  - Run CAE <code bash>$ abq2017 cae -mesa</code>  This will open a Grapical window of abaqus/CAE.   
 + 
 +On can also run Abaqus batch mode (command line) just for testing (for long computation thanks to use SGE, see bellow). 
 +For example: 
 +<code bash> 
 +$ module load intel # if we use ifort  
 +$ module load abaqus 
 +$ abq2017 job=nom_job interactive # for short job and testing purpose 
 +</code> 
 +  
 +===== Batch mode ===== 
 +**Objective:** 
 +  * Run Abaqus solver on bacth mode using SGE 
 +  * Long run 
 +  * Multiprocessing run (SMP) 
 + 
 + 
 + 
 +Here is an example of SGE script to adapt: 
 + 
 +<code bash> 
 +#!/bin/bash 
 +  
 +#$ -o $JOB_NAME.o$JOB_ID 
 +  
 +#$ -N job_abaqus_batch  # modify me 
 +  
 +#$ -q all.q 
 +  
 +#$ -pe openmp 8  # modify me MAX=16 
 +  
 +#$ -l h_vmem=4G  # modify me 
 +  
 +module load abaqus 
 +module load intel # if we use ifort 
 +job=myjob  # modify me 
 +abq2017  cpus=$NSLOTS job=$job interactive 
 +</code> 
 +<noteimportant> 
 +  * This script need to be saved in WORK directory 
 +  * It run Abaqus in one node using 8 cores and 8x4G of memory. 
 +</note> 
 + 
 +Submit the script by: 
 + 
 +<code bash> 
 +$ qsub script.sge 
 +</code>
  
 +Check the execution by:
 +<code bash>
 +$ qstat
 +</code>
  
 +<note warning>Abaqus only has **52 tokens**. If the job does not find any tokens it ends up with errors. We are working to optimise this: queuing jobs until the tokens are available.</note>
  
  
  • abaqus.1605623483.txt.gz
  • Dernière modification : 2020/11/17 14:31
  • de admin