[mpich-discuss] Building MPICH 3.2.1 with Sun Studio 12.5

Michael Pulverenti Michael.Pulverenti at roguewave.com
Tue Jul 24 08:30:11 CDT 2018

I'm having trouble building MPICH 3.2.1 and I'm hoping for some help resolving the problem(s).  Perhaps someone has seen this before.

The environment is:
% uname -a
SunOS spc64sol113ci 5.11 11.3 sun4v sparc sun4v
% f95 -V
f90: Studio 12.5 Fortran 95 8.8 SunOS_sparc 2016/05/31

The config command I used is:
% ./configure --prefix=/export/home4/erhome/jenkins/michaelp/ports/fnl/sol113/mpi/build_area/Mikes_build CC=cc CXX=CC F77=f77 FC=f95 CFLAGS=-m64 CXXFLAGS=-m64 FFLAGS=-m64 FCFLAGS=-m64 LDFLAGS=-m64

Looking at the output from running mpich-3.2.1/make, it appears the problem is an unresolved symbol MPIR_Memcpy:
  CCLD     src/env/mpichversion
Undefined                       first referenced
symbol                             in file
MPIR_Memcpy                         lib/.libs/libmpi.a(lib_libmpi_la-ch3_progress.o)
ld: fatal: symbol referencing errors
*** Error code 2
The following command caused the error:
echo "  CCLD    " src/env/mpichversion;/bin/sh ./libtool --silent --tag=CC    --mode=link cc   -m64   -O2 -static  -m64 -o src/env/mpichversion src/env/mpichversion.o lib/libmpi.la  -lnsl -lsocket -lpthread
make: Fatal error: Command failed for target `src/env/mpichversion'

I can provide the full output from my config and make commands if that helps, but I didn't want to overload my first email to this mail group.

Thanks for any help you are able to provide,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20180724/39aac69b/attachment.html>
-------------- next part --------------
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:

More information about the discuss mailing list