[mvapich-discuss] Building with PGI 13.6 and --enable-shared

Jiri Kraus jkraus at nvidia.com
Wed Jul 17 08:49:50 EDT 2013


Hi,

I had issue building MVAPICH2-1.9 with PGI 13.6 and shared libraries. When I configure MVAPICH2-1.9 with

CC=pgcc CXX=pgc++ F77=pgf77 FC=pgfortran CPPFLAGS="-D__x86_64 -D__align__\(n\)=__attribute__\(\(aligned\(n\)\)\) -D__location__\(a\)=__annotate__\(a\) -DCUDARTAPI=" ./configure --enable-cuda=basic --enable-shared --disable-mcast --with-cuda=/opt/cuda_5.0 --prefix=/homeb/zam/jkraus/local/mvapich2-1.9/pgi-13.6/cuda-5.0

It fails during make with:
  CXXLD    lib/libmpichcxx.la
pgc++-Error-Unknown switch: -nostdlib

-nostdlib is a gcc option I think the correct pgi option would be -Mnostdlib.

For me I could work around this by specifying  --disable-shared instead of --enable-shared during configure. I thought it is worth posting this here anyway.

Jiri

NVIDIA GmbH, Wuerselen, Germany, Amtsgericht Aachen, HRB 8361
Managing Director: Karen Theresa Burns

-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------



More information about the mvapich-discuss mailing list