Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solution5 - Can't compile #2

Open
filippo82 opened this issue Sep 1, 2017 · 2 comments
Open

Solution5 - Can't compile #2

filippo82 opened this issue Sep 1, 2017 · 2 comments

Comments

@filippo82
Copy link

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

@rmfarber
Copy link
Owner

rmfarber commented Sep 1, 2017 via email

@filippo82
Copy link
Author

filippo82 commented Sep 3, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants