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

Lisandro Dalcin dalcinl at gmail.com
Tue Jan 11 17:11:18 CST 2011


[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