Re: [gmx-users] Re: Build on OSX with 4.6beta1

2012-12-04 Thread Szilárd Páll
Hi Carlo, I think I know now what the problem is. The CUDA compiler, nvcc, uses a the host compiler to compile CPU code which is generated as C++ and therefore, a C++ compiler is needed. However, up until CUDA 5.0 nvcc did not recognize the Intel C++ compiler (icpc) and it would only accept icc as

[gmx-users] Re: Build on OSX with 4.6beta1

2012-12-04 Thread Carlo Camilloni
Dear Szilárd, My cmake version in the 2.8.9. The error is Linking C shared library libgmx.dylib Undefined symbols for architecture x86_64: "std::terminate()", referenced from: do_memtest(unsigned int, int, int) in libgpu_utils.a(gpu_utils_generated_gpu_utils.cu.o) memtestState::alloca

Re: [gmx-users] Re: Build on OSX with 4.6beta1

2012-11-30 Thread Roland Schulz
Hi Carlo, thanks for the feedback! Roland On Fri, Nov 30, 2012 at 1:35 PM, Carlo Camilloni wrote: > Hi Roland, > > so, the problem is not fixed by changing to > -DCUDA_NVCC_HOST_COMPILER=/usr/bin/g++ , > I still have to change by hand clang to clang++ in that single link.txt > file, > while ev

[gmx-users] Re: Build on OSX with 4.6beta1

2012-11-30 Thread Carlo Camilloni
Hi Roland, so, the problem is not fixed by changing to -DCUDA_NVCC_HOST_COMPILER=/usr/bin/g++ , I still have to change by hand clang to clang++ in that single link.txt file, while everything works fine by checking out the revision you suggested. Best, Carlo > Message: 3 > Date: Fri, 30 Nov 201