Skip to content

Reply To: Multi GPUs Calculation

#7603
Yuji
Participant

Dear Adrian,

Thank you. Ok, I dont remove opempi-bin and libopenmpi-dev.
As to ompi_info –parsable -l 9 –all | grep mpi_built_with_cuda_support:value, this returns true.
$ ompi_info –parsable -l 9 –all | grep mpi_built_with_cuda_support:value
mca:mpi:base:param:mpi_built_with_cuda_support:value:true.

I modifided PATH a bit from user guide.
My ~/.bashrc has
export MPI_HOME=$MPI_HOME:$HOME/opt/openmpi
export PATH=$PATH:$MPI_HOME/bin
export CPATH=$CPATH:$MPI_HOME/include
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MPI_HOME/lib

And $mpic++ -showme shows
g++ -I/home/ubuntu2204/opt/openmpi/include -L/home/ubuntu2204/opt/openmpi/lib -Wl,-rpath -Wl,/home/ubuntu2204/opt/openmpi/lib -Wl,–enable-new-dtags -lmpi
I am not familiar with $mpic++ -showme. In this case, dose the output show that I can use only -lmpi?

Best regards

  • This reply was modified 1 year, 1 month ago by Yuji.
  • This reply was modified 1 year, 1 month ago by Yuji.