Commit c16db957 authored by Mario Morales Hernandez's avatar Mario Morales Hernandez
Browse files

added scripts to launch simulations on Summit

parent eb2c89f1
#!/bin/bash
### Begin BSUB Options
#BSUB -P GEO132
#BSUB -J mpismt1node1
#BSUB -W 2:00
#BSUB -nnodes 1
#BSUB -alloc_flags "smt1"
#BSUB -o mpismt1node1_output.log
#BSUB -e mpismt1node1_error.log
### End BSUB Options and begin shell commands
cd /gpfs/alpine/proj-shared/geo132/module_build/elm_kernels/
module use modulefiles/
module load elm_kernels/scalability/c/default
module load gcc/7.4.0
module load cuda
module load parallel-netcdf
export CUDA_LAUNCH_BLOCKING=1
export CUDA_MANAGED_FORCE_DEVICE_ALLOC=1
cd /gpfs/alpine/proj-shared/geo132/module_build/elm_kernels/repos/new_scalability/elm_kernels/tests/tests_c_c
make clean
make
for i in 1 2 4 8 16 32
do
jsrun -n $i -a 1 -c 1 -r $i -l CPU-CPU -d packed -b packed:1 ./test_CanopyHydrology_module >> mpionly_smt1.log
done
make clean
#!/bin/bash
### Begin BSUB Options
#BSUB -P GEO132
#BSUB -J mpismt4node1
#BSUB -W 2:00
#BSUB -nnodes 1
#BSUB -alloc_flags "smt4"
#BSUB -o mpismt4node1_output.log
#BSUB -e mpismt4node1_error.log
### End BSUB Options and begin shell commands
cd /gpfs/alpine/proj-shared/geo132/module_build/elm_kernels/
module use modulefiles/
module load elm_kernels/scalability/c/default
module load gcc/7.4.0
module load cuda
module load parallel-netcdf
export CUDA_LAUNCH_BLOCKING=1
export CUDA_MANAGED_FORCE_DEVICE_ALLOC=1
cd /gpfs/alpine/proj-shared/geo132/module_build/elm_kernels/repos/new_scalability/elm_kernels/tests/tests_c_c
make clean
make
for i in 1 2 4 8 16 32
do
jsrun -n $i -a 1 -c 1 -r $i -l CPU-CPU -d packed -b packed:1 ./test_CanopyHydrology_module >> mpionly_smt4.log
done
make clean
#!/bin/bash
awk -F 'mean:' '{ print $2 }' mpionly_smt1.log >> dmpismt1.log
awk NF dmpismt1.log > dmpi_smt1.log
awk -F 'mean:' '{ print $2 }' mpionly_smt4.log >> dmpismt4.log
awk NF dmpismt4.log > dmpi_smt4.log
rm dmpismt*.log
paste dmpi_smt1.log dmpi_smt4.log > data_mpionly.log
#!/bin/bash
### Begin BSUB Options
#BSUB -P GEO132
#BSUB -J kokkos_cuda_smt4
#BSUB -W 2:00
#BSUB -nnodes 1
#BSUB -o cuda_output.log
#BSUB -e cuda_error.log
### End BSUB Options and begin shell commands
cd /gpfs/alpine/proj-shared/geo132/module_build/elm_kernels/
module use modulefiles/
module load elm_kernels/scalability/kokkos/cuda
module load gcc/7.4.0
module load cuda
module load parallel-netcdf
export CUDA_LAUNCH_BLOCKING=1
export CUDA_MANAGED_FORCE_DEVICE_ALLOC=1
cd /gpfs/alpine/proj-shared/geo132/module_build/elm_kernels/repos/scalability/tests/tests_kokkos_c
make
for i in 1 2 3 6
do
jsrun -n $i -a 1 -c 1 -g 1 -r $i -l GPU-CPU -d packed -b packed:1 ./test_CanopyHydrology_module.cuda >> cudasmt4.log
done
#!/bin/bash
### Begin BSUB Options
#BSUB -P GEO132
#BSUB -J kokkos_cuda_gpumps_smt4
#BSUB -W 2:00
#BSUB -nnodes 1
#BSUB -alloc_flags gpumps
#BSUB -o cuda_gpumps_output.log
#BSUB -e cuda_gpumps_error.log
### End BSUB Options and begin shell commands
cd /gpfs/alpine/proj-shared/geo132/module_build/elm_kernels/
module use modulefiles/
module load elm_kernels/scalability/kokkos/cuda
module load gcc/7.4.0
module load cuda
module load parallel-netcdf
export CUDA_LAUNCH_BLOCKING=1
export CUDA_MANAGED_FORCE_DEVICE_ALLOC=1
cd /gpfs/alpine/proj-shared/geo132/module_build/elm_kernels/repos/scalability/tests/tests_kokkos_c
make
jsrun -n 1 -a 4 -c 1 -g 1 -r 1 -l GPU-CPU -d packed -b packed:1 ./test_CanopyHydrology_module.cuda >> cuda_gpumps.log
jsrun -n 1 -a 3 -c 42 -g 6 -r 1 -l GPU-CPU -d packed -b packed:1 ./test_CanopyHydrology_module.cuda >> cuda_gpumps.log
jsrun -n 1 -a 2 -c 42 -g 6 -r 1 -l GPU-CPU -d packed -b packed:1 ./test_CanopyHydrology_module.cuda >> cuda_gpumps.log
jsrun -n 1 -a 1 -c 42 -g 6 -r 1 -l GPU-CPU -d packed -b packed:1 ./test_CanopyHydrology_module.cuda >> cuda_gpumps.log
jsrun -n 2 -a 4 -c 21 -g 3 -r 2 -l GPU-CPU -d packed -b packed:1 ./test_CanopyHydrology_module.cuda >> cuda_gpumps.log
jsrun -n 2 -a 1 -c 21 -g 3 -r 2 -l GPU-CPU -d packed -b packed:1 ./test_CanopyHydrology_module.cuda >> cuda_gpumps.log
jsrun -n 3 -a 4 -c 14 -g 2 -r 3 -l GPU-CPU -d packed -b packed:1 ./test_CanopyHydrology_module.cuda >> cuda_gpumps.log
jsrun -n 3 -a 1 -c 14 -g 2 -r 3 -l GPU-CPU -d packed -b packed:1 ./test_CanopyHydrology_module.cuda >> cuda_gpumps.log
jsrun -n 4 -a 4 -c 10 -g 1 -r 4 -l GPU-CPU -d packed -b packed:1 ./test_CanopyHydrology_module.cuda >> cuda_gpumps.log
jsrun -n 4 -a 4 -c 1 -g 1 -r 4 -l GPU-CPU -d packed -b packed:1 ./test_CanopyHydrology_module.cuda >> cuda_gpumps.log
jsrun -n 4 -a 1 -c 10 -g 1 -r 4 -l GPU-CPU -d packed -b packed:1 ./test_CanopyHydrology_module.cuda >> cuda_gpumps.log
jsrun -n 5 -a 5 -c 8 -g 1 -r 5 -l GPU-CPU -d packed -b packed:1 ./test_CanopyHydrology_module.cuda >> cuda_gpumps.log
#jsrun -n 5 -a 5 -c 1 -g 1 -r 5 -l GPU-CPU -d packed -b packed:1 ./test_CanopyHydrology_module.cuda >> cuda_gpumps.log
jsrun -n 5 -a 1 -c 8 -g 1 -r 5 -l GPU-CPU -d packed -b packed:1 ./test_CanopyHydrology_module.cuda >> cuda_gpumps.log
jsrun -n 6 -a 6 -c 7 -g 1 -r 6 -l GPU-CPU -d packed -b packed:1 ./test_CanopyHydrology_module.cuda >> cuda_gpumps.log
jsrun -n 6 -a 1 -c 1 -g 1 -r 6 -l GPU-CPU -d packed -b packed:1 ./test_CanopyHydrology_module.cuda >> cuda_gpumps.log
jsrun -n 6 -a 1 -c 7 -g 1 -r 6 -l GPU-CPU -d packed -b packed:1 ./test_CanopyHydrology_module.cuda >> cuda_gpumps.log
#!/bin/bash
### Begin BSUB Options
#BSUB -P GEO132
#BSUB -J kokkos_openmp_smt1node1
#BSUB -W 2:00
#BSUB -nnodes 1
#BSUB -alloc_flags "smt1"
#BSUB -o kokkos_openmp_smt1node1_output.log
#BSUB -e kokkos_openmp_smt1node1_error.log
### End BSUB Options and begin shell commands
cd /gpfs/alpine/proj-shared/geo132/module_build/elm_kernels
module use modulefiles/
module load elm_kernels/scalability/kokkos/openmp
module load gcc/7.4.0
module load cuda
module load parallel-netcdf
export CUDA_LAUNCH_BLOCKING=1
export CUDA_MANAGED_FORCE_DEVICE_ALLOC=1
cd /gpfs/alpine/proj-shared/geo132/module_build/elm_kernels/repos/scalability/tests/tests_kokkos_c
make clean
make
export OMP_NUM_THREADS=1
jsrun -n 1 -a 1 -c 1 -r 1 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt1.log
echo "--nrs= 1 SMT 1 --cpu_per_rs 1 OMP_NUM_THREADS 1 " >> openmpsmt1.log
export OMP_NUM_THREADS=2
jsrun -n 1 -a 1 -c 2 -r 1 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt1.log
echo "--nrs= 1 SMT 1 --cpu_per_rs 2 OMP_NUM_THREADS 2 " >> openmpsmt1.log
export OMP_NUM_THREADS=4
jsrun -n 1 -a 1 -c 4 -r 1 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt1.log
echo "--nrs= 1 SMT 1 --cpu_per_rs 4 OMP_NUM_THREADS 4 " >> openmpsmt1.log
export OMP_NUM_THREADS=8
jsrun -n 1 -a 1 -c 8 -r 1 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt1.log
echo "--nrs= 1 SMT 1 --cpu_per_rs 8 OMP_NUM_THREADS 8 " >> openmpsmt1.log
export OMP_NUM_THREADS=16
jsrun -n 1 -a 1 -c 16 -r 1 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt1.log
echo "--nrs= 1 SMT 1 --cpu_per_rs 16 OMP_NUM_THREADS 16 " >> openmpsmt1.log
export OMP_NUM_THREADS=32
jsrun -n 1 -a 1 -c 32 -r 1 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt1.log
echo "--nrs= 1 SMT 1 --cpu_per_rs 32 OMP_NUM_THREADS 32 " >> openmpsmt1.log
export OMP_NUM_THREADS=1
jsrun -n 2 -a 1 -c 1 -r 2 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt1.log
echo "--nrs= 2 SMT 1 --cpu_per_rs 1 OMP_NUM_THREADS 1 " >> openmpsmt1.log
export OMP_NUM_THREADS=2
jsrun -n 2 -a 1 -c 2 -r 2 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt1.log
echo "--nrs= 2 SMT 1 --cpu_per_rs 2 OMP_NUM_THREADS 2 " >> openmpsmt1.log
export OMP_NUM_THREADS=1
jsrun -n 4 -a 1 -c 1 -r 4 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt1.log
echo "--nrs= 4 SMT 1 --cpu_per_rs 1 OMP_NUM_THREADS 1 " >> openmpsmt1.log
export OMP_NUM_THREADS=4
jsrun -n 2 -a 1 -c 4 -r 2 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt1.log
echo "--nrs= 2 SMT 1 --cpu_per_rs 4 OMP_NUM_THREADS 4 " >> openmpsmt1.log
export OMP_NUM_THREADS=2
jsrun -n 4 -a 1 -c 2 -r 4 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt1.log
echo "--nrs= 4 SMT 1 --cpu_per_rs 2 OMP_NUM_THREADS 2 " >> openmpsmt1.log
export OMP_NUM_THREADS=1
jsrun -n 8 -a 1 -c 1 -r 8 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt1.log
echo "--nrs= 8 SMT 1 --cpu_per_rs 1 OMP_NUM_THREADS 1 " >> openmpsmt1.log
export OMP_NUM_THREADS=8
jsrun -n 2 -a 1 -c 8 -r 2 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt1.log
echo "--nrs= 2 SMT 1 --cpu_per_rs 8 OMP_NUM_THREADS 8 " >> openmpsmt1.log
export OMP_NUM_THREADS=4
jsrun -n 4 -a 1 -c 4 -r 4 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt1.log
echo "--nrs= 4 SMT 1 --cpu_per_rs 4 OMP_NUM_THREADS 4 " >> openmpsmt1.log
export OMP_NUM_THREADS=2
jsrun -n 8 -a 1 -c 2 -r 8 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt1.log
echo "--nrs= 8 SMT 1 --cpu_per_rs 2 OMP_NUM_THREADS 2 " >> openmpsmt1.log
export OMP_NUM_THREADS=1
jsrun -n 16 -a 1 -c 1 -r 16 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt1.log
echo "--nrs= 16 SMT 1 --cpu_per_rs 1 OMP_NUM_THREADS 1 " >> openmpsmt1.log
export OMP_NUM_THREADS=16
jsrun -n 2 -a 1 -c 16 -r 2 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt1.log
echo "--nrs= 2 SMT 1 --cpu_per_rs 16 OMP_NUM_THREADS 16 " >> openmpsmt1.log
export OMP_NUM_THREADS=8
jsrun -n 4 -a 1 -c 8 -r 4 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt1.log
echo "--nrs= 4 SMT 1 --cpu_per_rs 8 OMP_NUM_THREADS 8 " >> openmpsmt1.log
export OMP_NUM_THREADS=4
jsrun -n 8 -a 1 -c 4 -r 8 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt1.log
echo "--nrs= 8 SMT 1 --cpu_per_rs 4 OMP_NUM_THREADS 4 " >> openmpsmt1.log
export OMP_NUM_THREADS=2
jsrun -n 16 -a 1 -c 2 -r 16 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt1.log
echo "--nrs= 16 SMT 1 --cpu_per_rs 2 OMP_NUM_THREADS 2 " >> openmpsmt1.log
export OMP_NUM_THREADS=1
jsrun -n 32 -a 1 -c 1 -r 32 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt1.log
echo "--nrs= 32 SMT 1 --cpu_per_rs 1 OMP_NUM_THREADS 1 " >> openmpsmt1.log
#!/bin/bash
### Begin BSUB Options
#BSUB -P GEO132
#BSUB -J kokkos_openmp_smt4node1
#BSUB -W 2:00
#BSUB -nnodes 1
#BSUB -alloc_flags "smt4"
#BSUB -o kokkos_openmp_smt4node1_output.log
#BSUB -e kokkos_openmp_smt4node1_error.log
### End BSUB Options and begin shell commands
cd /gpfs/alpine/proj-shared/geo132/module_build/elm_kernels
module use modulefiles/
module load elm_kernels/scalability/kokkos/openmp
module load gcc/7.4.0
module load cuda
module load parallel-netcdf
export CUDA_LAUNCH_BLOCKING=1
export CUDA_MANAGED_FORCE_DEVICE_ALLOC=1
cd /gpfs/alpine/proj-shared/geo132/module_build/elm_kernels/repos/scalability/tests/tests_kokkos_c
make clean
make
export OMP_NUM_THREADS=1
jsrun -n 1 -a 1 -c 1 -r 1 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt4.log
echo "--nrs= 1 SMT 4 --cpu_per_rs 1 OMP_NUM_THREADS 1" >> openmpsmt4.log
export OMP_NUM_THREADS=2
jsrun -n 1 -a 1 -c 2 -r 1 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt4.log
echo "--nrs= 1 SMT 4 --cpu_per_rs 2 OMP_NUM_THREADS 2 " >> openmpsmt4.log
export OMP_NUM_THREADS=4
jsrun -n 1 -a 1 -c 4 -r 1 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt4.log
echo "--nrs= 1 SMT 4 --cpu_per_rs 4 OMP_NUM_THREADS 4 " >> openmpsmt4.log
export OMP_NUM_THREADS=8
jsrun -n 1 -a 1 -c 8 -r 1 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt4.log
echo "--nrs= 1 SMT 4 --cpu_per_rs 8 OMP_NUM_THREADS 8 " >> openmpsmt4.log
export OMP_NUM_THREADS=16
jsrun -n 1 -a 1 -c 16 -r 1 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt4.log
echo "--nrs= 1 SMT 4 --cpu_per_rs 16 OMP_NUM_THREADS 16 " >> openmpsmt4.log
export OMP_NUM_THREADS=32
jsrun -n 1 -a 1 -c 32 -r 1 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt4.log
echo "--nrs= 1 SMT 4 --cpu_per_rs 32 OMP_NUM_THREADS 32 " >> openmpsmt4.log
export OMP_NUM_THREADS=1
jsrun -n 2 -a 1 -c 1 -r 2 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt4.log
echo "--nrs= 2 SMT 4 --cpu_per_rs 1 OMP_NUM_THREADS 1 " >> openmpsmt4.log
export OMP_NUM_THREADS=2
jsrun -n 2 -a 1 -c 2 -r 2 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt4.log
echo "--nrs= 2 SMT 4 --cpu_per_rs 2 OMP_NUM_THREADS 2 " >> openmpsmt4.log
export OMP_NUM_THREADS=1
jsrun -n 4 -a 1 -c 1 -r 4 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt4.log
echo "--nrs= 4 SMT 4 --cpu_per_rs 1 OMP_NUM_THREADS 1 " >> openmpsmt4.log
export OMP_NUM_THREADS=4
jsrun -n 2 -a 1 -c 4 -r 2 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt4.log
echo "--nrs= 2 SMT 4 --cpu_per_rs 4 OMP_NUM_THREADS 4 " >> openmpsmt4.log
export OMP_NUM_THREADS=2
jsrun -n 4 -a 1 -c 2 -r 4 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt4.log
echo "--nrs= 4 SMT 4 --cpu_per_rs 2 OMP_NUM_THREADS 2 " >> openmpsmt4.log
export OMP_NUM_THREADS=1
jsrun -n 8 -a 1 -c 1 -r 8 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt4.log
echo "--nrs= 8 SMT 4 --cpu_per_rs 1 OMP_NUM_THREADS 1 " >> openmpsmt4.log
export OMP_NUM_THREADS=8
jsrun -n 2 -a 1 -c 8 -r 2 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt4.log
echo "--nrs= 2 SMT 4 --cpu_per_rs 8 OMP_NUM_THREADS 8 " >> openmpsmt4.log
export OMP_NUM_THREADS=4
jsrun -n 4 -a 1 -c 4 -r 4 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt4.log
echo "--nrs= 4 SMT 4 --cpu_per_rs 4 OMP_NUM_THREADS 4 " >> openmpsmt4.log
export OMP_NUM_THREADS=2
jsrun -n 8 -a 1 -c 2 -r 8 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt4.log
echo "--nrs= 8 SMT 4 --cpu_per_rs 2 OMP_NUM_THREADS 2 " >> openmpsmt4.log
export OMP_NUM_THREADS=1
jsrun -n 16 -a 1 -c 1 -r 16 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt4.log
echo "--nrs= 16 SMT 4 --cpu_per_rs 1 OMP_NUM_THREADS 1 " >> openmpsmt4.log
export OMP_NUM_THREADS=16
jsrun -n 2 -a 1 -c 16 -r 2 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt4.log
echo "--nrs= 2 SMT 4 --cpu_per_rs 16 OMP_NUM_THREADS 16 " >> openmpsmt4.log
export OMP_NUM_THREADS=8
jsrun -n 4 -a 1 -c 8 -r 4 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt4.log
echo "--nrs= 4 SMT 4 --cpu_per_rs 8 OMP_NUM_THREADS 8 " >> openmpsmt4.log
export OMP_NUM_THREADS=4
jsrun -n 8 -a 1 -c 4 -r 8 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt4.log
echo "--nrs= 8 SMT 4 --cpu_per_rs 4 OMP_NUM_THREADS 4 " >> openmpsmt4.log
export OMP_NUM_THREADS=2
jsrun -n 16 -a 1 -c 2 -r 16 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt4.log
echo "--nrs= 16 SMT 4 --cpu_per_rs 2 OMP_NUM_THREADS 2 " >> openmpsmt4.log
export OMP_NUM_THREADS=1
jsrun -n 32 -a 1 -c 1 -r 32 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt4.log
echo "--nrs= 32 SMT 4 --cpu_per_rs 1 OMP_NUM_THREADS 1 " >> openmpsmt4.log
#!/bin/bash
### Begin BSUB Options
#BSUB -P GEO132
#BSUB -J kokkos_openmp_smt1node1
#BSUB -W 2:00
#BSUB -nnodes 1
#BSUB -alloc_flags "smt1"
#BSUB -o kokkos_openmp_smt1node1_output.log
#BSUB -e kokkos_openmp_smt1node1_error.log
### End BSUB Options and begin shell commands
cd /gpfs/alpine/proj-shared/geo132/module_build/elm_kernels
module use modulefiles/
module load elm_kernels/scalability/kokkos/openmp
module load gcc/7.4.0
module load cuda
module load parallel-netcdf
export CUDA_LAUNCH_BLOCKING=1
export CUDA_MANAGED_FORCE_DEVICE_ALLOC=1
cd /gpfs/alpine/proj-shared/geo132/module_build/elm_kernels/repos/scalability/tests/tests_kokkos_c
make clean
make
for i in 1 2 4 16
do
export OMP_NUM_THREADS=$i
jsrun -n $i -c $i -r $i -p 1 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt1.log
done
#!/bin/bash
### Begin BSUB Options
#BSUB -P GEO132
#BSUB -J kokkos_openmp_smt4node1
#BSUB -W 2:00
#BSUB -nnodes 1
#BSUB -alloc_flags "smt4"
#BSUB -o kokkos_openmp_smt4node1_output.log
#BSUB -e kokkos_openmp_smt4node1_error.log
### End BSUB Options and begin shell commands
cd /gpfs/alpine/proj-shared/geo132/module_build/elm_kernels
module use modulefiles/
module load elm_kernels/scalability/kokkos/openmp
module load gcc/7.4.0
module load cuda
module load parallel-netcdf
export CUDA_LAUNCH_BLOCKING=1
export CUDA_MANAGED_FORCE_DEVICE_ALLOC=1
cd /gpfs/alpine/proj-shared/geo132/module_build/elm_kernels/repos/scalability/tests/tests_kokkos_c
make clean
make
for i in 1 2 4 16
do
a=$((4*i))
export OMP_NUM_THREADS=$a
jsrun -n $i -c $i -r $i -p 1 -l CPU-CPU -d packed -b rs ./test_CanopyHydrology_module.host >> openmpsmt4.log
done
#!/bin/bash
### Begin BSUB Options
#BSUB -P GEO132
#BSUB -J serialsmt1node1
#BSUB -W 2:00
#BSUB -nnodes 1
#BSUB -alloc_flags "smt1"
#BSUB -o serialsmt1node1_output.log
#BSUB -e serialsmt1node1_error.log
### End BSUB Options and begin shell commands
cd /gpfs/alpine/proj-shared/geo132/module_build/elm_kernels/
module use modulefiles/
module load elm_kernels/scalability/kokkos/serial
module load gcc/7.4.0
module load cuda
module load parallel-netcdf
export CUDA_LAUNCH_BLOCKING=1
export CUDA_MANAGED_FORCE_DEVICE_ALLOC=1
cd /gpfs/alpine/proj-shared/geo132/module_build/elm_kernels/repos/scalability/tests/tests_kokkos_c
make clean
make
for i in 1 2 4 8 16 32
do
jsrun -n $i -a 1 -c 1 -r $i -l CPU-CPU -d packed -b packed:1 ./test_CanopyHydrology_module >> serialsmt1.log
done
#!/bin/bash
### Begin BSUB Options
#BSUB -P GEO132
#BSUB -J serialsmt4node1
#BSUB -W 2:00
#BSUB -nnodes 1
#BSUB -alloc_flags "smt4"
#BSUB -o serialsmt4node1_output.log
#BSUB -e serialsmt4node1_error.log
### End BSUB Options and begin shell commands
cd /gpfs/alpine/proj-shared/geo132/module_build/
module use modulefiles/
module load elm_kernels/scalability/kokkos/serial
module load gcc/7.4.0
module load cuda
module load parallel-netcdf
export CUDA_LAUNCH_BLOCKING=1
export CUDA_MANAGED_FORCE_DEVICE_ALLOC=1
cd /gpfs/alpine/proj-shared/geo132/module_build/elm_kernels/repos/scalability/tests/tests_kokkos_c
make clean
make
for i in 1 2 4 8 16 32
do
jsrun -n $i -a 1 -c 1 -r $i -l CPU-CPU -d packed -b packed:1 ./test_CanopyHydrology_module >> serialsmt4.log
done
#!/bin/bash
awk -F 'mean:' '{ print $2 }' serialsmt1.log >> dssmt1.log
awk NF dssmt1.log > dserial_smt1.log
awk -F 'mean:' '{ print $2 }' serialsmt4.log >> dssmt4.log
awk NF dssmt4.log > dserial_smt4.log
rm dssmt*.log
paste dserial_smt1.log dserial_smt4.log > data_kokkos_serial.log
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment