Oh, sorry, I did not realize this is actually a problem on VampirTrace site! Then, I'm changing topic and forwarding this back to OpenMPI.
Thanks, - D. 2012/9/4 Rolf vandeVaart <rvandeva...@nvidia.com>: > Hello Dimitry: > > Thanks for the information. I am hoping the VampirTrace folks can comment on > this since the issue seems to be in areas of the code they work in. > > >>-----Original Message----- >>From: Dmitry N. Mikushin [mailto:maemar...@gmail.com] >>Sent: Monday, September 03, 2012 1:37 PM >>To: Rolf vandeVaart >>Cc: de...@open-mpi.org >>Subject: Re: OpenMPI CUDA 5 readiness? >> >>CUDA 5 basically changes char* to void* in some functions. Attached is a small >>patch which changes prototypes, depending on used CUDA version. Tested >>with CUDA 5 preview and 4.2. >> >>- D. >> >>2012/9/2 Dmitry N. Mikushin <maemar...@gmail.com>: >>> 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. > ----------------------------------------------------------------------------------- > This email message is for the sole use of the intended recipient(s) and may > contain > confidential information. Any unauthorized review, use, disclosure or > distribution > is prohibited. If you are not the intended recipient, please contact the > sender by > reply email and destroy all copies of the original message. > -----------------------------------------------------------------------------------
openmpi.cuda.patch
Description: Binary data