Hello David,
I’ve figured out that CUDA 9.0 requires Xcode command line tools 8.3 to be installed. I’ve reverted to Command Line Tools 8.3 and solved the issue as suggested by this guide: https://github.com/pytorch/pytorch/issues/3047
Make install now gives me the following error:
ld: warning: directory not found for option '-L/Developer/NVIDIA/CUDA-9.0/lib64'
ld: library not found for -lcuda
collect2: error: ld returned 1 exit status
make[2]: *** [pbsa.cuda] Error 1
make[1]: *** [cuda_serial] Error 2
make: *** [install] Error 2
I do not understand why the directory is not there as I have downloaded CUDA 9.0 toolkit directly from the Nvidia site. Thank you in advance.
Message: 4
Date: Mon, 23 Apr 2018 20:51:51 -0400
From: David A Case <david.case.rutgers.edu<mailto:david.case.rutgers.edu>>
Subject: Re: [AMBER] Configure cuda
To: AMBER Mailing List <amber.ambermd.org<mailto:amber.ambermd.org>>
Message-ID:
<
20180424005151.jb5idvkpqle2nb2r.vpn-client-172-16-8-12.rutgers.edu<mailto:
20180424005151.jb5idvkpqle2nb2r.vpn-client-172-16-8-12.rutgers.edu>>
Content-Type: text/plain; charset=utf-8
On Mon, Apr 23, 2018, Kadir Ozcan wrote:
Removing "-gencode arch=compute_60,code=sm_70? gives me the following error:
nvcc fatal : The version ('90100') of the host compiler ('Apple clang') is not supported
make[2]: *** [cuda_cg_wrapper.o] Error 1
make[1]: *** [cuda_serial] Error 2
make: *** [install] Error 2
As far as I can tell, the nvidia system requirements are given here:
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.nvidia.com%2Fcuda%2Fcuda-installation-guide-mac-os-x%2Findex.html%23system-requirements&data=02%7C01%7CKadir.Ozcan%40jefferson.edu%7Cf18b16d05961440111de08d5aa15a18b%7C55a89906c710436bbc444c590cb67c4a%7C0%7C0%7C636601932238029231&sdata=kDFvIf%2BiZYusjaYHU%2FYdEIN%2B9AmTeD3IZXSIkBS62wA%3D&reserved=0
As you can see, you need XCode 9.2. If you Google on "xcode 9.2
download" you will see a variety of options, depending on whether or not
you have Apple developer id (which is *not* needed.)
...hope this helps....dac
The information contained in this transmission contains privileged and confidential information. It is intended only for the use of the person named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
CAUTION: Intended recipients should NOT use email communication for emergent or urgent health care matters.
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Apr 26 2018 - 09:30:03 PDT