#!/bin/bash 
### Job Name 
#PBS -N Skoda
### required runtime
#PBS -l walltime=24:00:00 
### queue for submission 
#PBS -q cpu_a

 
# Merge output and error files 
#PBS -j oe 
 
# request 1 node, 8 cores (max 32 per type-C node) and 4 GPUs (max 4)
#PBS -l select=1:mem=30G:ncpus=1:ompthreads=1
 
### start job in the directory it was submitted from 
cd $PBS_O_WORKDIR 

### run the application
#module load gcc/8.5 cuda/11.7 openmpi/4.1.0-gcc_4.8.5-psm2-cuda11.7
module load openfoam/v2012
# CUDA support in PSM2/OmniPath


# run the application and provide its command line arguments
pisoFoam
