FDS
Fire Dynamics Simulator (FDS) is an open-source computational fluid dynamics (CFD) model developed by the U.S. National Institute of Standards and Technology (NIST), focusing on simulating smoke flow and heat transfer processes in fires. It uses numerical methods to solve the Navier-Stokes equations describing thermally driven low-speed flows, with particular emphasis on smoke and heat transport generated by fires. FDS provides two methods for handling turbulent flow: Large Eddy Simulation (LES) and Direct Numerical Simulation (DNS). The software is widely used in smoke control system design, detector activation time studies, and fire reconstruction. FDS also includes a dynamic scene display program called Smokeview for visualizing calculation results.
1. Script Template
#!/bin/bash
#SBATCH --nodes=1 # Number of nodes
#SBATCH --ntasks-per-node=8 # Number of cores per node
##SBATCH --cpus-per-task=14 # Total number of cores
#SBATCH --partition=g2_sharce
#SBATCH --job-name=hello # Job name
#SBATCH --output=hello.%j.out # Standard output log (%j is the jobId)
#SBATCH --error=hello.%j.err # Error output log (%j is the jobId)
##############################################
# Software Envrironment #
##############################################
unset I_MPI_PMI_LIBRARY # Unset default MPI library, use Intel's built-in
export I_MPI_JOB_RESPECT_PROCESS_PLACEMENT=0
source /sh2/home/macl2/software/fds/6.8/bin/FDS6VARS.sh
source /sh2/home/macl2/software/fds/6.8/bin/SMV6VARS.sh
module load hpcx/2.11
module load gcc/11.2.0 openmpi/4.1.2_gcc11.2.0
export IPM_KEYFILE=/sh2/software/mpi/hpcx/hpcx-v2.11/2.11/ompi/tests/ipm-2.0.6/etc/ipm_key_mpi
export IPM_LOG=FULL
export LD_PRELOAD=/sh2/software/mpi/hpcx/hpcx-v2.11/2.11/ompi/tests/ipm-2.0.6/lib/libipm.so
mpirun -x LD_PRELOAD fds ./volume_flow_2.fds