Running PCJ application
PCJ application can be run on different computer systems
Laptop or workstation
java -cp .:PCJ.jar HelloWorldLinux cluster with MPI library installed
mpiexec -hostsfile nodes.unique bash -c 'java -cp PCJ.jar HelloWorld'Linux Cluster with PBS (Protable Batch System)
#!/bin/csh
#PBS -N go
#PBS -l nodes =128: ppn =1
#PBS -l mem =512 mb
#PBS -l walltime =0:10:00
#PBS
module load openmpi # if neccessary
cat $PBS_NODEFILE > nodes.txt
uniq $PBS_NODEFILE > nodes.unique
mpiexec -hostsfile nodes.unique bash -c 'java -d64 -Xnoclassgc -Xrs -cp PCJ.jar HelloWorld'Cray XC40 with SLURM
IBM Power (AIX) with Load Leveler
Last updated