-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
84 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/bash | ||
#SBATCH --job-name=my_gpu_job # Specify job name | ||
#SBATCH --partition=gpu # Specify partition name | ||
#SBATCH --gpus-per-node=4 | ||
#SBATCH --nodes=2 # -> 8GPUs | ||
#SBATCH --tasks-per-node=4 | ||
#SBATCH --cpus-per-task=64 | ||
#SBATCH --exclusive | ||
#SBATCH --mem=0 # Request all memory available on all nodes | ||
#SBATCH --time=00:30:00 # Set a limit on the total run time | ||
#SBATCH --mail-type=FAIL # Notify user by email in case of job failure | ||
#SBATCH --account=bb1143 # Charge resources on this project account | ||
#SBATCH --output=OutRace # File name for standard output | ||
|
||
set -e | ||
ulimit -s 204800 | ||
|
||
# Check GPUs available for the job | ||
# nvidia-smi | ||
|
||
# Check GPUs visible for each task | ||
# srun -l nvidia-smi | ||
|
||
export JuliaDevice="GPU" | ||
export JuliaGPU="CUDA" | ||
export machine="levante" | ||
export UCX_ERROR_SIGNALS="" | ||
srun -n 8 gpu_wrapper.sh -n 8 -e "./Jobs/NHSphere/BaroWaveDrySphere_256Elem" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
#!/bin/bash | ||
julia --project Examples/testNHSphere.jl \ | ||
--Problem="BaroWaveDrySphere" \ | ||
--FloatTypeBackend="Float32" \ | ||
--NumberThreadGPU=512 \ | ||
--NumV=5 \ | ||
--NumTr=0 \ | ||
--ProfpBGrd="" \ | ||
--ProfRhoBGrd="" \ | ||
--Source=false \ | ||
--Forcing=false \ | ||
--Equation="CompressibleShallow" \ | ||
--State="Dry" \ | ||
--Buoyancy=true \ | ||
--Curl=false \ | ||
--ModelType="VectorInvariant" \ | ||
--Coriolis=true \ | ||
--VerticalDiffusion=false \ | ||
--Upwind=true \ | ||
--HorLimit=false \ | ||
--Decomp="EqualArea" \ | ||
--SimDays=1 \ | ||
--SimHours=0 \ | ||
--SimSeconds=0 \ | ||
--PrintSeconds=0 \ | ||
--PrintMinutes=0 \ | ||
--PrintHours=0 \ | ||
--PrintDays=0 \ | ||
--StartAverageDays=100 \ | ||
--Flat=true \ | ||
--dtau=18.75 \ | ||
--IntMethod="Rosenbrock" \ | ||
--Table="SSP-Knoth" \ | ||
--TopoS="" \ | ||
--Stretch=true \ | ||
--StretchType="Exp" \ | ||
--GridType="CubedSphere" \ | ||
--nz=64 \ | ||
--nPanel=256 \ | ||
--H=30000.0 \ | ||
--OrdPoly=3 \ | ||
--HyperVisc=true \ | ||
--HyperDCurl=7.8125e12 \ | ||
--HyperDGrad=7.8125e12 \ | ||
--HyperDDiv=7.8125e12 \ |