Skip to content

Commit bcf0a11

Browse files
Changes to Jenkins as we move to pull request based trigger
1 parent b90d74e commit bcf0a11

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

examples/jenkins.sh

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,26 @@ rm /tigress/alexeys/model_checkpoints/*
44

55
ls ${PWD}
66

7-
module load anaconda
7+
echo "Jenkins test Python3.6"
8+
export PYTHONHASHSEED=0
9+
module load anaconda3
10+
source activate PPPL_dev3
811
module load cudatoolkit/8.0
9-
module load openmpi/intel-17.0/2.1.0/64 intel/17.0/64/17.0.4.196 intel-mkl/2017.3/4/64
1012
module load cudnn/cuda-8.0/6.0
11-
source activate PPPL
12-
13+
module load openmpi/cuda-8.0/intel-17.0/2.1.0/64
14+
module load intel/17.0/64/17.0.4.196
1315
export OMPI_MCA_btl="tcp,self,sm"
1416

1517
echo $SLURM_NODELIST
1618
srun python mpi_learn.py
19+
20+
echo "Jenkins test Python2.7"
21+
module purge
22+
module load anaconda
23+
source activate PPPL
24+
module load cudatoolkit/8.0
25+
module load cudnn/cuda-8.0/6.0
26+
module load openmpi/cuda-8.0/intel-17.0/2.1.0/64
27+
module load intel/17.0/64/17.0.4.196
28+
29+
srun python mpi_learn.py

0 commit comments

Comments
 (0)