Skip to content

Commit afb7d3b

Browse files
committed
fix ubuntu
1 parent f1013f2 commit afb7d3b

13 files changed

+13
-13
lines changed

src/director.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ t0=time()
229229
export JULIA=$(ENV["JULIA"]) \;
230230
export JULIA_PROJECT=$(ENV["JULIA_PROJECT"]) \;
231231
export JULIA_DEPOT_PATH=$(ENV["JULIA_DEPOT_PATH"]) \;
232-
export HOSTNAME=$(ENV["HOSTNAME"]) \;
232+
export HOSTNAME=$(Libc.gethostname()) \;
233233
export LSB_JOBINDEX=$n \;
234234
$cmd \&\> $logfile_scratch/squatter$n.log`
235235
@info string("DIRECTOR: ",pcmd)

test/halffilledtiles/avx-parameters.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const max_tilechannels_per_job=500 # maximum number of input tiles * nchannels
112112
# larger is more efficient with file i/o; smaller is more parallel computation
113113

114114

115-
const which_cluster = [ENV["HOSTNAME"]] # "janelia" or ["hostname1", "hostname2", "hostname3", ...]
115+
const which_cluster = [Libc.gethostname()] # "janelia" or ["hostname1", "hostname2", "hostname3", ...]
116116
const bad_nodes = [] # e.g. ["h09u20"]
117117

118118
const ncores_incluster = 48*32

test/halffilledtiles/cpu-parameters.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const max_tilechannels_per_job=500 # maximum number of input tiles * nchannels
112112
# larger is more efficient with file i/o; smaller is more parallel computation
113113

114114

115-
const which_cluster = [ENV["HOSTNAME"]] # "janelia" or ["hostname1", "hostname2", "hostname3", ...]
115+
const which_cluster = [Libc.gethostname()] # "janelia" or ["hostname1", "hostname2", "hostname3", ...]
116116
const bad_nodes = [] # e.g. ["h09u20"]
117117

118118
const ncores_incluster = 48*32

test/halffilledtiles/hdf5-parameters.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const max_tilechannels_per_job=500 # maximum number of input tiles * nchannels
112112
# larger is more efficient with file i/o; smaller is more parallel computation
113113

114114

115-
const which_cluster = [ENV["HOSTNAME"]] # "janelia" or ["hostname1", "hostname2", "hostname3", ...]
115+
const which_cluster = [Libc.gethostname()] # "janelia" or ["hostname1", "hostname2", "hostname3", ...]
116116
const bad_nodes = [] # e.g. ["h09u20"]
117117

118118
const ncores_incluster = 48*32

test/halffilledtiles/localscratch-parameters.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const max_tilechannels_per_job=500 # maximum number of input tiles * nchannels
112112
# larger is more efficient with file i/o; smaller is more parallel computation
113113

114114

115-
const which_cluster = [ENV["HOSTNAME"]] # "janelia" or ["hostname1", "hostname2", "hostname3", ...]
115+
const which_cluster = [Libc.gethostname()] # "janelia" or ["hostname1", "hostname2", "hostname3", ...]
116116
const bad_nodes = [] # e.g. ["h09u20"]
117117

118118
const ncores_incluster = 48*32

test/hollowcube/keepscratch-parameters.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const max_tilechannels_per_job=500 # maximum number of input tiles * nchannels
112112
# larger is more efficient with file i/o; smaller is more parallel computation
113113

114114

115-
const which_cluster = [ENV["HOSTNAME"]] # "janelia" or ["hostname1", "hostname2", "hostname3", ...]
115+
const which_cluster = [Libc.gethostname()] # "janelia" or ["hostname1", "hostname2", "hostname3", ...]
116116
const bad_nodes = [] # e.g. ["h09u20"]
117117

118118
const ncores_incluster = 48*32

test/hollowcube/linearinterp-onechannel-parameters.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const max_tilechannels_per_job=500 # maximum number of input tiles * nchannels
112112
# larger is more efficient with file i/o; smaller is more parallel computation
113113

114114

115-
const which_cluster = [ENV["HOSTNAME"]] # "janelia" or ["hostname1", "hostname2", "hostname3", ...]
115+
const which_cluster = [Libc.gethostname()] # "janelia" or ["hostname1", "hostname2", "hostname3", ...]
116116
const bad_nodes = [] # e.g. ["h09u20"]
117117

118118
const ncores_incluster = 48*32

test/hollowcube/linearinterp-threechannel-cpu-parameters.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const max_tilechannels_per_job=500 # maximum number of input tiles * nchannels
112112
# larger is more efficient with file i/o; smaller is more parallel computation
113113

114114

115-
const which_cluster = [ENV["HOSTNAME"]] # "janelia" or ["hostname1", "hostname2", "hostname3", ...]
115+
const which_cluster = [Libc.gethostname()] # "janelia" or ["hostname1", "hostname2", "hostname3", ...]
116116
const bad_nodes = [] # e.g. ["h09u20"]
117117

118118
const ncores_incluster = 48*32

test/hollowcube/linearinterp-threechannel-parameters.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const max_tilechannels_per_job=500 # maximum number of input tiles * nchannels
112112
# larger is more efficient with file i/o; smaller is more parallel computation
113113

114114

115-
const which_cluster = [ENV["HOSTNAME"]] # "janelia" or ["hostname1", "hostname2", "hostname3", ...]
115+
const which_cluster = [Libc.gethostname()] # "janelia" or ["hostname1", "hostname2", "hostname3", ...]
116116
const bad_nodes = [] # e.g. ["h09u20"]
117117

118118
const ncores_incluster = 48*32

test/hollowcube/onechannel-hdf5-parameters.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const max_tilechannels_per_job=500 # maximum number of input tiles * nchannels
112112
# larger is more efficient with file i/o; smaller is more parallel computation
113113

114114

115-
const which_cluster = [ENV["HOSTNAME"]] # "janelia" or ["hostname1", "hostname2", "hostname3", ...]
115+
const which_cluster = [Libc.gethostname()] # "janelia" or ["hostname1", "hostname2", "hostname3", ...]
116116
const bad_nodes = [] # e.g. ["h09u20"]
117117

118118
const ncores_incluster = 48*32

test/hollowcube/onechannel-local-parameters.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const max_tilechannels_per_job=500 # maximum number of input tiles * nchannels
112112
# larger is more efficient with file i/o; smaller is more parallel computation
113113

114114

115-
const which_cluster = [ENV["HOSTNAME"]] # "janelia" or ["hostname1", "hostname2", "hostname3", ...]
115+
const which_cluster = [Libc.gethostname()] # "janelia" or ["hostname1", "hostname2", "hostname3", ...]
116116
const bad_nodes = [] # e.g. ["h09u20"]
117117

118118
const ncores_incluster = 48*32

test/hollowcube/threechannel-hdf5-parameters.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const max_tilechannels_per_job=500 # maximum number of input tiles * nchannels
112112
# larger is more efficient with file i/o; smaller is more parallel computation
113113

114114

115-
const which_cluster = [ENV["HOSTNAME"]] # "janelia" or ["hostname1", "hostname2", "hostname3", ...]
115+
const which_cluster = [Libc.gethostname()] # "janelia" or ["hostname1", "hostname2", "hostname3", ...]
116116
const bad_nodes = [] # e.g. ["h09u20"]
117117

118118
const ncores_incluster = 48*32

test/hollowcube/threechannel-local-parameters.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const max_tilechannels_per_job=500 # maximum number of input tiles * nchannels
112112
# larger is more efficient with file i/o; smaller is more parallel computation
113113

114114

115-
const which_cluster = [ENV["HOSTNAME"]] # "janelia" or ["hostname1", "hostname2", "hostname3", ...]
115+
const which_cluster = [Libc.gethostname()] # "janelia" or ["hostname1", "hostname2", "hostname3", ...]
116116
const bad_nodes = [] # e.g. ["h09u20"]
117117

118118
const ncores_incluster = 48*32

0 commit comments

Comments
 (0)