From bc351e9510514fdc7ffc0f83b56bafdb75761d70 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Thu, 8 Apr 1999 13:43:46 -0500 Subject: [svn-r1174] INSTALL_parallel.ascired: Changed to use the mpio version by Daniel Sands. Added --disable-shared to ask for a non-shared version. configure: $AR was not passed to the creation of libtool. tflops uses xar instead of the generic ar. --- INSTALL_parallel.ascired | 26 ++++++++++++++++++++++++-- configure | 2 +- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/INSTALL_parallel.ascired b/INSTALL_parallel.ascired index e0deb5d..4e0243a 100644 --- a/INSTALL_parallel.ascired +++ b/INSTALL_parallel.ascired @@ -28,14 +28,36 @@ default_mode="-DDOS386 $debug -DH5F_LOW_DFLT=H5F_LOW_SEC2" MPICH="" ROMIO="/usr/community/mpi-io/romio/current" + +# new version by Daniel Sands +# /scratch/acheng/mpich-1.1.2 is a symbolic pointer. +# It is set to different value in different machines because +# Daniel Sands' $HOME path is different too. *sigh* +ROMIO="/scratch/acheng/mpich-1.1.2" +if [ ! -d $ROMIO ] +then + echo "ROMIO directory ($ROMIO) not found" + echo "Aborted" + exit 1 +fi mpi1_inc="" mpi1_lib="" mpio_inc="-I$ROMIO/include" -mpio_lib="-L$ROMIO/lib/tflop" +mpio_lib="-L$ROMIO/build/tflops/ptls/lib" + MPI_INC="$mpi1_inc $mpio_inc" MPI_LIB="$mpi1_lib $mpio_lib" +#for version 1.1 and later +RUNSERIAL="yod -sz 1" +export RUNSERIAL +RUNPARALLEL="yod -sz 8" +export RUNPARALLEL +LIBS="-lmpich" +export LIBS + + # Once these variables are set to the proper values for your installation, # you can run the configure program (i.e., ./configure tflop --enable-parallel=mpio) # to set up the Makefiles, etc. @@ -48,4 +70,4 @@ MPI_LIB="$mpi1_lib $mpio_lib" CFLAGS="$default_mode" \ CPPFLAGS=$MPI_INC \ LDFLAGS=$MPI_LIB \ -./configure --enable-parallel tflop +./configure --enable-parallel --disable-shared tflop diff --git a/configure b/configure index f5a9594..32cb3c1 100755 --- a/configure +++ b/configure @@ -1300,7 +1300,7 @@ case "$host" in esac # Actually configure libtool. ac_aux_dir is where install-sh is found. -CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \ +AR="$AR" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \ LD="$LD" NM="$NM" RANLIB="$RANLIB" LN_S="$LN_S" \ ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig \ $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \ -- cgit v0.12