On Fri, Feb 24, 2012 at 12:12 PM, Matthew Knepley <knepley@gmail.com> wrote:
On Fri, Feb 24, 2012 at 11:06 AM, John Fettig <john.fettig@gmail.com> wrote:
On Fri, Feb 24, 2012 at 11:56 AM, Satish Balay <balay@mcs.anl.gov> wrote:
for one I mistyped the option - it should be: --with-cudac='nvcc -ccbin icc'

But then - should it not be c++? [as cuda internally uses g++ - not gcc]. So

--with-cudac='nvcc -ccbin icpc'.

But this gives me all kinds of wierd errors in configure.log.. Maybe
it won't work [with intel compilers]..

CUDA .cu files are written in C with some extensions (that are handled by nvcc and not the passed compiler), so I think you have to use a C compiler.  You can't write C++ in a .cu file.

I do not think this is correct. You can have C++.

Oops, you are right.  There are restrictions on what can be on the device side, but not on the host side.

John