[mvapich-discuss] build with cudatoolkit(9.1) question
Arnold, Mark
arnoldm at cse.ohio-state.edu
Thu Jan 25 14:23:21 EST 2018
Hi Morin,
This will require a small patch, copied below, which should fix your issue. Note that this should only be affecting the standard MVAPICH version not our GDR version. This will be fixed in upcoming versions of MVAPICH as well.
-Mark
diff --git a/src/mpid/ch3/channels/mrail/src/cuda/Makefile.mk b/src/mpid/ch3/channels/mrail/src/cuda/Makefile.mk
index 875f6f440f..1c1a17a103 100644
--- a/src/mpid/ch3/channels/mrail/src/cuda/Makefile.mk
+++ b/src/mpid/ch3/channels/mrail/src/cuda/Makefile.mk
@@ -13,7 +13,8 @@
## -maxrregcount values
NVCC = nvcc
-NVCFLAGS = -cuda -arch sm_20 -maxrregcount 32
+NVCFLAGS = -cuda
+
SUFFIXES += .cu .cpp
.cu.cpp:
$(NVCC) $(NVCFLAGS) $(INCLUDES) $(CPPFLAGS) --output-file $@ $<
________________________________
From: mvapich-discuss-bounces at cse.ohio-state.edu on behalf of Morin, Monique Marlene [morin at lanl.gov]
Sent: Thursday, January 25, 2018 12:38 PM
To: mvapich-discuss at cse.ohio-state.edu
Subject: [mvapich-discuss] build with cudatoolkit(9.1) question
Hello,
Trying to compile MVAPICH2 (version 2.2) with cudatoolkit (version 9.1).
Getting the following error:
nvcc fatal : Value 'sm_20' is not defined for option 'gpu-architecture'
Wondering if there is a flag to set for MVAPICH configure process that will pass updated/correct value(s) to cudatoolkit?
Thanks,
Morin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 5373 bytes
Desc: not available
URL: <http://mailman.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20180125/d2e2fd94/attachment.bin>
More information about the mvapich-discuss
mailing list