-
Notifications
You must be signed in to change notification settings - Fork 176
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
Failed to configure with PGI and CUDA unless CC=pg++ #306
Comments
Hello |
Thanks for the reply. I have tried
I did some search and apply the following patch to make it work.
I hope this will not broke anything. |
If pgcc doesn't support cuda_runtime_api.h, then some parts of hwloc itself won't build with pgcc (at least topology-cuda.c and tests/hwloc/cuda*.c), and you would need to use CC=pg++ for building hwloc. |
I'm having the same issue. I checked PGI's installation guide and found that any version pf PGI doesn't support Intel Xeon CPU... Have you solved the issue yet? |
Hello @ChingKing and @YuhaoYHH |
I applied the above-mentioned patch to my local repo and proceed. I have confirmed that using |
FWIW, it's pretty straightforward to add a PGI build to Travis; see https://github.com/nemequ/pgi-travis |
This bug is very old and building with your configure line works fine now (just tested with PG compilers 22.3-0). Hence I am closing this. |
What version of hwloc are you using?
From github source, commit 2742199
Which operating system and hardware are you running on?
CentOS
$ uname -a
Linux xxx 3.10.0-229.el7.x86_64 #1 SMP Fri Mar 6 11:36:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
CPU: Intel(R) Xeon(R) CPU E5-2687W v3 @ 3.10GHz (Haswell)
Details of the problem
I'm trying to use PGI compiler to build hwloc with CUDA support. I got an error message during configuration. Followings are command line I used and the output.
Here it shows it cannot find
cuda_runtime_api.h
, but I have confirmed that the file is there at/usr/local/cuda-9.0/include
. I have tried different version of PGI (17.10, 18.1, 18.3), but none of them work. However, it works fine with GNU compiler.Any suggestion is appreciated.
Thanks,
The text was updated successfully, but these errors were encountered: