-
Notifications
You must be signed in to change notification settings - Fork 67
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
nvcc application building error with CUDA 11.5.0 #1440
Comments
After searching, I get some clues about this issue.
I have a What I need to do seemingly is to modify my |
@timohyva nvcc is always leveraging another compiler + linker, maybe |
I solved this problem, but I still want hear you guys' thoughts and experiences with this type of things, also record the solution for others. I used Then problem here comes in, my project is using Makefile and I set XXX_RPATH = -Wl, -rpath, $(xxxxx) and directly passed to My solution is add Because makefiles are changed in the I observed there won't be such problem if one use |
I finally solved it by putting |
Hi, ascent devs, Happy New Year!
I used
build_ascent_cuda.sh
builtascent v0.9.3
withcuda/11.5.0
on a cluster, which haszen2
EPYC. here is what in my build script:Building was successful. The problem appears when Makefile linker links all the object files. I put
In the linking stage, this error pops:
nvcc fatal : Unknown option '-Wl,-rpath,/my/project/path/ascent/scripts/build_ascent/install/ascent-develop/lib'
I checked the
ascent_config.mk
and identified the-Wl,-rpath, $(ASCENT_DIR)/lib, $(CONDUIT_LINK_RPATH)
ofASCENT_LINK_RPATH
. Whynvcc
complains it is unknown? I tried to ass-Xcomplier
in front of-Wl
, also doesn't help.I guess there is something I don't understand. Could your share some light to me?
The text was updated successfully, but these errors were encountered: