<div>Hi,</div>
<div> </div>
<div>I have some problems with using mpi. My code works with one server but when I test it on another system, I get the wrong answers. In that system, the mpi is located at /usr/local/topspin/mpi/mpich/. I tried to specify it with --with-mpi-dir but it wasn't able to find during config. I then add --with-mpirun=/usr/local/topspin/mpi/mpich/bin/mpirun_ssh and it compiled but wrong answers when run. May I know what file does it look for if --with-mpi-lib is used? My lib64 directory has
</div>
<div> </div>
<div>libfmpich.a libfmpich_p.a libmpich.a libmpichf90nc_i.a libmpichf90nc_p.so libmpichfsup.a libmpichfsup_p.a libmpich_i.a libmpich_p.so libpmpich++.so<br>libfmpich_i.a libfmpich_p.so libmpichf90_i.a libmpichf90nc_i.so libmpichf90_p.a libmpichfsup_i.a libmpichfsup_p.so libmpich_i.so
libmpich.so<br>libfmpich_i.so libfmpich.so libmpichf90_i.so libmpichf90nc_p.a libmpichf90_p.so libmpichfsup_i.so libmpichfsup.so libmpich_p.a libpmpich++.a</div>
<div> </div>
<div> </div>
<div>I then tried to use <font color="#0f0000">--download-mpich=yes</font> but the error msg is</div>
<div> </div>
<div>*********************************************************************************<br> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):<br>---------------------------------------------------------------------------------------
<br>Error running configure on MPICH: Could not execute 'cd /nfs/lsftmp/g0306332/petsc-2.3.2-p7/externalpackages/mpich2-1.0.4p1;./configure --prefix=/nfs/lsftmp/g0306332/petsc-2.3.2-p7/externalpackages/mpich2-1.0.4p1/linux64-mpi-shared CC="icc -fPIC -g " --disable-cxx F90="ifort -fPIC -g " F77="ifort -fPIC -g " --enable-sharedlibs=libtool --without-mpe --with-pm=gforker':
<br>Configuring MPICH2 version 1.0.4p1 with '--prefix=/nfs/lsftmp/g0306332/petsc-2.3.2-p7/externalpackages/mpich2-1.0.4p1/linux64-mpi-shared' 'CC=icc -fPIC -g ' '--disable-cxx' 'F90=ifort -fPIC -g ' 'F77=ifort -fPIC -g ' '--enable-sharedlibs=libtool' '--without-mpe' '--with-pm=gforker'
<br>Executing mpich2prereq in /nfs/lsftmp/g0306332/petsc-2.3.2-p7/externalpackages/mpich2-1.0.4p1/src/mpid/ch3 with <br>Executing mpich2prereq in /nfs/lsftmp/g0306332/petsc-2.3.2-p7/externalpackages/mpich2-1.0.4p1/src/mpid/ch3/channels/sock
<br>sourcing /nfs/lsftmp/g0306332/petsc-2.3.2-p7/externalpackages/mpich2-1.0.4p1/src/pm/gforker/mpich2prereq<br>checking for gcc... icc -fPIC -g <br>checking for C compiler default output file name... a.out<br>checking whether the C compiler works... yes
<br>checking whether we are cross compiling... no<br>checking for suffix of executables... <br>checking for suffix of object files... o<br>checking whether we are using the GNU C compiler... yes<br>checking whether icc -fPIC -g accepts -g... yes
<br>checking for icc -fPIC -g option to accept ANSI C... none needed<br>checking for type of weak symbol support... pragma weak<br>checking whether __attribute__ ((weak)) allowed... yes<br>checking for multiple weak symbol support... yes
<br>checking whether we are using the GNU Fortran 77 compiler... no<br>checking whether ifort -fPIC -g accepts -g... yes<br>checking how to get verbose linking output from ifort -fPIC -g ... -v<br>checking for Fortran libraries of ifort -fPIC -g ... -L/usr/local/intel/fc9.0/lib -L/usr/lib/gcc/x86_64-redhat-linux/3.4.6/ -L/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../lib64 -lsvml -lifport -lifcore -limf -lm -lirc -lgcc_s -lirc_s
<br>checking whether C can link with -L/usr/local/intel/fc9.0/lib -L/usr/lib/gcc/x86_64-redhat-linux/3.4.6/ -L/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../lib64 -lsvml -lifport -lifcore -limf -lm -lirc -lgcc_s -lirc_s... yes
<br>checking for linker for Fortran main programs... Use Fortran to link programs<br>checking for Fortran 77 name mangling... lower underscore<br>checking that f works as the extension for Fortran 90 program... yes<br>checking whether we are using the GNU Fortran 90 compiler... no
<br>checking whether ifort -fPIC -g accepts -g... yes<br>checking for extension for Fortran 90 programs... f90<br>checking whether the Fortran 90 compiler (ifort -fPIC -g ) works... yes<br>checking whether the Fortran 90 compiler (ifort -fPIC -g ) is a cross-compiler... no
<br>checking whether Fortran 90 works with Fortran 77... yes<br>checking whether Fortran accepts ! for comments... yes<br>checking for include directory flag for Fortran... -I<br>checking for Fortran 77 flag for library directories... -L
<br>checking for which Fortran libraries are needed to link C with Fortran... none<br>checking whether Fortran compiler processes .F files with C preprocessor... yes<br>checking that f works as the extension for Fortran 90 program... yes
<br>checking whether we are using the GNU Fortran 90 compiler... (cached) no<br>checking whether ifort -fPIC -g accepts -g... (cached) yes<br>checking for extension for Fortran 90 programs... f90<br>checking whether the Fortran 90 compiler (ifort -fPIC -g ) works... yes
<br>checking whether the Fortran 90 compiler (ifort -fPIC -g ) is a cross-compiler... no<br>checking for Fortran 90 module extension... mod<br>checking for Fortran 90 module include flag... -I<br>checking whether Fortran 90 accepts f90 suffix... yes
<br>checking whether Fortran 90 compiler processes .F90 files with C preprocessor... yes<br>checking for f90 compiler vendor... intel<br>checking for perl... /usr/bin/perl<br>checking for ar... ar<br>checking for ranlib... ranlib
<br>checking for etags... etags<br>checking for etags argument to specify language... --language=c<br>checking whether global variables handled properly... yes<br>checking for a BSD-compatible install... /usr/bin/install -c
<br>checking whether install works... yes<br>checking whether install breaks libraries... no<br>checking whether mkdir -p works... yes<br>checking for make... make<br>checking whether clock skew breaks make... no<br>checking whether make supports include... yes
<br>checking whether make allows comments in actions... yes<br>checking for virtual path format... VPATH<br>checking whether make sets CFLAGS... no<br>checking for bash... /bin/sh<br>checking whether /bin/sh supports arrays... yes
<br>configure: error: Creating shared libraries using libtool not yet supported<br>*********************************************************************************<br> </div>
<div>May I know what's wrong?</div>
<div> </div>
<div>Thank you.</div>
<div> </div>
<div>Regards</div>