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