[CP2K:3825] Compile cp2k with CUDA on mac osx

Urban Borštnik urban.b... at gmail.com
Tue May 15 09:40:31 CEST 2012


Hi,

On Mon, 2012-05-14 at 12:00 -0700, Samuel Lamphier wrote:
> Hello all,
> I am trying to compile cp2k with CUDA on a macpro. I have 2 nvidia
> quadro 4000 cards for GPU computation. However, when trying to
> compile, the compiler is looking for -lrt which is the Posix real time
> library as I understand. However... this is not supported on a mac.
> How can I work around this?

You can edit the file cuda_tools/dbcsr_cuda_timing to remove calls to
the realtime funcions, and then not link to librt.

Cheers,
Urban.

> 
> Thanks in advance
> 





More information about the CP2K-user mailing list