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.
Smokeview (SMV) is a visualization program used to display the output of FDS and CFAST simulations.
Example script slurm-fds-omp.sh
to run FSD on 1 node of the skl
partition using 16 cores and at most 4 GB of memory:
#!/bin/bash #SBATCH --job-name=Modello_R04_SC1_R02 #SBATCH --output=%x.o%j #SBATCH --error=%x.e%j #SBATCH --nodes=1 #SBATCH --ntasks-per-node=1 #SBATCH --cpus-per-task=16 #SBATCH --partition=skl #SBATCH --mem=4G #SBATCH --time=0-08:00:00 ##SBATCH --account=<account> export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK module load fds/6 ulimit -s unlimited WORKING_DIR="$(pwd)/${SLURM_JOB_NAME}.d${SLURM_JOB_ID}" mkdir -p "$WORKING_DIR" cp -p "${SLURM_JOB_NAME}.fds" "$WORKING_DIR" cd "$WORKING_DIR" mpirun fds "${SLURM_JOB_NAME}.fds"
Example script slurm-fds-mpi-omp.sh
to run FSD on 1 node of the skl
partition using 4x4=16 cores and at most 1 GB of memory:
#!/bin/bash #SBATCH --job-name=lapse_rate #SBATCH --output=%x.o%j #SBATCH --error=%x.e%j #SBATCH --nodes=1 #SBATCH --ntasks-per-node=4 #SBATCH --cpus-per-task=4 #SBATCH --partition=skl #SBATCH --mem=1G #SBATCH --time=0-00:05:00 ##SBATCH --account=<account> export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK module load fds/6 ulimit -s unlimited WORKING_DIR="$(pwd)/${SLURM_JOB_NAME}.d${SLURM_JOB_ID}" mkdir -p "$WORKING_DIR" cp -p "${SLURM_JOB_NAME}.fds" "$WORKING_DIR" cd "$WORKING_DIR" mpirun fds "${SLURM_JOB_NAME}.fds"
Connect to gui.hpc.unipr.it
(see Graphical User Interface for details), open a terminal and run the following commands to see how to run smokeview:
module load smv/6 smokeview -h