Skip to content

Reply To: Running examples on multiple GPUs

#8845
Danial.Khazaeipoul
Participant

OK with the below command, both GPUs are now utilized 100%.

mpirun –oversubscribe –bind-to none -np 1 -x CUDA_VISIBLE_DEVICES=0 ./risingBubble3d : -np 1 -x CUDA_VISIBLE_DEVICES=1 ./risingBubble3d

Currently running:

[MpiManager] Sucessfully initialized, numThreads=2
[ThreadPool] Sucessfully initialized, numThreads=1
[Directories] Directory ./tmp/ created.
[Directories] Directory ./tmp/imageData/ created.
[Directories] Directory ./tmp/imageData/data/ created.
[Directories] Directory ./tmp/vtkData/ created.
[Directories] Directory ./tmp/vtkData/data/ created.
[Directories] Directory ./tmp/gnuplotData/ created.
[Directories] Directory ./tmp/gnuplotData/data/ created.
[UnitConverter] —————– UnitConverter information —————–
[UnitConverter] — Parameters:
[UnitConverter] Resolution: N= 40
[UnitConverter] Lattice velocity: latticeU= 0.00266056
[UnitConverter] Lattice relaxation frequency: omega= 1.99521
[UnitConverter] Lattice relaxation time: tau= 0.5012
[UnitConverter] Characteristical length(m): charL= 0.0261
[UnitConverter] Characteristical speed(m/s): charU= 1
[UnitConverter] Phys. kinematic viscosity(m^2/s): charNu= 9.80996e-05
[UnitConverter] Phys. density(kg/m^d): charRho= 1332
[UnitConverter] Characteristical pressure(N/m^2): charPressure= 0
[UnitConverter] Mach number: machNumber= 0.00460823
[UnitConverter] Reynolds number: reynoldsNumber= 266.056
[UnitConverter] Knudsen number: knudsenNumber= 1.73205e-05
[UnitConverter]
[UnitConverter] — Conversion factors:
[UnitConverter] Voxel length(m): physDeltaX= 0.0006525
[UnitConverter] Time step(s): physDeltaT= 1.73602e-06
[UnitConverter] Velocity factor(m/s): physVelocity= 375.86
[UnitConverter] Density factor(kg/m^3): physDensity= 1332
[UnitConverter] Mass factor(kg): physMass= 3.70038e-07
[UnitConverter] Viscosity factor(m^2/s): physViscosity= 0.245249
[UnitConverter] Force factor(N): physForce= 80.1159
[UnitConverter] Pressure factor(N/m^2): physPressure= 1.88173e+08
[UnitConverter] ————————————————————-
[SuperGeometry3D] cleaned 0 outer boundary voxel(s)
[SuperGeometry3D] cleaned 0 inner boundary voxel(s)
[SuperGeometryStatistics3D] updated
[SuperGeometry3D] the model is correct!
[CuboidGeometry3D] —Cuboid Stucture Statistics—
[CuboidGeometry3D] Number of Cuboids: 2
[CuboidGeometry3D] Delta (min): 0.0006525
[CuboidGeometry3D] (max): 0.0006525
[CuboidGeometry3D] Ratio (min): 0.800499
[CuboidGeometry3D] (max): 1.24922
[CuboidGeometry3D] Nodes (min): 41216400
[CuboidGeometry3D] (max): 41319441
[CuboidGeometry3D] Weight (min): 41216400
[CuboidGeometry3D] (max): 41319441
[CuboidGeometry3D] ——————————–
[SuperGeometryStatistics3D] materialNumber=1; count=82329759; minPhysR=(0,0,0.0006525); maxPhysR=(0.2088,0.2088,0.521348)
[SuperGeometryStatistics3D] materialNumber=2; count=103041; minPhysR=(0,0,0); maxPhysR=(0.2088,0.2088,0)
[SuperGeometryStatistics3D] materialNumber=3; count=103041; minPhysR=(0,0,0.522); maxPhysR=(0.2088,0.2088,0.522)
[SuperGeometryStatistics3D] countTotal[1e6]=82.5358