Skip to content

Commit 9e9f662

Browse files
authored
Merge pull request #252 from SouthernMethodistUniversity/remove_personal_work
don't use personal work in apptainer binds
2 parents f4f1e30 + 68e9947 commit 9e9f662

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

containers/classes/stat3341/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ family("R")
110110
always_load('apptainer')
111111
local sif_file = '${IMAGE_LOCATION}/${CONTAINER_NAME}'
112112
113-
local work_dir = os.getenv("WORK")
113+
local work_dir = '/work'
114114
local scratch_dir = os.getenv("SCRATCH")
115115
local home = os.getenv("HOME")
116116
local user_libs = pathJoin(home, 'R/rocker/${COURSE_NUMBER}_${YEAR}_${TERM}_${VERSION}')

containers/code-server/build_container.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ sed 's/^ \{2\}//' > "$MODULE_FILE" << EOL
3535
always_load('singularity')
3636
local sif_file = '/hpc/${CLUSTER}/containers/code-server/code-server_${TAG}.sif'
3737
38-
local work_dir = os.getenv("WORK")
38+
local work_dir = '/work'
3939
local scratch_dir = os.getenv("SCRATCH")
4040
4141
function build_command(app)

containers/r/build_container.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ family("R")
8383
always_load('apptainer')
8484
local sif_file = '/hpc/${CLUSTER}/containers/rocker/${CONTAINER_NAME}'
8585
86-
local work_dir = os.getenv("WORK")
86+
local work_dir = '/work'
8787
local scratch_dir = os.getenv("SCRATCH")
8888
local home = os.getenv("HOME")
8989
local user_libs = pathJoin(home, 'R/rocker/${TAG}')

docs/examples/conda/container/ds.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
load("apptainer")
22

33
local img_name = 'ds_latest_2023_02_10_16_07_16.sif'
4-
local work = os.getenv("WORK")
4+
local work = '/work'
55
local img_directory = 'images'
66
local img_path = pathJoin(work, img_directory, img_name)
77

modules/m3/applications/R/4.2.3.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ family("R")
2222
always_load('apptainer')
2323
local sif_file = '/hpc/m3/containers/rocker/rocker_geospatial_4.2.3.sif'
2424

25-
local work_dir = os.getenv("WORK")
25+
local work_dir = '/work'
2626
local scratch_dir = os.getenv("SCRATCH")
2727
local home = os.getenv("HOME")
2828
local user_libs = pathJoin(home, 'R/rocker/4.2.3')

modules/m3/applications/R/4.3.0.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ family("R")
2121
always_load('apptainer')
2222
local sif_file = '/hpc/m3/containers/rocker/rocker_geospatial_4.3.0.sif'
2323

24-
local work_dir = os.getenv("WORK")
24+
local work_dir = '/work'
2525
local scratch_dir = os.getenv("SCRATCH")
2626
local home = os.getenv("HOME")
2727
local user_libs = pathJoin(home, 'R/rocker/4.3.0')

modules/m3/applications/R/4.3.2.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ family("R")
2222
always_load('apptainer')
2323
local sif_file = '/hpc/m3/containers/rocker/rocker_geospatial_4.3.2.sif'
2424

25-
local work_dir = os.getenv("WORK")
25+
local work_dir = '/work'
2626
local scratch_dir = os.getenv("SCRATCH")
2727
local home = os.getenv("HOME")
2828
local user_libs = pathJoin(home, 'R/rocker/4.3.2')

modules/m3/applications/R/4.4.0.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ family("R")
2222
always_load('apptainer')
2323
local sif_file = '/hpc/m3/containers/rocker/rocker_geospatial_4.4.0.sif'
2424

25-
local work_dir = os.getenv("WORK")
25+
local work_dir = '/work'
2626
local scratch_dir = os.getenv("SCRATCH")
2727
local home = os.getenv("HOME")
2828
local user_libs = pathJoin(home, 'R/rocker/4.4.0')

modules/m3/applications/R/4.4.1.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ family("R")
2222
always_load('apptainer')
2323
local sif_file = '/hpc/m3/containers/rocker/rocker_ml-verse_4.4.1.sif'
2424

25-
local work_dir = os.getenv("WORK")
25+
local work_dir = '/work'
2626
local scratch_dir = os.getenv("SCRATCH")
2727
local home = os.getenv("HOME")
2828
local user_libs = pathJoin(home, 'R/rocker/4.4.1')

0 commit comments

Comments
 (0)