BGQ OpenFOAM
Jump to navigation
Jump to search
Sample script for running OpenFOAM on BGQ
#!/bin/sh # @ job_name = bgsample # @ job_type = bluegene # @ comment = "BGQ Job By Size" # @ error = $(job_name).$(Host).$(jobid).err # @ output = $(job_name).$(Host).$(jobid).out # @ bg_size = 64 # @ wall_clock_limit = 30:00 # @ bg_connectivity = Torus # @ queue # Load OpenFOAM modules module load binutils/2.23 bgqgcc/4.8.1 mpich2/gcc-4.8.1 OpenFOAM # Setup OpenFOAM environment source $SCINET_OPENFOAM/setup_gcc.sh # Launch BGQ jobs using runjob runjob --np 1024 --ranks-per-node=16 --env-all --cwd=$SCRATCH/ : $FOAM_APPBIN/icofoam