FDS
Fire Dynamics Simulator (FDS) is a large-eddy simulation (LES) code for low-speed flows, with an emphasis on smoke and heat transport from fires.
Official website: https://pages.nist.gov/fds-smv/
Updated: Jan 2024
Modules
Module name | Description | Note |
---|---|---|
FDS/6.8.0-cpeIntel-23.03 | Standard FDS | MPI + OpenMP |
1. Job submission script
A FDS input file (.fds) is required. For new users, visit https://fdstutorial.com/ or https://pages.nist.gov/fds-smv/.
Below is an example of a FDS submission script (submitFDS.sh
). It can be created using vi submitFDS.sh
.
#!/bin/bash
#SBATCH -p compute # Partition
#SBATCH -N 1 # Number of nodes
#SBATCH --ntasks-per-node=32 # Number of MPI processes per node
#SBATCH --cpus-per-task=2 # Number of OpenMP threads per MPI process
#SBATCH -t 5-00:00:00 # Job runtime limit
#SBATCH -J FDS # Job name
#SBATCH -A ltxxxxxx # Account *** {USER EDIT} ***
INPUT_FILE=./path-to-your-input-file.fds
# ---------------------------
module purge
module load FDS/6.8.0-cpeIntel-23.03
export OMP_NUM_THREADS=${SLURM_CPUS_PER_TASK}
ulimit -s unlimited
srun -N${SLURM_JOB_NUM_NODES} -n${SLURM_NTASKS} -c${SLURM_CPUS_PER_TASK} fds ${INPUT_FILE} 2>&1
Each LANTA compute node has 128 CPU cores. Therefore, (ntasks-per-node) x (cpus-per-task) must be less than or equal to 128.
2. Job submission
To submit jobs to the SLURM queuing system, execute
sbatch submitFDS.sh
The log will be recorded in ‘slurm-xxxxxx.out’. To view a few latest lines, use tail slurm-xxxxxx.out
.
Contact Us
ThaiSC support service : thaisc-support@nstda.or.th