#PBS -S /bin/bash #PBS -N crm_rans_pylava_rom_curv #PBS -l select=2:ncpus=128:mpiprocs=4:model=rom_ait #PBS -l walltime=02:00:00 #PBS -j oe #PBS -W group_list= #PBS -q normal #BENCH reference crm_highspeed_curv.data.iter #BENCH tolerance_abs 5.0e-4 #BENCH tolerance_rel 5.0e-4 #BENCH compare last_step #BENCH exclude_vars stepl, d*, mind*, maxd*, flowres, turres, lin*, resturbulence1, resmomentum*, rescontinuity, resenergy #BENCH save_vars cl_wing, cd_wing, cmy_wing # Modules and Environments module purge # Load the module for LAVA module use /swbuild/LAVA/LAVA_modules module load LAVA # Source the virtual environment which contains all # the necessary python packages for optimization. # The user is responsible for creating this virtual env source path/to/virtual_env/bin/activate # Set MPI environment variable export MPI_NUM_MEMORY_REGIONS=0 cd $PBS_O_WORKDIR # Run optimization script log_file="run.log" mpiexec -np 8 mbind.x -t 32 python run_pylava.py |& tee -a ${log_file}