Skip to content
Snippets Groups Projects

adhoc fs integration

Merged Ramon Nou requested to merge rnou/adhoc_integration into main
@@ -16,7 +16,7 @@ if [ "$1" == "start" ]; then
mountdir=$9
unset SLURM_CPU_BIND SLURM_CPU_BIND_LIST SLURM_CPU_BIND_TYPE SLURM_CPU_BIND_VERBOSE
srun -N $num_nodes -n $num_nodes --oversubscribe --cpus-per-task=1 --mem-per-cpu=1 --export=ALL bash -c "mkdir -p $mountdir; mkdir -p $datadir"
srun -N $num_nodes -n $num_nodes --oversubscribe --cpus-per-task=1 --mem-per-cpu=1 --export=ALL bash -c "gkfs_daemon --rootdir $datadir --mountdir $mountdir" &
srun -N $num_nodes -n $num_nodes --oversubscribe --cpus-per-task=4 --mem-per-cpu=1 --export=ALL bash -c "gkfs_daemon --rootdir $datadir --mountdir $mountdir" &
sleep 4
elif [ "$1" == "stop" ]; then
echo "Stopping GEKKOFS"
@@ -27,7 +27,8 @@ elif [ "$1" == "stop" ]; then
if [ $num_nodes -gt 40 ]; then
exit 0
fi
srun -N $num_nodes -n $num_nodes --oversubscribe --cpus-per-task=1 --mem-per-task=1 pkill -9 gkfs_daemon
unset SLURM_CPU_BIND SLURM_CPU_BIND_LIST SLURM_CPU_BIND_TYPE SLURM_CPU_BIND_VERBOSE
srun -N $num_nodes -n $num_nodes --oversubscribe --cpus-per-task=1 --mem-per-cpu=1 pkill -9 gkfs_daemon
elif [ "$1" == "expand" ]; then
echo "Expand command"
elif [ "$1" == "shrink" ]; then
Loading