From 0e44a3062c973694f21c0aa09d82ce8c56a63498 Mon Sep 17 00:00:00 2001 From: Christos Choutouridis Date: Sat, 4 Jan 2025 19:25:13 +0200 Subject: [PATCH] HW2: RC3 - Batch scripts added --- homework_2/enqueueAll.sh | 15 ++++++++++ homework_2/hpc/Q20/N1P2T4Q20.sh | 28 +++++++++++++++++++ .../hpc/{btN1P4T4Q24.sh => Q20/N1P4T4Q20.sh} | 5 ++-- homework_2/hpc/Q20/N2P4T4Q20.sh | 28 +++++++++++++++++++ homework_2/hpc/Q20/N4P16T4Q20.sh | 28 +++++++++++++++++++ homework_2/hpc/Q20/N4P32T4Q20.sh | 28 +++++++++++++++++++ homework_2/hpc/Q20/N4P4T4Q20.sh | 28 +++++++++++++++++++ homework_2/hpc/Q20/N4P8T4Q20.sh | 28 +++++++++++++++++++ homework_2/hpc/Q23/N1P2T4Q23.sh | 28 +++++++++++++++++++ homework_2/hpc/Q23/N1P4T4Q23.sh | 28 +++++++++++++++++++ homework_2/hpc/Q23/N2P4T4Q23.sh | 28 +++++++++++++++++++ homework_2/hpc/Q23/N4P16T4Q23.sh | 28 +++++++++++++++++++ homework_2/hpc/Q23/N4P32T4Q23.sh | 28 +++++++++++++++++++ homework_2/hpc/Q23/N4P4T4Q23.sh | 28 +++++++++++++++++++ homework_2/hpc/Q23/N4P8T4Q23.sh | 28 +++++++++++++++++++ homework_2/hpc/Q25/N1P2T4Q25.sh | 28 +++++++++++++++++++ homework_2/hpc/Q25/N1P4T4Q25.sh | 28 +++++++++++++++++++ homework_2/hpc/Q25/N2P4T4Q25.sh | 28 +++++++++++++++++++ homework_2/hpc/Q25/N4P16T4Q25.sh | 28 +++++++++++++++++++ homework_2/hpc/Q25/N4P32T4Q25.sh | 28 +++++++++++++++++++ homework_2/hpc/Q25/N4P4T4Q25.sh | 28 +++++++++++++++++++ homework_2/hpc/Q25/N4P8T4Q25.sh | 28 +++++++++++++++++++ homework_2/hpc/Q27/N1P2T4Q27.sh | 28 +++++++++++++++++++ homework_2/hpc/Q27/N1P4T4Q27.sh | 28 +++++++++++++++++++ homework_2/hpc/Q27/N2P4T4Q27.sh | 28 +++++++++++++++++++ homework_2/hpc/Q27/N4P16T4Q27.sh | 28 +++++++++++++++++++ homework_2/hpc/Q27/N4P32T4Q27.sh | 28 +++++++++++++++++++ homework_2/hpc/Q27/N4P4T4Q27.sh | 28 +++++++++++++++++++ homework_2/hpc/Q27/N4P8T4Q27.sh | 28 +++++++++++++++++++ 29 files changed, 773 insertions(+), 3 deletions(-) create mode 100755 homework_2/enqueueAll.sh create mode 100644 homework_2/hpc/Q20/N1P2T4Q20.sh rename homework_2/hpc/{btN1P4T4Q24.sh => Q20/N1P4T4Q20.sh} (85%) create mode 100644 homework_2/hpc/Q20/N2P4T4Q20.sh create mode 100644 homework_2/hpc/Q20/N4P16T4Q20.sh create mode 100644 homework_2/hpc/Q20/N4P32T4Q20.sh create mode 100644 homework_2/hpc/Q20/N4P4T4Q20.sh create mode 100644 homework_2/hpc/Q20/N4P8T4Q20.sh create mode 100644 homework_2/hpc/Q23/N1P2T4Q23.sh create mode 100644 homework_2/hpc/Q23/N1P4T4Q23.sh create mode 100644 homework_2/hpc/Q23/N2P4T4Q23.sh create mode 100644 homework_2/hpc/Q23/N4P16T4Q23.sh create mode 100644 homework_2/hpc/Q23/N4P32T4Q23.sh create mode 100644 homework_2/hpc/Q23/N4P4T4Q23.sh create mode 100644 homework_2/hpc/Q23/N4P8T4Q23.sh create mode 100644 homework_2/hpc/Q25/N1P2T4Q25.sh create mode 100644 homework_2/hpc/Q25/N1P4T4Q25.sh create mode 100644 homework_2/hpc/Q25/N2P4T4Q25.sh create mode 100644 homework_2/hpc/Q25/N4P16T4Q25.sh create mode 100644 homework_2/hpc/Q25/N4P32T4Q25.sh create mode 100644 homework_2/hpc/Q25/N4P4T4Q25.sh create mode 100644 homework_2/hpc/Q25/N4P8T4Q25.sh create mode 100644 homework_2/hpc/Q27/N1P2T4Q27.sh create mode 100644 homework_2/hpc/Q27/N1P4T4Q27.sh create mode 100644 homework_2/hpc/Q27/N2P4T4Q27.sh create mode 100644 homework_2/hpc/Q27/N4P16T4Q27.sh create mode 100644 homework_2/hpc/Q27/N4P32T4Q27.sh create mode 100644 homework_2/hpc/Q27/N4P4T4Q27.sh create mode 100644 homework_2/hpc/Q27/N4P8T4Q27.sh diff --git a/homework_2/enqueueAll.sh b/homework_2/enqueueAll.sh new file mode 100755 index 0000000..4dc9768 --- /dev/null +++ b/homework_2/enqueueAll.sh @@ -0,0 +1,15 @@ +#! /usr/bin/env bash + +if [[ $# -lt 2 ]]; then + echo "Error: You must pass the directory with the scripts and partition" + echo "you want to run to " + echo "example $ enqueueAll.sh ./hpc/Q23 batch" + echo "example $ enqueueAll.sh ./hpc/Q20 rome" + exit 1; +fi + +# Enqueue +for file in $(ls $1); do + echo "sbatch -p $2 --qos=small $file"; + eval "sbatch -p $2 --qos=small $file"; +done diff --git a/homework_2/hpc/Q20/N1P2T4Q20.sh b/homework_2/hpc/Q20/N1P2T4Q20.sh new file mode 100644 index 0000000..410034b --- /dev/null +++ b/homework_2/hpc/Q20/N1P2T4Q20.sh @@ -0,0 +1,28 @@ +#! /usr/bin/env bash + +#SBATCH --nodes=1 +#SBATCH --ntasks-per-node=2 +#SBATCH --cpus-per-task=4 +#SBATCH --time=1:00 + +# Use this as following +# $> sbatch -p batch|rome +# +# NOTE: +# First compile in aristotle with +# $> module load gcc/9.2.0 openmpi/4.0.3 +# $> make -j hpc-build +# + +module load gcc/9.2.0 openmpi/4.0.3 +# Note: +# The above versions are matching w/ my system's +# versions, thus making compiling/debugging easier. + +# Suppress unused UCX_ROOT warning +export UCX_WARN_UNUSED_ENV_VARS=n + +# Suppress CUDA-aware support is disabled warning +export OMPI_MCA_opal_warn_on_missing_libcuda=0 + +srun ./out/distbitonic -q 20 --perf --validation \ No newline at end of file diff --git a/homework_2/hpc/btN1P4T4Q24.sh b/homework_2/hpc/Q20/N1P4T4Q20.sh similarity index 85% rename from homework_2/hpc/btN1P4T4Q24.sh rename to homework_2/hpc/Q20/N1P4T4Q20.sh index 1cdbc86..c0f4eab 100644 --- a/homework_2/hpc/btN1P4T4Q24.sh +++ b/homework_2/hpc/Q20/N1P4T4Q20.sh @@ -1,13 +1,12 @@ #! /usr/bin/env bash -#SBATCH --partition=batch #SBATCH --nodes=1 #SBATCH --ntasks-per-node=4 #SBATCH --cpus-per-task=4 #SBATCH --time=1:00 # Use this as following -# $> sbatch +# $> sbatch -p batch|rome # # NOTE: # First compile in aristotle with @@ -26,4 +25,4 @@ export UCX_WARN_UNUSED_ENV_VARS=n # Suppress CUDA-aware support is disabled warning export OMPI_MCA_opal_warn_on_missing_libcuda=0 -srun ./out/distbitonic -q 24 --perf --validation \ No newline at end of file +srun ./out/distbitonic -q 20 --perf --validation \ No newline at end of file diff --git a/homework_2/hpc/Q20/N2P4T4Q20.sh b/homework_2/hpc/Q20/N2P4T4Q20.sh new file mode 100644 index 0000000..f3567bf --- /dev/null +++ b/homework_2/hpc/Q20/N2P4T4Q20.sh @@ -0,0 +1,28 @@ +#! /usr/bin/env bash + +#SBATCH --nodes=2 +#SBATCH --ntasks-per-node=4 +#SBATCH --cpus-per-task=4 +#SBATCH --time=2:00 + +# Use this as following +# $> sbatch -p batch|rome +# +# NOTE: +# First compile in aristotle with +# $> module load gcc/9.2.0 openmpi/4.0.3 +# $> make -j hpc-build +# + +module load gcc/9.2.0 openmpi/4.0.3 +# Note: +# The above versions are matching w/ my system's +# versions, thus making compiling/debugging easier. + +# Suppress unused UCX_ROOT warning +export UCX_WARN_UNUSED_ENV_VARS=n + +# Suppress CUDA-aware support is disabled warning +export OMPI_MCA_opal_warn_on_missing_libcuda=0 + +srun ./out/distbitonic -q 20 --perf --validation \ No newline at end of file diff --git a/homework_2/hpc/Q20/N4P16T4Q20.sh b/homework_2/hpc/Q20/N4P16T4Q20.sh new file mode 100644 index 0000000..6cd2d77 --- /dev/null +++ b/homework_2/hpc/Q20/N4P16T4Q20.sh @@ -0,0 +1,28 @@ +#! /usr/bin/env bash + +#SBATCH --nodes=4 +#SBATCH --ntasks-per-node=16 +#SBATCH --cpus-per-task=4 +#SBATCH --time=5:00 + +# Use this as following +# $> sbatch -p batch|rome +# +# NOTE: +# First compile in aristotle with +# $> module load gcc/9.2.0 openmpi/4.0.3 +# $> make -j hpc-build +# + +module load gcc/9.2.0 openmpi/4.0.3 +# Note: +# The above versions are matching w/ my system's +# versions, thus making compiling/debugging easier. + +# Suppress unused UCX_ROOT warning +export UCX_WARN_UNUSED_ENV_VARS=n + +# Suppress CUDA-aware support is disabled warning +export OMPI_MCA_opal_warn_on_missing_libcuda=0 + +srun ./out/distbitonic -q 20 --perf --validation \ No newline at end of file diff --git a/homework_2/hpc/Q20/N4P32T4Q20.sh b/homework_2/hpc/Q20/N4P32T4Q20.sh new file mode 100644 index 0000000..d5b79a5 --- /dev/null +++ b/homework_2/hpc/Q20/N4P32T4Q20.sh @@ -0,0 +1,28 @@ +#! /usr/bin/env bash + +#SBATCH --nodes=4 +#SBATCH --ntasks-per-node=32 +#SBATCH --cpus-per-task=4 +#SBATCH --time=5:00 + +# Use this as following +# $> sbatch -p batch|rome +# +# NOTE: +# First compile in aristotle with +# $> module load gcc/9.2.0 openmpi/4.0.3 +# $> make -j hpc-build +# + +module load gcc/9.2.0 openmpi/4.0.3 +# Note: +# The above versions are matching w/ my system's +# versions, thus making compiling/debugging easier. + +# Suppress unused UCX_ROOT warning +export UCX_WARN_UNUSED_ENV_VARS=n + +# Suppress CUDA-aware support is disabled warning +export OMPI_MCA_opal_warn_on_missing_libcuda=0 + +srun ./out/distbitonic -q 20 --perf --validation \ No newline at end of file diff --git a/homework_2/hpc/Q20/N4P4T4Q20.sh b/homework_2/hpc/Q20/N4P4T4Q20.sh new file mode 100644 index 0000000..f68d0a3 --- /dev/null +++ b/homework_2/hpc/Q20/N4P4T4Q20.sh @@ -0,0 +1,28 @@ +#! /usr/bin/env bash + +#SBATCH --nodes=4 +#SBATCH --ntasks-per-node=4 +#SBATCH --cpus-per-task=4 +#SBATCH --time=2:00 + +# Use this as following +# $> sbatch -p batch|rome +# +# NOTE: +# First compile in aristotle with +# $> module load gcc/9.2.0 openmpi/4.0.3 +# $> make -j hpc-build +# + +module load gcc/9.2.0 openmpi/4.0.3 +# Note: +# The above versions are matching w/ my system's +# versions, thus making compiling/debugging easier. + +# Suppress unused UCX_ROOT warning +export UCX_WARN_UNUSED_ENV_VARS=n + +# Suppress CUDA-aware support is disabled warning +export OMPI_MCA_opal_warn_on_missing_libcuda=0 + +srun ./out/distbitonic -q 20 --perf --validation \ No newline at end of file diff --git a/homework_2/hpc/Q20/N4P8T4Q20.sh b/homework_2/hpc/Q20/N4P8T4Q20.sh new file mode 100644 index 0000000..1c9b395 --- /dev/null +++ b/homework_2/hpc/Q20/N4P8T4Q20.sh @@ -0,0 +1,28 @@ +#! /usr/bin/env bash + +#SBATCH --nodes=4 +#SBATCH --ntasks-per-node=8 +#SBATCH --cpus-per-task=4 +#SBATCH --time=2:00 + +# Use this as following +# $> sbatch -p batch|rome +# +# NOTE: +# First compile in aristotle with +# $> module load gcc/9.2.0 openmpi/4.0.3 +# $> make -j hpc-build +# + +module load gcc/9.2.0 openmpi/4.0.3 +# Note: +# The above versions are matching w/ my system's +# versions, thus making compiling/debugging easier. + +# Suppress unused UCX_ROOT warning +export UCX_WARN_UNUSED_ENV_VARS=n + +# Suppress CUDA-aware support is disabled warning +export OMPI_MCA_opal_warn_on_missing_libcuda=0 + +srun ./out/distbitonic -q 20 --perf --validation \ No newline at end of file diff --git a/homework_2/hpc/Q23/N1P2T4Q23.sh b/homework_2/hpc/Q23/N1P2T4Q23.sh new file mode 100644 index 0000000..219eed4 --- /dev/null +++ b/homework_2/hpc/Q23/N1P2T4Q23.sh @@ -0,0 +1,28 @@ +#! /usr/bin/env bash + +#SBATCH --nodes=1 +#SBATCH --ntasks-per-node=2 +#SBATCH --cpus-per-task=4 +#SBATCH --time=1:00 + +# Use this as following +# $> sbatch -p batch|rome +# +# NOTE: +# First compile in aristotle with +# $> module load gcc/9.2.0 openmpi/4.0.3 +# $> make -j hpc-build +# + +module load gcc/9.2.0 openmpi/4.0.3 +# Note: +# The above versions are matching w/ my system's +# versions, thus making compiling/debugging easier. + +# Suppress unused UCX_ROOT warning +export UCX_WARN_UNUSED_ENV_VARS=n + +# Suppress CUDA-aware support is disabled warning +export OMPI_MCA_opal_warn_on_missing_libcuda=0 + +srun ./out/distbitonic -q 23 --perf --validation \ No newline at end of file diff --git a/homework_2/hpc/Q23/N1P4T4Q23.sh b/homework_2/hpc/Q23/N1P4T4Q23.sh new file mode 100644 index 0000000..c448aea --- /dev/null +++ b/homework_2/hpc/Q23/N1P4T4Q23.sh @@ -0,0 +1,28 @@ +#! /usr/bin/env bash + +#SBATCH --nodes=1 +#SBATCH --ntasks-per-node=4 +#SBATCH --cpus-per-task=4 +#SBATCH --time=1:00 + +# Use this as following +# $> sbatch -p batch|rome +# +# NOTE: +# First compile in aristotle with +# $> module load gcc/9.2.0 openmpi/4.0.3 +# $> make -j hpc-build +# + +module load gcc/9.2.0 openmpi/4.0.3 +# Note: +# The above versions are matching w/ my system's +# versions, thus making compiling/debugging easier. + +# Suppress unused UCX_ROOT warning +export UCX_WARN_UNUSED_ENV_VARS=n + +# Suppress CUDA-aware support is disabled warning +export OMPI_MCA_opal_warn_on_missing_libcuda=0 + +srun ./out/distbitonic -q 23 --perf --validation \ No newline at end of file diff --git a/homework_2/hpc/Q23/N2P4T4Q23.sh b/homework_2/hpc/Q23/N2P4T4Q23.sh new file mode 100644 index 0000000..beda60b --- /dev/null +++ b/homework_2/hpc/Q23/N2P4T4Q23.sh @@ -0,0 +1,28 @@ +#! /usr/bin/env bash + +#SBATCH --nodes=2 +#SBATCH --ntasks-per-node=4 +#SBATCH --cpus-per-task=4 +#SBATCH --time=2:00 + +# Use this as following +# $> sbatch -p batch|rome +# +# NOTE: +# First compile in aristotle with +# $> module load gcc/9.2.0 openmpi/4.0.3 +# $> make -j hpc-build +# + +module load gcc/9.2.0 openmpi/4.0.3 +# Note: +# The above versions are matching w/ my system's +# versions, thus making compiling/debugging easier. + +# Suppress unused UCX_ROOT warning +export UCX_WARN_UNUSED_ENV_VARS=n + +# Suppress CUDA-aware support is disabled warning +export OMPI_MCA_opal_warn_on_missing_libcuda=0 + +srun ./out/distbitonic -q 23 --perf --validation \ No newline at end of file diff --git a/homework_2/hpc/Q23/N4P16T4Q23.sh b/homework_2/hpc/Q23/N4P16T4Q23.sh new file mode 100644 index 0000000..7a1f843 --- /dev/null +++ b/homework_2/hpc/Q23/N4P16T4Q23.sh @@ -0,0 +1,28 @@ +#! /usr/bin/env bash + +#SBATCH --nodes=4 +#SBATCH --ntasks-per-node=16 +#SBATCH --cpus-per-task=4 +#SBATCH --time=5:00 + +# Use this as following +# $> sbatch -p batch|rome +# +# NOTE: +# First compile in aristotle with +# $> module load gcc/9.2.0 openmpi/4.0.3 +# $> make -j hpc-build +# + +module load gcc/9.2.0 openmpi/4.0.3 +# Note: +# The above versions are matching w/ my system's +# versions, thus making compiling/debugging easier. + +# Suppress unused UCX_ROOT warning +export UCX_WARN_UNUSED_ENV_VARS=n + +# Suppress CUDA-aware support is disabled warning +export OMPI_MCA_opal_warn_on_missing_libcuda=0 + +srun ./out/distbitonic -q 23 --perf --validation \ No newline at end of file diff --git a/homework_2/hpc/Q23/N4P32T4Q23.sh b/homework_2/hpc/Q23/N4P32T4Q23.sh new file mode 100644 index 0000000..e984005 --- /dev/null +++ b/homework_2/hpc/Q23/N4P32T4Q23.sh @@ -0,0 +1,28 @@ +#! /usr/bin/env bash + +#SBATCH --nodes=4 +#SBATCH --ntasks-per-node=32 +#SBATCH --cpus-per-task=4 +#SBATCH --time=5:00 + +# Use this as following +# $> sbatch -p batch|rome +# +# NOTE: +# First compile in aristotle with +# $> module load gcc/9.2.0 openmpi/4.0.3 +# $> make -j hpc-build +# + +module load gcc/9.2.0 openmpi/4.0.3 +# Note: +# The above versions are matching w/ my system's +# versions, thus making compiling/debugging easier. + +# Suppress unused UCX_ROOT warning +export UCX_WARN_UNUSED_ENV_VARS=n + +# Suppress CUDA-aware support is disabled warning +export OMPI_MCA_opal_warn_on_missing_libcuda=0 + +srun ./out/distbitonic -q 23 --perf --validation \ No newline at end of file diff --git a/homework_2/hpc/Q23/N4P4T4Q23.sh b/homework_2/hpc/Q23/N4P4T4Q23.sh new file mode 100644 index 0000000..b5a3bb6 --- /dev/null +++ b/homework_2/hpc/Q23/N4P4T4Q23.sh @@ -0,0 +1,28 @@ +#! /usr/bin/env bash + +#SBATCH --nodes=4 +#SBATCH --ntasks-per-node=4 +#SBATCH --cpus-per-task=4 +#SBATCH --time=2:00 + +# Use this as following +# $> sbatch -p batch|rome +# +# NOTE: +# First compile in aristotle with +# $> module load gcc/9.2.0 openmpi/4.0.3 +# $> make -j hpc-build +# + +module load gcc/9.2.0 openmpi/4.0.3 +# Note: +# The above versions are matching w/ my system's +# versions, thus making compiling/debugging easier. + +# Suppress unused UCX_ROOT warning +export UCX_WARN_UNUSED_ENV_VARS=n + +# Suppress CUDA-aware support is disabled warning +export OMPI_MCA_opal_warn_on_missing_libcuda=0 + +srun ./out/distbitonic -q 23 --perf --validation \ No newline at end of file diff --git a/homework_2/hpc/Q23/N4P8T4Q23.sh b/homework_2/hpc/Q23/N4P8T4Q23.sh new file mode 100644 index 0000000..9d25cfc --- /dev/null +++ b/homework_2/hpc/Q23/N4P8T4Q23.sh @@ -0,0 +1,28 @@ +#! /usr/bin/env bash + +#SBATCH --nodes=4 +#SBATCH --ntasks-per-node=8 +#SBATCH --cpus-per-task=4 +#SBATCH --time=2:00 + +# Use this as following +# $> sbatch -p batch|rome +# +# NOTE: +# First compile in aristotle with +# $> module load gcc/9.2.0 openmpi/4.0.3 +# $> make -j hpc-build +# + +module load gcc/9.2.0 openmpi/4.0.3 +# Note: +# The above versions are matching w/ my system's +# versions, thus making compiling/debugging easier. + +# Suppress unused UCX_ROOT warning +export UCX_WARN_UNUSED_ENV_VARS=n + +# Suppress CUDA-aware support is disabled warning +export OMPI_MCA_opal_warn_on_missing_libcuda=0 + +srun ./out/distbitonic -q 23 --perf --validation \ No newline at end of file diff --git a/homework_2/hpc/Q25/N1P2T4Q25.sh b/homework_2/hpc/Q25/N1P2T4Q25.sh new file mode 100644 index 0000000..6814538 --- /dev/null +++ b/homework_2/hpc/Q25/N1P2T4Q25.sh @@ -0,0 +1,28 @@ +#! /usr/bin/env bash + +#SBATCH --nodes=1 +#SBATCH --ntasks-per-node=2 +#SBATCH --cpus-per-task=4 +#SBATCH --time=1:00 + +# Use this as following +# $> sbatch -p batch|rome +# +# NOTE: +# First compile in aristotle with +# $> module load gcc/9.2.0 openmpi/4.0.3 +# $> make -j hpc-build +# + +module load gcc/9.2.0 openmpi/4.0.3 +# Note: +# The above versions are matching w/ my system's +# versions, thus making compiling/debugging easier. + +# Suppress unused UCX_ROOT warning +export UCX_WARN_UNUSED_ENV_VARS=n + +# Suppress CUDA-aware support is disabled warning +export OMPI_MCA_opal_warn_on_missing_libcuda=0 + +srun ./out/distbitonic -q 25 --perf --validation \ No newline at end of file diff --git a/homework_2/hpc/Q25/N1P4T4Q25.sh b/homework_2/hpc/Q25/N1P4T4Q25.sh new file mode 100644 index 0000000..0fa3460 --- /dev/null +++ b/homework_2/hpc/Q25/N1P4T4Q25.sh @@ -0,0 +1,28 @@ +#! /usr/bin/env bash + +#SBATCH --nodes=1 +#SBATCH --ntasks-per-node=4 +#SBATCH --cpus-per-task=4 +#SBATCH --time=1:00 + +# Use this as following +# $> sbatch -p batch|rome +# +# NOTE: +# First compile in aristotle with +# $> module load gcc/9.2.0 openmpi/4.0.3 +# $> make -j hpc-build +# + +module load gcc/9.2.0 openmpi/4.0.3 +# Note: +# The above versions are matching w/ my system's +# versions, thus making compiling/debugging easier. + +# Suppress unused UCX_ROOT warning +export UCX_WARN_UNUSED_ENV_VARS=n + +# Suppress CUDA-aware support is disabled warning +export OMPI_MCA_opal_warn_on_missing_libcuda=0 + +srun ./out/distbitonic -q 25 --perf --validation \ No newline at end of file diff --git a/homework_2/hpc/Q25/N2P4T4Q25.sh b/homework_2/hpc/Q25/N2P4T4Q25.sh new file mode 100644 index 0000000..d3909c3 --- /dev/null +++ b/homework_2/hpc/Q25/N2P4T4Q25.sh @@ -0,0 +1,28 @@ +#! /usr/bin/env bash + +#SBATCH --nodes=2 +#SBATCH --ntasks-per-node=4 +#SBATCH --cpus-per-task=4 +#SBATCH --time=2:00 + +# Use this as following +# $> sbatch -p batch|rome +# +# NOTE: +# First compile in aristotle with +# $> module load gcc/9.2.0 openmpi/4.0.3 +# $> make -j hpc-build +# + +module load gcc/9.2.0 openmpi/4.0.3 +# Note: +# The above versions are matching w/ my system's +# versions, thus making compiling/debugging easier. + +# Suppress unused UCX_ROOT warning +export UCX_WARN_UNUSED_ENV_VARS=n + +# Suppress CUDA-aware support is disabled warning +export OMPI_MCA_opal_warn_on_missing_libcuda=0 + +srun ./out/distbitonic -q 25 --perf --validation \ No newline at end of file diff --git a/homework_2/hpc/Q25/N4P16T4Q25.sh b/homework_2/hpc/Q25/N4P16T4Q25.sh new file mode 100644 index 0000000..144e0b2 --- /dev/null +++ b/homework_2/hpc/Q25/N4P16T4Q25.sh @@ -0,0 +1,28 @@ +#! /usr/bin/env bash + +#SBATCH --nodes=4 +#SBATCH --ntasks-per-node=16 +#SBATCH --cpus-per-task=4 +#SBATCH --time=5:00 + +# Use this as following +# $> sbatch -p batch|rome +# +# NOTE: +# First compile in aristotle with +# $> module load gcc/9.2.0 openmpi/4.0.3 +# $> make -j hpc-build +# + +module load gcc/9.2.0 openmpi/4.0.3 +# Note: +# The above versions are matching w/ my system's +# versions, thus making compiling/debugging easier. + +# Suppress unused UCX_ROOT warning +export UCX_WARN_UNUSED_ENV_VARS=n + +# Suppress CUDA-aware support is disabled warning +export OMPI_MCA_opal_warn_on_missing_libcuda=0 + +srun ./out/distbitonic -q 25 --perf --validation \ No newline at end of file diff --git a/homework_2/hpc/Q25/N4P32T4Q25.sh b/homework_2/hpc/Q25/N4P32T4Q25.sh new file mode 100644 index 0000000..609b0d6 --- /dev/null +++ b/homework_2/hpc/Q25/N4P32T4Q25.sh @@ -0,0 +1,28 @@ +#! /usr/bin/env bash + +#SBATCH --nodes=4 +#SBATCH --ntasks-per-node=32 +#SBATCH --cpus-per-task=4 +#SBATCH --time=5:00 + +# Use this as following +# $> sbatch -p batch|rome +# +# NOTE: +# First compile in aristotle with +# $> module load gcc/9.2.0 openmpi/4.0.3 +# $> make -j hpc-build +# + +module load gcc/9.2.0 openmpi/4.0.3 +# Note: +# The above versions are matching w/ my system's +# versions, thus making compiling/debugging easier. + +# Suppress unused UCX_ROOT warning +export UCX_WARN_UNUSED_ENV_VARS=n + +# Suppress CUDA-aware support is disabled warning +export OMPI_MCA_opal_warn_on_missing_libcuda=0 + +srun ./out/distbitonic -q 25 --perf --validation \ No newline at end of file diff --git a/homework_2/hpc/Q25/N4P4T4Q25.sh b/homework_2/hpc/Q25/N4P4T4Q25.sh new file mode 100644 index 0000000..d98ee43 --- /dev/null +++ b/homework_2/hpc/Q25/N4P4T4Q25.sh @@ -0,0 +1,28 @@ +#! /usr/bin/env bash + +#SBATCH --nodes=4 +#SBATCH --ntasks-per-node=4 +#SBATCH --cpus-per-task=4 +#SBATCH --time=2:00 + +# Use this as following +# $> sbatch -p batch|rome +# +# NOTE: +# First compile in aristotle with +# $> module load gcc/9.2.0 openmpi/4.0.3 +# $> make -j hpc-build +# + +module load gcc/9.2.0 openmpi/4.0.3 +# Note: +# The above versions are matching w/ my system's +# versions, thus making compiling/debugging easier. + +# Suppress unused UCX_ROOT warning +export UCX_WARN_UNUSED_ENV_VARS=n + +# Suppress CUDA-aware support is disabled warning +export OMPI_MCA_opal_warn_on_missing_libcuda=0 + +srun ./out/distbitonic -q 25 --perf --validation \ No newline at end of file diff --git a/homework_2/hpc/Q25/N4P8T4Q25.sh b/homework_2/hpc/Q25/N4P8T4Q25.sh new file mode 100644 index 0000000..a8b7e95 --- /dev/null +++ b/homework_2/hpc/Q25/N4P8T4Q25.sh @@ -0,0 +1,28 @@ +#! /usr/bin/env bash + +#SBATCH --nodes=4 +#SBATCH --ntasks-per-node=8 +#SBATCH --cpus-per-task=4 +#SBATCH --time=2:00 + +# Use this as following +# $> sbatch -p batch|rome +# +# NOTE: +# First compile in aristotle with +# $> module load gcc/9.2.0 openmpi/4.0.3 +# $> make -j hpc-build +# + +module load gcc/9.2.0 openmpi/4.0.3 +# Note: +# The above versions are matching w/ my system's +# versions, thus making compiling/debugging easier. + +# Suppress unused UCX_ROOT warning +export UCX_WARN_UNUSED_ENV_VARS=n + +# Suppress CUDA-aware support is disabled warning +export OMPI_MCA_opal_warn_on_missing_libcuda=0 + +srun ./out/distbitonic -q 25 --perf --validation \ No newline at end of file diff --git a/homework_2/hpc/Q27/N1P2T4Q27.sh b/homework_2/hpc/Q27/N1P2T4Q27.sh new file mode 100644 index 0000000..3d53fd1 --- /dev/null +++ b/homework_2/hpc/Q27/N1P2T4Q27.sh @@ -0,0 +1,28 @@ +#! /usr/bin/env bash + +#SBATCH --nodes=1 +#SBATCH --ntasks-per-node=2 +#SBATCH --cpus-per-task=4 +#SBATCH --time=1:00 + +# Use this as following +# $> sbatch -p batch|rome +# +# NOTE: +# First compile in aristotle with +# $> module load gcc/9.2.0 openmpi/4.0.3 +# $> make -j hpc-build +# + +module load gcc/9.2.0 openmpi/4.0.3 +# Note: +# The above versions are matching w/ my system's +# versions, thus making compiling/debugging easier. + +# Suppress unused UCX_ROOT warning +export UCX_WARN_UNUSED_ENV_VARS=n + +# Suppress CUDA-aware support is disabled warning +export OMPI_MCA_opal_warn_on_missing_libcuda=0 + +srun ./out/distbitonic -q 27 --perf --validation \ No newline at end of file diff --git a/homework_2/hpc/Q27/N1P4T4Q27.sh b/homework_2/hpc/Q27/N1P4T4Q27.sh new file mode 100644 index 0000000..68e690d --- /dev/null +++ b/homework_2/hpc/Q27/N1P4T4Q27.sh @@ -0,0 +1,28 @@ +#! /usr/bin/env bash + +#SBATCH --nodes=1 +#SBATCH --ntasks-per-node=4 +#SBATCH --cpus-per-task=4 +#SBATCH --time=1:00 + +# Use this as following +# $> sbatch -p batch|rome +# +# NOTE: +# First compile in aristotle with +# $> module load gcc/9.2.0 openmpi/4.0.3 +# $> make -j hpc-build +# + +module load gcc/9.2.0 openmpi/4.0.3 +# Note: +# The above versions are matching w/ my system's +# versions, thus making compiling/debugging easier. + +# Suppress unused UCX_ROOT warning +export UCX_WARN_UNUSED_ENV_VARS=n + +# Suppress CUDA-aware support is disabled warning +export OMPI_MCA_opal_warn_on_missing_libcuda=0 + +srun ./out/distbitonic -q 27 --perf --validation \ No newline at end of file diff --git a/homework_2/hpc/Q27/N2P4T4Q27.sh b/homework_2/hpc/Q27/N2P4T4Q27.sh new file mode 100644 index 0000000..edf2ef9 --- /dev/null +++ b/homework_2/hpc/Q27/N2P4T4Q27.sh @@ -0,0 +1,28 @@ +#! /usr/bin/env bash + +#SBATCH --nodes=2 +#SBATCH --ntasks-per-node=4 +#SBATCH --cpus-per-task=4 +#SBATCH --time=2:00 + +# Use this as following +# $> sbatch -p batch|rome +# +# NOTE: +# First compile in aristotle with +# $> module load gcc/9.2.0 openmpi/4.0.3 +# $> make -j hpc-build +# + +module load gcc/9.2.0 openmpi/4.0.3 +# Note: +# The above versions are matching w/ my system's +# versions, thus making compiling/debugging easier. + +# Suppress unused UCX_ROOT warning +export UCX_WARN_UNUSED_ENV_VARS=n + +# Suppress CUDA-aware support is disabled warning +export OMPI_MCA_opal_warn_on_missing_libcuda=0 + +srun ./out/distbitonic -q 27 --perf --validation \ No newline at end of file diff --git a/homework_2/hpc/Q27/N4P16T4Q27.sh b/homework_2/hpc/Q27/N4P16T4Q27.sh new file mode 100644 index 0000000..3a636f5 --- /dev/null +++ b/homework_2/hpc/Q27/N4P16T4Q27.sh @@ -0,0 +1,28 @@ +#! /usr/bin/env bash + +#SBATCH --nodes=4 +#SBATCH --ntasks-per-node=16 +#SBATCH --cpus-per-task=4 +#SBATCH --time=5:00 + +# Use this as following +# $> sbatch -p batch|rome +# +# NOTE: +# First compile in aristotle with +# $> module load gcc/9.2.0 openmpi/4.0.3 +# $> make -j hpc-build +# + +module load gcc/9.2.0 openmpi/4.0.3 +# Note: +# The above versions are matching w/ my system's +# versions, thus making compiling/debugging easier. + +# Suppress unused UCX_ROOT warning +export UCX_WARN_UNUSED_ENV_VARS=n + +# Suppress CUDA-aware support is disabled warning +export OMPI_MCA_opal_warn_on_missing_libcuda=0 + +srun ./out/distbitonic -q 27 --perf --validation \ No newline at end of file diff --git a/homework_2/hpc/Q27/N4P32T4Q27.sh b/homework_2/hpc/Q27/N4P32T4Q27.sh new file mode 100644 index 0000000..e2f7c92 --- /dev/null +++ b/homework_2/hpc/Q27/N4P32T4Q27.sh @@ -0,0 +1,28 @@ +#! /usr/bin/env bash + +#SBATCH --nodes=4 +#SBATCH --ntasks-per-node=32 +#SBATCH --cpus-per-task=4 +#SBATCH --time=5:00 + +# Use this as following +# $> sbatch -p batch|rome +# +# NOTE: +# First compile in aristotle with +# $> module load gcc/9.2.0 openmpi/4.0.3 +# $> make -j hpc-build +# + +module load gcc/9.2.0 openmpi/4.0.3 +# Note: +# The above versions are matching w/ my system's +# versions, thus making compiling/debugging easier. + +# Suppress unused UCX_ROOT warning +export UCX_WARN_UNUSED_ENV_VARS=n + +# Suppress CUDA-aware support is disabled warning +export OMPI_MCA_opal_warn_on_missing_libcuda=0 + +srun ./out/distbitonic -q 27 --perf --validation \ No newline at end of file diff --git a/homework_2/hpc/Q27/N4P4T4Q27.sh b/homework_2/hpc/Q27/N4P4T4Q27.sh new file mode 100644 index 0000000..2ed2d3e --- /dev/null +++ b/homework_2/hpc/Q27/N4P4T4Q27.sh @@ -0,0 +1,28 @@ +#! /usr/bin/env bash + +#SBATCH --nodes=4 +#SBATCH --ntasks-per-node=4 +#SBATCH --cpus-per-task=4 +#SBATCH --time=2:00 + +# Use this as following +# $> sbatch -p batch|rome +# +# NOTE: +# First compile in aristotle with +# $> module load gcc/9.2.0 openmpi/4.0.3 +# $> make -j hpc-build +# + +module load gcc/9.2.0 openmpi/4.0.3 +# Note: +# The above versions are matching w/ my system's +# versions, thus making compiling/debugging easier. + +# Suppress unused UCX_ROOT warning +export UCX_WARN_UNUSED_ENV_VARS=n + +# Suppress CUDA-aware support is disabled warning +export OMPI_MCA_opal_warn_on_missing_libcuda=0 + +srun ./out/distbitonic -q 27 --perf --validation \ No newline at end of file diff --git a/homework_2/hpc/Q27/N4P8T4Q27.sh b/homework_2/hpc/Q27/N4P8T4Q27.sh new file mode 100644 index 0000000..fc756fd --- /dev/null +++ b/homework_2/hpc/Q27/N4P8T4Q27.sh @@ -0,0 +1,28 @@ +#! /usr/bin/env bash + +#SBATCH --nodes=4 +#SBATCH --ntasks-per-node=8 +#SBATCH --cpus-per-task=4 +#SBATCH --time=2:00 + +# Use this as following +# $> sbatch -p batch|rome +# +# NOTE: +# First compile in aristotle with +# $> module load gcc/9.2.0 openmpi/4.0.3 +# $> make -j hpc-build +# + +module load gcc/9.2.0 openmpi/4.0.3 +# Note: +# The above versions are matching w/ my system's +# versions, thus making compiling/debugging easier. + +# Suppress unused UCX_ROOT warning +export UCX_WARN_UNUSED_ENV_VARS=n + +# Suppress CUDA-aware support is disabled warning +export OMPI_MCA_opal_warn_on_missing_libcuda=0 + +srun ./out/distbitonic -q 27 --perf --validation \ No newline at end of file