Error with using downloaded mpich and lammpi shared

Ben Tay zonexo at
Sun Apr 8 22:29:21 CDT 2007


when trying to configure usign download-mpich=1, I got this error:

Running configure on MPICH; this may take several

         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for
Error running configure on MPICH: Could not execute 'cd
CC="/scratch1/g0306332/intel/cc/bin/icc  -fPIC -O " CXX="g++  -Wall
-Wwrite-strings -O   -fPIC " F90="/scratch1/g0306332/intel/fc/bin/ifort
-fPIC -O  " F77="/scratch1/g0306332/intel/fc/bin/ifort  -fPIC -O  "
--enable-sharedlibs=gcc --without-mpe --with-pm=gforker':
Configuring MPICH2 version 1.0.4p1 with '--prefix=/lsftmp/g0306332/petsc-
'CC=/scratch1/g0306332/intel/cc/bin/icc  -fPIC -O ' 'CXX=g++  -Wall
-Wwrite-strings -O   -fPIC ' 'F90=/scratch1/g0306332/intel/fc/bin/ifort
-fPIC -O  ' 'F77=/scratch1/g0306332/intel/fc/bin/ifort  -fPIC -O  '
'--enable-sharedlibs=gcc' '--without-mpe' '--with-pm=gforker' 'CFLAGS=-mp
-DANSI -I/app1/ia64/imsl/imsl/cnl600/itanium/include' 'F90FLAGS=-w -nologo
-fpp -I/app1/ia64/imsl/CTT6.0/include/linx64_i9 -I/usr/local/mpich-
'FFLAGS=-w -nologo -fpp -I/app1/ia64/imsl/CTT6.0/include/linx64_i9
Executing mpich2prereq in
1.0.4p1/src/mpid/ch3 with
Executing mpich2prereq in /lsftmp/g0306332/petsc-2.3.2-p8-new
sourcing /lsftmp/g0306332/petsc-2.3.2-p8-new/externalpackages/mpich2-
checking for gcc... /scratch1/g0306332/intel/cc/bin/icc  -fPIC -O
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /scratch1/g0306332/intel/cc/bin/icc  -fPIC -O  accepts
-g... yes
checking for /scratch1/g0306332/intel/cc/bin/icc  -fPIC -O  option to accept
ANSI C... none needed
checking for type of weak symbol support... pragma weak
checking whether __attribute__ ((weak)) allowed... yes
checking for multiple weak symbol support... yes
configure: error: The values of the environment variables F77
(=/scratch1/g0306332/intel/fc/bin/ifort  -fPIC -O  ) and FC (=ifort) are not
the same.  Unset one or both and rerun configure

 it seems that the F77 and FC environment variables are different. I want to
use (=/scratch1/g0306332/intel/fc/bin/ifort). How can I configure them?

 If I use the lammpi which the sch provide, I got this error msg:
./config/ --with-cc=icc --with-fc=ifort
--download-f-blas-lapack=1 --download-hypre=1 --with-debugging=0
--with-mpirun=/app1/ia64/lammpi/bin/mpirun --with-x=0 --with-shared

I also replace with libmpi.a but both cannot work.

Shared libraries cannot be built using MPI provided.
Either rebuild with --with-shared=0 or rebuild MPI with shared library

What's the extension for shared libraries for ia64 platform? Is it *.so?

thanks alot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the petsc-users mailing list