Reply To: Multi GPUs Calculation
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › Multi GPUs Calculation › Reply To: Multi GPUs Calculation
Dear Adrian,
Thank you for replying.
I compiled and installed open-MPI with cuda-aware follwing the openLB user guide 1.6 pp157.
my cuda information is here
$ nvidia-smi
Tue Jun 27 14:21:43 2023
+—————————————————————————————+
| NVIDIA-SMI 530.30.04 Driver Version: 531.29 CUDA Version: 12.1 |
|—————————————–+———————-+———————-+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 NVIDIA GeForce RTX 3080 Ti On | 00000000:0E:00.0 On | N/A |
| 0% 26C P8 17W / 350W| 3154MiB / 12288MiB | 7% Default |
| | | N/A |
+—————————————–+———————-+———————-+
| 1 NVIDIA GeForce RTX 3080 Ti On | 00000000:0F:00.0 Off | N/A |
| 0% 24C P8 5W / 350W| 475MiB / 12288MiB | 0% Default |
| | | N/A |
+—————————————–+———————-+———————-+
and config.mk is here,
CXX := nvcc
CC := nvcc
CXXFLAGS := -O3
CXXFLAGS += -std=c++17
PARALLEL_MODE := MPI
MPIFLAGS := -lmpi_cxx -lmpi
PLATFORMS := CPU_SISD GPU_CUDA
# for e.g. RTX 30* (Ampere), see table in rules.mk
for other options
CUDA_ARCH := 86
FLOATING_POINT_TYPE := float
USE_EMBEDDED_DEPENDENCIES := ON
when cuda-aware is used, must I remove opempi-bin and libopenmpi-dev which is installed using apt ?
Best regards