[petsc-dev] nvcc issue with -Wl,-rpath

Barry Smith bsmith at mcs.anl.gov
Tue Jan 11 17:46:49 CST 2011


  More information! Where in PETSc is it trying to do nvcc -Wl,-rpath,/usr/lib64/mpich2/lib tmp.cu? Send enough material for us to reproduce the problem and we'll debug and fix it.

   Barry


On Jan 11, 2011, at 5:11 PM, Lisandro Dalcin wrote:

> [dalcinl at nikola tmp]$ nvcc --version
> nvcc: NVIDIA (R) Cuda compiler driver
> Copyright (c) 2005-2010 NVIDIA Corporation
> Built on Wed_Nov__3_16:16:57_PDT_2010
> Cuda compilation tools, release 3.2, V0.2.1221
> 
> 
> [dalcinl at nikola tmp]$ nvcc -Wl,-rpath,/usr/lib64/mpich2/lib tmp.cu
> nvcc fatal   : Unknown option 'Wl,-rpath,/usr/lib64/mpich2/lib'
> 
> [dalcinl at nikola tmp]$ nvcc -Xlinker -rpath,/usr/lib64/mpich2/lib tmp.cu
> 
> 
> Because of this, I'm not able to build PETSc with CUDA support on Fedora 13.
> 
> 
> -- 
> Lisandro Dalcin
> ---------------
> CIMEC (INTEC/CONICET-UNL)
> Predio CONICET-Santa Fe
> Colectora RN 168 Km 472, Paraje El Pozo
> Tel: +54-342-4511594 (ext 1011)
> Tel/Fax: +54-342-4511169




More information about the petsc-dev mailing list