User Tools

Site Tools


howto:java

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
howto:java [2015/10/23 15:16]
ccrosby
howto:java [2016/06/17 10:47]
dane
Line 41: Line 41:
 <file bash java_test.qsub>​ <file bash java_test.qsub>​
 #!/bin/bash #!/bin/bash
-#PBS -l select=2:​ncpus=8:mpiprocs=8+#PBS -l select=2:​ncpus=24:mpiprocs=24
 #PBS -l walltime=00:​01:​00 #PBS -l walltime=00:​01:​00
-#PBS -q netboot+#PBS -q normal 
 +#PBS -P SHORTNAME
 #PBS -M YOUREMAILADDRESS #PBS -M YOUREMAILADDRESS
 #PBS -m be #PBS -m be
-#PBS -V +#PBS -e /mnt/​lustre/​users/​USERNAME/​java_test/​std_err.txt 
-#PBS -e /lustre/SCRATCH5/​users/​USERNAME/​java_test/​std_err.txt +#PBS -o /mnt/lustre/​users/​USERNAME/​java_test/​std_out.txt
-#PBS -o /lustre/SCRATCH5/​users/​USERNAME/​java_test/​std_out.txt+
 #PBS -N JAVA_TEST #PBS -N JAVA_TEST
-#PBS -mb 
  
-MODULEPATH=/​opt/​gridware/​bioinformatics/​modules:​$MODULEPATH +module add chpc/openmpi/​1.10.3/gcc-5.1.0_java-1.8.0_73
-source /​etc/​profile.d/​modules.sh +
- +
-module add openmpi/openmpi-1.10.0_gcc-4.7.2+
  
 NP=`cat ${PBS_NODEFILE} | wc -l` NP=`cat ${PBS_NODEFILE} | wc -l`
  
-cd /lustre/SCRATCH5/​users/​USERNAME/​java_test+cd /mnt/lustre/​users/​USERNAME/​java_test
 mpirun -np ${NP} -machinefile ${PBS_NODEFILE} java Hello mpirun -np ${NP} -machinefile ${PBS_NODEFILE} java Hello
 </​file>​ </​file>​
/var/www/wiki/data/pages/howto/java.txt · Last modified: 2016/06/17 10:48 by dane