-
Notifications
You must be signed in to change notification settings - Fork 35
Description
Dear Rob,
I can't compile the code in Solution5. I get this error:
pgcc -I. -I/opt/nvidia/cudatoolkit8.0/8.0.54_2.2.8_ga620558-2.1/include -DFP32 -fast -Minline -Minfo=all -acc -ta=multicore -tp=haswell -o 3Dwave_acc_multicore.out 3Dwave_acc_multicore.c -L/opt/nvidia/cudatoolkit8.0/8.0.54_2.2.8_ga620558-2.1/lib64 -lcudart
PGC-F-0249-#error -- --- !!! UNKNOWN COMPILER: please provide a CUDA compatible definition for 'align' !!! --- (/opt/nvidia/cudatoolkit8.0/8.0.54_2.2.8_ga620558-2.1/include/host_defines.h: 133)
PGC/x86-64-Extractor Linux 17.4-0: aborted
Makefile:47: recipe for target 'build' failed
make: *** [build] Error 2
I'm using CUDA8.0 and PGI compiler (Community Edition) 17.4.
After some googling, I've found this post that may be related to the issue: https://www.pgroup.com/userforum/viewtopic.php?t=3624&postdays=0&postorder=asc&start=0. However, I wasn't able to fix it.
Would it be possible to know version of CUDA and PGI Compiler used by the author of Chapter 09?
Thanks a lot.
Best regards,
-Filippo