Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] OpenMPI CUDA 5 readiness?
From: Andreas Knüpfer (andreas.knuepfer_at_[hidden])
Date: 2012-09-05 03:17:20


Hi Dmitry, Rolf, all,

sorry for this, the API changes are a constant pain with new CUDA releases.

One quick fix is to pass '--disable-cudawrap' to VTs configure. In case CUDA's
CUPTI is found, you'll still get the full functionality.

But of course we'll adapt to CUDA 5 asap with the help of your patch.

Andreas

On Sunday, September 02, 2012 20:41:51 Dmitry N. Mikushin wrote:
> Dear Rolf,
>
> FYI, looks like with CUDA 5 preview OpenMPI trunk fails to build due
> to the following errors:
>
> $ svn info
> Path: .
> URL: http://svn.open-mpi.org/svn/ompi/trunk
> Repository Root: http://svn.open-mpi.org/svn/ompi
> Repository UUID: 63e3feb5-37d5-0310-a306-e8a459e722fe
> Revision: 27216
> Node Kind: directory
> Schedule: normal
> Last Changed Author: alekseys
> Last Changed Rev: 27216
> Last Changed Date: 2012-09-02 15:17:49 +0200 (Sun, 02 Sep 2012)
>
> $ ../configure --prefix=$RPM_BUILD_ROOT/opt/kernelgen
> --disable-mpi-interface-warning --with-cuda=/opt/cuda
> --with-cuda-libdir=/usr/lib
>
> $ make -j8
> ...
> ../../../../../../ompi/contrib/vt/vt/vtlib/vt_cudartwrap.c:145:14:
> error: conflicting types for 'cudaGetSymbolAddress'
> /usr/local/cuda/include/cuda_runtime_api.h:4261:39: note: previous
> declaration of 'cudaGetSymbolAddress' was here
> ../../../../../../ompi/contrib/vt/vt/vtlib/vt_cudartwrap.c:164:14:
> error: conflicting types for 'cudaGetSymbolSize'
> /usr/local/cuda/include/cuda_runtime_api.h:4283:39: note: previous
> declaration of 'cudaGetSymbolSize' was here
> ../../../../../../ompi/contrib/vt/vt/vtlib/vt_cudartwrap.c:392:14:
> error: conflicting types for 'cudaGetTextureReference'
> /usr/local/cuda/include/cuda_runtime_api.h:5060:39: note: previous
> declaration of 'cudaGetTextureReference' was here
> ../../../../../../ompi/contrib/vt/vt/vtlib/vt_cudartwrap.c:501:14:
> error: conflicting types for 'cudaFuncGetAttributes'
> /usr/local/cuda/include/cuda_runtime_api.h:2242:58: note: previous
> declaration of 'cudaFuncGetAttributes' was here
> ../../../../../../ompi/contrib/vt/vt/vtlib/vt_cudartwrap.c:969:14:
> error: conflicting types for 'cudaGetSurfaceReference'
> /usr/local/cuda/include/cuda_runtime_api.h:5112:39: note: previous
> declaration of 'cudaGetSurfaceReference' was here
> ../../../../../../ompi/contrib/vt/vt/vtlib/vt_cudartwrap.c:1565:14:
> error: conflicting types for 'cudaFuncSetSharedMemConfig'
> /usr/local/cuda/include/cuda_runtime_api.h:2173:39: note: previous
> declaration of 'cudaFuncSetSharedMemConfig' was here
> ../../../../../../ompi/contrib/vt/vt/vtlib/vt_cudart.c:2294:14: error:
> conflicting types for 'cudaMemcpyToSymbol'
> /usr/local/cuda/include/cuda_runtime_api.h:3608:39: note: previous
> declaration of 'cudaMemcpyToSymbol' was here
> ../../../../../../ompi/contrib/vt/vt/vtlib/vt_cudart.c:2310:14: error:
> conflicting types for 'cudaMemcpyFromSymbol'
> /usr/local/cuda/include/cuda_runtime_api.h:3643:39: note: previous
> declaration of 'cudaMemcpyFromSymbol' was here
> ../../../../../../ompi/contrib/vt/vt/vtlib/vt_cudart.c:2423:14: error:
> conflicting types for 'cudaMemcpyToSymbolAsync'
> /usr/local/cuda/include/cuda_runtime_api.h:3990:39: note: previous
> declaration of 'cudaMemcpyToSymbolAsync' was here
> ../../../../../../ompi/contrib/vt/vt/vtlib/vt_cudart.c:2439:14: error:
> conflicting types for 'cudaMemcpyFromSymbolAsync'
> /usr/local/cuda/include/cuda_runtime_api.h:4032:39: note: previous
> declaration of 'cudaMemcpyFromSymbolAsync' was here
> ../../../../../../ompi/contrib/vt/vt/vtlib/vt_cudart.c:2534:14: error:
> conflicting types for 'cudaLaunch'
> /usr/local/cuda/include/cuda_runtime_api.h:2209:39: note: previous
> declaration of 'cudaLaunch' was here
>
> Best regards,
> - Dima.
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel

-- 
Dr. rer. nat. Andreas Knüpfer
Senior Scientist
Technische Universität Dresden
Center for Information Services and HPC (ZIH)
Willersbau A114, Zellescher Weg 12, 01062 Dresden
Tel. +49 351 463 38323
Fax. +49 351 463 37773
Email: andreas.knuepfer_at_[hidden]


  • application/pkcs7-signature attachment: smime.p7s