# Type of JDL
Type = "Job";

# Type of job
JobType = "MPICH";

# Number of nodes
NodeNumber = 3;

# The executable parameter specifies the executable/command that will be run on the CE
Executable = "MPItest.sh";

# Any arguments that are needed by the executable
Arguments = "MPItest";

# The standard output specified by the executable will be saved to the filename given as the value to the StdOutput parameter
StdOutput = "test.out";

# As for STDOUT but this time for standard error
StdError = "test.err";

# The files to be transferred between the UI and the WN before the job execution
InputSandbox = {"MPItest.sh","MPItest.c"};

# The files to be transferred between the UI and the WN after the job execution
OutputSandbox = {"test.err","test.out","mpiexec.out"};

# Require the MPICH runtime environment installed on the CE and a number of CPUs at least equal to the required number of nodes
Requirements = (other.GlueCEInfoLRMSType == "PBS") && Member("MPICH",other.GlueHostApplicationSoftwareRunTimeEnvironment) && (other.GlueCEInfoTotalCPUs >= 3);
