mirror of
https://github.com/smyalygames/FiniteVolumeGPU.git
synced 2025-05-18 14:34:13 +02:00
Stupid multi-context multi-GPU working.
Next: Cont w/imlp. of IC and inter-GPU comm.
This commit is contained in:
parent
aade33caa5
commit
64563ed349
@ -3,7 +3,7 @@
|
|||||||
#SBATCH -N 1 # number of nodes
|
#SBATCH -N 1 # number of nodes
|
||||||
#SBATCH -n 1 # number of cores
|
#SBATCH -n 1 # number of cores
|
||||||
#SBATCH -w g001 # DGX-2 node
|
#SBATCH -w g001 # DGX-2 node
|
||||||
#SBATCH --gres=gpu:4 # number of V100's
|
#SBATCH --gres=gpu:2 # number of V100's
|
||||||
#SBATCH -t 0-00:10 # time (D-HH:MM)
|
#SBATCH -t 0-00:10 # time (D-HH:MM)
|
||||||
#SBATCH -o slurm.%N.%j.out # STDOUT
|
#SBATCH -o slurm.%N.%j.out # STDOUT
|
||||||
#SBATCH -e slurm.%N.%j.err # STDERR
|
#SBATCH -e slurm.%N.%j.err # STDERR
|
||||||
|
@ -94,7 +94,7 @@ for i in range(grid.ngpus):
|
|||||||
def genSim(**kwargs):
|
def genSim(**kwargs):
|
||||||
sim = EE2D_KP07_dimsplit.EE2D_KP07_dimsplit(**kwargs)
|
sim = EE2D_KP07_dimsplit.EE2D_KP07_dimsplit(**kwargs)
|
||||||
#sim = SHMEMSimulator.SHMEMSimulator(local_sim, grid) # implement SHMEMSimulator-support
|
#sim = SHMEMSimulator.SHMEMSimulator(local_sim, grid) # implement SHMEMSimulator-support
|
||||||
sims.append(local_sim)
|
sims.append(sim)
|
||||||
return sim
|
return sim
|
||||||
outfile = Common.runSimulation(genSim, arguments, outfile, save_times, save_var_names)
|
outfile = Common.runSimulation(genSim, arguments, outfile, save_times, save_var_names)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user