From b4d204c9c9fb0a67d556e0dbacd1f2c404b316cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Lilleeng=20S=C3=A6tra?= Date: Mon, 9 May 2022 13:50:12 +0000 Subject: [PATCH] Scripts for single-GPU testing and running on PPI. --- run_script_ppi.sh | 6 +++--- singleGPUTesting.py | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/run_script_ppi.sh b/run_script_ppi.sh index 4f1803b..5d30095 100755 --- a/run_script_ppi.sh +++ b/run_script_ppi.sh @@ -1,8 +1,8 @@ #!/bin/bash module purge -module load git/2.21.0 hdf5/1.10.5-gcc cuda/10.1 conda/production +module load git/2.21.0 hdf5/1.10.5-gcc cuda/10.1 -activate ShallowWaterGPU_HPC +conda activate ShallowWaterGPU_HPC -/modules/centos7/conda/Feb2021/bin/python3 mpiTesting.py +python mpiTesting.py diff --git a/singleGPUTesting.py b/singleGPUTesting.py index fee48ac..9b383e8 100644 --- a/singleGPUTesting.py +++ b/singleGPUTesting.py @@ -83,7 +83,8 @@ nx = args.nx ny = args.ny gamma = 1.4 -save_times = np.linspace(0, 10.0, 2) +roughness = 0.125 +save_times = np.linspace(0, 0.5, 10) outfile = "single_gpu_out.nc" save_var_names = ['rho', 'rho_u', 'rho_v', 'E']