Skip to content

FinisTerrae II: Feel Singularity scripts

victorsndvg edited this page Apr 26, 2017 · 1 revision

How to launch Feel++ with singularity at FinisTerrae II

Script 1

Launch feelpp_qs_laplacian_2d in two task in different nodes.

#!/bin/bash
#SBATCH -p cola-corta
#SBATCH -N 2
#SBATCH -n 2
#SBATCH -t 00:10:00
#SBATCH --ntasks-per-node=1

module purge
module load gcc/5.3.0 openmpi/1.10.2 singularity/2.2.1 feelpp-toolboxes/0.102.00

mpirun feelpp-toolboxes  feelpp_qs_laplacian_2d

Script 2

Change Feel++ output directory and launch feelpp_toolbox_fluid_2d in two task in different nodes.

#!/bin/bash
#SBATCH -p cola-corta
#SBATCH -N 2
#SBATCH -n 2
#SBATCH -t 00:10:00
#SBATCH --ntasks-per-node=1

module purge
module load gcc/5.3.0 openmpi/1.10.2 singularity/2.2.1 feelpp-toolboxes/0.102.00

mpirun feelpp-toolboxes  "export FEELPP_REPOSITORY=$PWD && feelpp_toolbox_fluid_2d --config-file=PATH-TO/TurekHron/cfd1.cfg"