Page MenuHomePhabricator

Cfam
Updated 2,628 Days AgoPublic

Version 1 of 10: You are viewing an older version of this document, as it appeared on Mar 6 2017, 3:21 PM.

SBATCH

Template submit.sh

#!/bin/bash
#SBATCH -N 6  # Nodes
#SBATCH -n 100  # Total number of tasks
#SBATCH --exclusive # exclusive lock
#SBATCH --mail-type=end
#SBATCH --mail-user=$YOUR_EMAIL
#SBATCH --workdir=/home/YOUR/PROJECT/PATH
#SBATCH -w highmem01,highmem02,node01,node02,node03,node04

FLUENT_HOSTS=highmem01,highmem02,node01,node02,node03,node04
FLUENT_BIN=~/ansys16/v162/fluent/bin/fluent

export FLUENT_GUI=off

if [ -z "$SLURM_NPROCS" ]; then
  N=$(( $(echo $SLURM_TASKS_PER_NODE | sed -r 's/([0-9]+)\(x([0-9]+)\)/\1 * \2/') ))
else
  N=$SLURM_NPROCS
fi

echo -e "N: $N\n";

~/ansys16/v162/fluent/bin/fluent 3ddp -g -slurm -ssh \
-cnf=$FLUENT_HOSTS -t $N \
-mpi=openmpi -pinfiniband -i journal
Last Author
newellz2
Last Edited
Mar 6 2017, 3:21 PM

Document Hierarchy

Event Timeline

newellz2 edited the content of this document. (Show Details)
newellz2 changed the visibility from "All Users" to "Public (No Login Required)".Mar 16 2017, 3:49 PM
newellz2 changed the title from Cfam to CFAM.May 24 2017, 5:15 PM
newellz2 edited the content of this document. (Show Details)
newellz2 edited the content of this document. (Show Details)