There was an error while loading. Please reload this page.
1 parent c95be59 commit 080cb48Copy full SHA for 080cb48
1 file changed
submit-nextflow.sh
@@ -61,7 +61,7 @@ NEXTFLOW_MODULE_VERSION="stable"
61
# Put the nextflow cache into a unique directory associated with the launch directory.
62
# e.g. /flashscratch/aberger/$HASH/.nextflow where $HASH is the md5sum of the full
63
# path of the directory that nextflow was launched from.
64
-NEXTFLOW_CACHE_DIR_ROOT="/flashscratch/$(whoami)"
+NEXTFLOW_CACHE_DIR_ROOT="/flashscratch/$USER"
65
NEXTFLOW_CACHE_DIR="$NEXTFLOW_CACHE_DIR_ROOT/$(pwd | md5sum | cut -d' ' -f1)/.nextflow"
66
67
# Parse command line arguments
@@ -184,6 +184,7 @@ generate_resubmit_script() {
184
#!/bin/bash
185
# Auto-generated resubmit script
186
# Created: $(date)
187
+# Cache Directory: $NXF_CACHE_DIR
188
# Original command parameters saved for exact resubmission
189
190
RESUBMIT_EOF
0 commit comments