Skip to content

nvcc application building error with CUDA 11.5.0 #1440

@timohyva

Description

@timohyva

Hi, ascent devs, Happy New Year!

I used build_ascent_cuda.sh built ascent v0.9.3 with cuda/11.5.0 on a cluster, which has zen2 EPYC. here is what in my build script:

env  enable_mpi=ON enable_fortran=OFF raja_enable_vectorization=OFF enable_tests=OFF ./build_ascent_cuda.sh

Building was successful. The problem appears when Makefile linker links all the object files. I put

LDFLAGS  += $(ASCENT_LINK_RPATH)
LDLIBS   += $(ASCENT_MPI_CUDA_LIB_FLAGS)

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) of ASCENT_LINK_RPATH. Why nvcc 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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions