Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:hpc:software:transat [2015/05/29 18:35] (current)
vrintala created
Line 1: Line 1:
 +==== TransAT ====
  
 +Use **transatui.py** to compile initialconditions.cxx and prepare simulation files on login node.
 +
 +Example job script to run TransAT:
 +
 +<file sh transat_example.sh>
 +#!/bin/bash
 +
 +###
 +### parallel job script example for TransAT
 +###
 +
 +## name of your job
 +#SBATCH -J <yourcasenamehere>
 +
 +## system error message output file
 +#SBATCH -e <yourcasenamehere>.%j.stderr
 +
 +## system message output file
 +#SBATCH -o <yourcasenamehere>.%j.stdout
 +
 +## send mail after job is finished
 +#SBATCH --mail-type=end
 +#SBATCH --mail-user=first.last@lut.fi
 +
 +## a per-process (soft) memory limit
 +## limit is specified in MB
 +## example: 1 GB is 1000
 +#SBATCH --mem-per-cpu=1900
 +
 +## how long a job takes, wallclock time d-hh:mm:ss
 +#SBATCH -t 1-12:00:00
 +
 +##the number of processes (number of cores)
 +## number of cores
 +#SBATCH -n 4
 +
 +##name of queue 
 +#SBATCH -p phase2
 +
 +## load modules
 +module load TransAT/openmpi-1.6.5-gcc/5.2
 +module load petsc/3.2-p7
 +
 +##change to calculation directory
 +CALCDIR=/home/<yourusername>/<yourcasename>
 +cd $CALCDIR
 +
 +## Run initialconditions
 +srun $CALCDIR/transatmbinitialDP
 +
 +## Run calculation
 +srun transatmbDP
 +</file>
 
/opt/webdata/webroot/wiki/data/pages/en/hpc/software/transat.txt · Last modified: 2015/05/29 18:35 by vrintala
[unknown button type]
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki