Scripts for single-GPU testing and running on PPI.

This commit is contained in:
Martin Lilleeng Sætra 2022-05-09 13:50:12 +00:00
parent 28f73c20af
commit b4d204c9c9
2 changed files with 5 additions and 4 deletions

View File

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
module purge 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

View File

@ -83,7 +83,8 @@ nx = args.nx
ny = args.ny ny = args.ny
gamma = 1.4 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" outfile = "single_gpu_out.nc"
save_var_names = ['rho', 'rho_u', 'rho_v', 'E'] save_var_names = ['rho', 'rho_u', 'rho_v', 'E']