Skip to content

Commit 080cb48

Browse files
committed
Switch whoami usage to aberger
1 parent c95be59 commit 080cb48

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

submit-nextflow.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ NEXTFLOW_MODULE_VERSION="stable"
6161
# Put the nextflow cache into a unique directory associated with the launch directory.
6262
# e.g. /flashscratch/aberger/$HASH/.nextflow where $HASH is the md5sum of the full
6363
# path of the directory that nextflow was launched from.
64-
NEXTFLOW_CACHE_DIR_ROOT="/flashscratch/$(whoami)"
64+
NEXTFLOW_CACHE_DIR_ROOT="/flashscratch/$USER"
6565
NEXTFLOW_CACHE_DIR="$NEXTFLOW_CACHE_DIR_ROOT/$(pwd | md5sum | cut -d' ' -f1)/.nextflow"
6666

6767
# Parse command line arguments
@@ -184,6 +184,7 @@ generate_resubmit_script() {
184184
#!/bin/bash
185185
# Auto-generated resubmit script
186186
# Created: $(date)
187+
# Cache Directory: $NXF_CACHE_DIR
187188
# Original command parameters saved for exact resubmission
188189
189190
RESUBMIT_EOF

0 commit comments

Comments
 (0)