Torque/PBS Job Script Example MPICH

Torque/PBS Job Script Example MPICH Ethernet

#!/bin/sh
 
# Application
#
myapp=./test_mpich
 
# Torque/PBS settings
#
#PBS -l nodes=2:ppn=2
#PBS -N TEST_MPICH
#PBS -m abe
#PBS -o stdout
#PBS -e stderr
 
# MPICH settings
# 
P4_GLOBMEMSIZE=15000000
export P4_GLOBMEMSIZE
export MPICH_PROCESS_GROUP=yes
 
# Module Environment
#
. /etc/profile.d/modules.sh
module purge
module add torque mpiexec
module add mpich/ge/gcc 
 
cd $PBS_O_WORKDIR
mpiexec -n 4 $myapp 

Copyright 2002-2014 ClusterVision BV