Newsgroups: comp.parallel.mpi
From: rosinski@isis.cgd.ucar.edu (Jim Rosinski)
Subject: Problem building MPICH under solaris
Organization: Climate and Global Dynamics Division/NCAR, Boulder, CO
Date: 16 Nov 1995 00:15:20 GMT
Message-ID: <48dvqo$qlo@ncar.ucar.edu>


I have encountered a library problem trying to build MPICH 1.0.10 under
Solaris.  The "make" croaks trying to build the executable "overtake" in
directory "examples/test/pt2pt".  The loader cannot find entry point
"gethostname".  By editing the Makefile in this directory and adding "-lnsl"
to the "LIBLIST =" line, the build completes successfully.

My two questions are: 

1) Is this the "correct" fix?

2) Is this a problem with the distribution, or with my particular Solaris
environment? 

I thought it best to bring up the issue in this forum rather than send mail
to mpi-bugs@mcs.anl.gov in case it is me doing something stupid.  Thanks in
advance.

Jim Rosinski
rosinski@ncar.ucar.edu

