Loading plugins/adhoc_services.d/gekkofs.sh +5 −0 Original line number Diff line number Diff line Loading @@ -9,6 +9,10 @@ if [ -z "$LIBGKFS_HOSTS_FILE" ]; then LIBGKFS_HOSTS_FILE=/tmp/gekkofs/gkfs_hosts.txt fi if [ -z "$GKFS_CLIENT" ]; then GKFS_CLIENT=/home/rnou/iodeps/lib/libgkfs_intercept.so fi if [ "$1" == "start" ]; then echo "Starting GEKKOFS" Loading @@ -26,6 +30,7 @@ if [ "$1" == "start" ]; then srun -N $num_nodes -n $num_nodes --oversubscribe --overlap --cpus-per-task=1 --mem-per-cpu=1 --export=ALL /usr/bin/bash -c "mkdir -p $mountdir; mkdir -p $datadir" srun -N $num_nodes -n $num_nodes --oversubscribe --overlap --cpus-per-task=1 --mem-per-cpu=1 --export=ALL /usr/bin/bash -c "$GKFS_DAEMON --rootdir $datadir --mountdir $mountdir -H $LIBGKFS_HOSTS_FILE" & sleep 4 echo "Started GEKKOFS" elif [ "$1" == "stop" ]; then echo "Stopping GEKKOFS" Loading Loading
plugins/adhoc_services.d/gekkofs.sh +5 −0 Original line number Diff line number Diff line Loading @@ -9,6 +9,10 @@ if [ -z "$LIBGKFS_HOSTS_FILE" ]; then LIBGKFS_HOSTS_FILE=/tmp/gekkofs/gkfs_hosts.txt fi if [ -z "$GKFS_CLIENT" ]; then GKFS_CLIENT=/home/rnou/iodeps/lib/libgkfs_intercept.so fi if [ "$1" == "start" ]; then echo "Starting GEKKOFS" Loading @@ -26,6 +30,7 @@ if [ "$1" == "start" ]; then srun -N $num_nodes -n $num_nodes --oversubscribe --overlap --cpus-per-task=1 --mem-per-cpu=1 --export=ALL /usr/bin/bash -c "mkdir -p $mountdir; mkdir -p $datadir" srun -N $num_nodes -n $num_nodes --oversubscribe --overlap --cpus-per-task=1 --mem-per-cpu=1 --export=ALL /usr/bin/bash -c "$GKFS_DAEMON --rootdir $datadir --mountdir $mountdir -H $LIBGKFS_HOSTS_FILE" & sleep 4 echo "Started GEKKOFS" elif [ "$1" == "stop" ]; then echo "Stopping GEKKOFS" Loading