From 1871f964d7865efe45a871610a75e612156d2851 Mon Sep 17 00:00:00 2001
From: Timothy ODonnell <odonnt02@li03c03.chimera.hpc.mssm.edu>
Date: Thu, 11 Jul 2019 09:59:11 -0400
Subject: [PATCH] fix

---
 .../GENERATE.WITH_HPC_CLUSTER.sh                          | 4 ++--
 .../cluster_submit_script_header.mssm_hpc.lsf             | 8 ++++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/downloads-generation/models_class1_pan_unselected/GENERATE.WITH_HPC_CLUSTER.sh b/downloads-generation/models_class1_pan_unselected/GENERATE.WITH_HPC_CLUSTER.sh
index 0a064dfe..84801026 100755
--- a/downloads-generation/models_class1_pan_unselected/GENERATE.WITH_HPC_CLUSTER.sh
+++ b/downloads-generation/models_class1_pan_unselected/GENERATE.WITH_HPC_CLUSTER.sh
@@ -45,8 +45,8 @@ do
         --verbosity 1 \
         --cluster-parallelism \
         --cluster-submit-command bsub \
-        --cluster-results-workdir ~/mhcflurry-model-training \
-        --cluster-script-prefix-path ./cluster_submit_script_header.mssm_hpc.lsf
+        --cluster-results-workdir ~/mhcflurry-scratch \
+        --cluster-script-prefix-path $SCRIPT_DIR/cluster_submit_script_header.mssm_hpc.lsf
 done
 
 cp $SCRIPT_ABSOLUTE_PATH .
diff --git a/downloads-generation/models_class1_pan_unselected/cluster_submit_script_header.mssm_hpc.lsf b/downloads-generation/models_class1_pan_unselected/cluster_submit_script_header.mssm_hpc.lsf
index d8d9342e..2844b313 100644
--- a/downloads-generation/models_class1_pan_unselected/cluster_submit_script_header.mssm_hpc.lsf
+++ b/downloads-generation/models_class1_pan_unselected/cluster_submit_script_header.mssm_hpc.lsf
@@ -10,10 +10,14 @@
 #BSUB -eo {work_dir}/%J.stderr # error log
 #BSUB -L /bin/bash # Initialize the execution environment
 
-export TMPDIR=/local/JOBS/haplocnv-{case}
-export PATH=$HOME/.conda/envs/py37/bin/:$PATH
+export TMPDIR=/local/JOBS/mhcflurry-{work_item_num}
+export PATH=$HOME/.conda/envs/py36b/bin/:$PATH
 
 set -e
 free -m
+
+module load cuda/10.1.105
+module load cudnn/7.1.1
+
 cd {work_dir}
 
-- 
GitLab