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

Michael Pulverenti Michael.Pulverenti at roguewave.com
Tue Jul 31 09:01:23 CDT 2018

I did some more digging at it appears the call to the unresolved function MPIR_Memcpy was introduced in 2016 by Changeset https://trac.mpich.org/projects/mpich/changeset/c3bb71e72f88034ce7ebcc681445ac7d09c78d93.

Can anyone confirm they have built MPICH 3.2.1 on SPARC with Sun Studio, and if so, if/how they resolved the call to MPIR_Memcpy that appears in src/mpid/ch3/channels/nemesis/src/ch3_progress.c?

Thanks for any help.

-----Original Message-----
From: discuss-request at mpich.org <discuss-request at mpich.org> 
Sent: Tuesday, July 24, 2018 12:00 PM
To: discuss at mpich.org
Subject: discuss Digest, Vol 69, Issue 13

Send discuss mailing list submissions to
	discuss at mpich.org

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to
	discuss-request at mpich.org

You can reach the person managing the list at
	discuss-owner at mpich.org

When replying, please edit your Subject line so it is more specific than "Re: Contents of discuss digest..."

Today's Topics:

   1.  Building MPICH 3.2.1 with Sun Studio 12.5 (Michael Pulverenti)


Message: 1
Date: Tue, 24 Jul 2018 13:30:11 +0000
From: Michael Pulverenti <Michael.Pulverenti at roguewave.com>
To: "discuss at mpich.org" <discuss at mpich.org>
Subject: [mpich-discuss] Building MPICH 3.2.1 with Sun Studio 12.5
	<SN6PR02MB417551F2DB6679E20440811C8D550 at SN6PR02MB4175.namprd02.prod.outlook.com>
Content-Type: text/plain; charset="us-ascii"

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, --Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20180724/39aac69b/attachment.html>


Subject: Digest Footer

discuss mailing list
discuss at mpich.org


End of discuss Digest, Vol 69, Issue 13
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:

More information about the discuss mailing list