Skip to content

Tinker9: Error in make step #167

Answered by larsakth
larsakth asked this question in Q&A
Oct 14, 2021 · 2 comments · 17 replies
Discussion options

You must be logged in to vote

Thanks Zhi,

I tried your suggestions with:

  • export FC=gfortran CC=nvcc
  • cmake ...
    (wth the recommended flags and directories; a few warnings but no errors)
    (however, if instead exporting CC=nvc++, cmake halts complaining that nvc++ cannot compile the test file)
    A Makefile is produced, as expected
  • make
    (without -j)
    runs well until the very end giving the following error message:
    ...
    [100%] Built target tinker9_cpp
    Scanning dependencies of target tinker9
    /opt/tinker9/build-cmake/src/libtinker9_cpp.a(info_x.cc.o): In function tinker::x_info(int, char**)': /opt/tinker9/src/info_x.cc:88: undefined reference to tinker::cuda_compiler_name()'
    pgacclnk: child process exit status 1: /usr/bin/ld
    make…

Replies: 2 comments 17 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
17 replies
@larsakth
Comment options

@zhi-wang
Comment options

@larsakth
Comment options

@zhi-wang
Comment options

@larsakth
Comment options

Answer selected by zhi-wang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants