[MPICH] Solaris 10x64+Studio 11+MPICH1.2.7

Dave Lane dlane at ap.stmarys.ca
Tue Dec 13 11:14:57 CST 2005


At 12:38 PM 12/8/2005, Rusty Lusk wrote:
> > I'm having trouble building MPICH under Solaris 10x64 (Opteron) with
> > the Sun Studio compilers in order to be able build 64-bit applications.
> >
> > I have had no trouble building it, compiling applications, and
> > running them in 32-bit mode (ie. without the 64-bit switches
> > (-xtarget=opteron -xarch=amd64).

Just a quick followup that I've been able to build MPICH 2.0.x for 
Solaris x64 in 64-bit mode (getting the user's application to run is 
another matter!).

For the record, the build script looks like this:

setenv F90 "f95 -xarch=amd64"
setenv F90FLAGS "-xarch=amd64"

setenv F77 "f77 -xarch=amd64"
setenv FFLAGS "-xarch=amd64"

setenv CC "cc -xarch=amd64"
setenv CFLAGS "-xarch=amd64"

setenv CXX CC
setenv CXXFLAGS "-xarch=amd64"
setenv LDFLAGS "-xarch=amd64"

unsetenv LD_LIBRARY_PATH
setenv TARGETDIR /usr/local/mpich2-64
rm -rf $TARGETDIR
mkdir $TARGETDIR

set path=(/opt/studio11/SUNWspro/bin /bin /usr/bin /usr/ccs/bin /usr/sfw/bin .)

./configure --prefix=$TARGETDIR | & tee configure.log

echo " "
echo "waiting to make..."
read

make | & tee make.log

echo " "
echo "waiting to install..."
read

make install

--- end ---

... Dave




More information about the mpich-discuss mailing list