-
Notifications
You must be signed in to change notification settings - Fork 35
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
Comments
Hi Broggini,
It looks like an install incompatibility. I cannot open the link you provided. However, I contacted the chapter author. I also suggest contacting PGI.
Rob
From: Filippo Broggini [mailto:[email protected]]
Sent: Friday, September 01, 2017 8:14 AM
To: rmfarber/ParallelProgrammingWithOpenACC <[email protected]>
Cc: Subscribed <[email protected]>
Subject: [rmfarber/ParallelProgrammingWithOpenACC] Solution5 - Can't compile (#2)
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
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#2> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AEdU0eJ0hkcKO05Ry0rELPFD-peBpGRqks5seB83gaJpZM4PKSFU> . <https://github.com/notifications/beacon/AEdU0fNQLs-NfQuFH8SVwOOnU0VXrzQ9ks5seB83gaJpZM4PKSFU.gif>
|
Dear Rob,
thanks a lot for your reply. It would be great if the author will let you
know about the compiler and CUDA versions that he had used.
I'm an OpenACC beginner and I am enjoying the book so far. It is really
well done. I work at ETH in Zurich, Switzerland and we are in touch with
the local NVIDIA office to possibly organise an OpenACC workshop.
FYI, I've attached the pdf of the post in the PGI forum that you weren't
able to open.
Thanks again.
Best wishes,
-Filippo
…On Fri, Sep 1, 2017 at 10:39 PM, rmfarber ***@***.***> wrote:
Hi Broggini,
It looks like an install incompatibility. I cannot open the link you
provided. However, I contacted the chapter author. I also suggest
contacting PGI.
Rob
From: Filippo Broggini ***@***.***
Sent: Friday, September 01, 2017 8:14 AM
To: rmfarber/ParallelProgrammingWithOpenACC <ParallelProgrammingWithOpenAC
***@***.***>
Cc: Subscribed ***@***.***>
Subject: [rmfarber/ParallelProgrammingWithOpenACC] Solution5 - Can't
compile (#2)
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
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <
#2> , or
mute the thread <https://github.com/notifications/unsubscribe-
auth/AEdU0eJ0hkcKO05Ry0rELPFD-peBpGRqks5seB83gaJpZM4PKSFU> . <
https://github.com/notifications/beacon/AEdU0fNQLs-
NfQuFH8SVwOOnU0VXrzQ9ks5seB83gaJpZM4PKSFU.gif>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFVg5CbxSJzwUqFD28KMUJ7M7w9aeDMkks5seGuDgaJpZM4PKSFU>
.
--
*-- Dr. Filippo Broggini-- Exploration and Environmental Geophysics
(EEG)Department of Earth SciencesInstitute of GeophysicsETH Zurich*
*NO H 47Sonneggstrasse 58092 ZürichSwitzerlandEEG website:
http://www.eeg.ethz.ch/ <http://www.eeg.ethz.ch/>E-mail:
[email protected] <[email protected]>*
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dear Rob,
I can't compile the code in Solution5. I get this error:
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
The text was updated successfully, but these errors were encountered: