Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
hpc
gekkofs
Commits
33179ba3
Commit
33179ba3
authored
Apr 28, 2022
by
Marc Vef
Browse files
gkfs script: Allow specific srun arguments via config file
parent
af1417c2
Pipeline
#2499
passed with stages
in 30 minutes and 7 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
scripts/run/gkfs
View file @
33179ba3
...
...
@@ -92,7 +92,7 @@ start_daemon() {
NODE_NUM
=
$(
scontrol show
hostname
"
${
node_list
}
"
|
wc
-l
)
fi
# Setting up base srun cmd
srun_cmd
=
"srun --disable-status -N
${
NODE_NUM
}
--ntasks=
${
NODE_NUM
}
--ntasks-per-node=1 --overcommit --contiguous
--cpus-per-task=
${
CPUS_PER_TASK
}
--oversubscribe --mem=0
"
srun_cmd
=
"srun --disable-status -N
${
NODE_NUM
}
--ntasks=
${
NODE_NUM
}
--cpus-per-task=
${
CPUS_PER_TASK
}
${
SRUN_ARGS
}
"
fi
if
[[
${
VERBOSE
}
==
true
]]
;
then
...
...
scripts/run/gkfs.conf
View file @
33179ba3
...
...
@@ -10,12 +10,17 @@ LIBGKFS_HOSTS_FILE=./gkfs_hostfile
# daemon configuration
DAEMON_ROOTDIR
=/
dev
/
shm
/
gkfs_rootdir
DAEMON_MOUNTDIR
=/
dev
/
shm
/
gkfs_mountdir
DAEMON_NUMACTL
=
false
DAEMON_CPUNODEBIND
=
"1"
DAEMON_MEMBIND
=
"1"
# path to daemon pid file; created where the script is run
DAEMON_PID_FILE
=./
gkfs_daemon
.
pid
# additional daemon arguments (see `gkfs_daemon -h`)
DAEMON_ARGS
=
""
# Use Slurm's srun to start the daemons on multiple nodes and set specific srun args
USE_SRUN
=
false
SRUN_ARGS
=
"--ntasks-per-node=1 --overcommit --contiguous --oversubscribe --mem=0"
# use numactl to pin daemon to socket
DAEMON_NUMACTL
=
false
DAEMON_CPUNODEBIND
=
"1"
DAEMON_MEMBIND
=
"1"
# logging
GKFS_DAEMON_LOG_LEVEL
=
info
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment