#!/bin/bash #PBS -S /bin/bash #PBS -N flow_past_cylinder_unst #PBS -q normal #PBS -l select=1:ncpus=512:mpiprocs=4:model=tur_ath #PBS -W group_list= #PBS -l walltime=01:30:00 #PBS -j oe #PBS -k oed #PBS -r n log_file="run.log" # Load LAVA modules module purge module use /swbuild/LAVA/LAVA_modules module load LAVA module load LAVA_voro # Set environment export OMP_NUM_THREADS=128 # Change to working directory cd $PBS_O_WORKDIR # Generate the mesh (4 MPI ranks per node, 10 threads each), replacing an existing mesh file or link rm -f voro_cylinder_2d.cgns mpiexec -ppn 4 --cpu-bind none mbind.x -cs -t 10 \ lavavoro.AVX2 voro_cylinder_2d.yml 2>&1 |& tee -a ${log_file} # Run LAVA (4 MPI ranks per node, 128 threads each) mpiexec -ppn 4 --cpu-bind none mbind.x -cs -t $OMP_NUM_THREADS \ lavaunst.3D.NS1.AVX512 unst_cylinder_2d.inputs 2>&1 |& tee -a ${log_file}