I’m trying to experiment with CUDA 4.0 and a large model that I work on. On one machine where this is done, I need to load a python module (for f2py) that requires gcc 4.5 also be loaded. Unfortunately, when you have gcc-4.5 loaded, CUDA 4.0 goes a-failing:
In file included from /usr/local/sles11/pgi/linux86-64/2011/cuda/4.0/include/cuda_runtime.h:59:0,
from /gpfsm/dnb31/tdirs/pbs.137231.borgpbs1.mathomp4/pgcudafor25GcI9HkDRf4.gpu:1:
/usr/local/sles11/pgi/linux86-64/2011/cuda/4.0/include/host_config.h:82:2: error: #error -- unsupported GNU version! gcc 4.5 and up are not supported!
PGF90-F-0000-Internal compiler error. pgnvd job exited with nonzero status code 0 (irrad.F90: 3027)
PGF90/x86-64 Linux 11.8-0: compilation aborted
gmake[6]: *** [irrad.o] Error 2
Is there any way around this? Or should I ask the sysadmins to install a parallel-installable gcc-4.4 and try to use --compiler-bindir a la this NVIDIA forum post. But that raises the question: is there a PGI analogue to --compiler-binder?
Anyone else encounter this?
Thanks,
Matt