<div>Hi,</div>
<div> </div>
<div>I tried using shared=0 and got this when I used lammpi:</div>
<div> </div>
<div>--with-mpi-lib=['/app1/ia64/lammpi/lib/libmpi.la'] and <br>--with-mpi-include=/app1/ia64/lammpi/include/ did not work<br> </div>
<div>same for libmpi.a. Did I specify the wrong files?</div>
<div> </div>
<div>thanks.<br><br> </div>
<div><span class="gmail_quote">On 4/9/07, <b class="gmail_sendername">Matthew Knepley</b> <<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On 4/8/07, Ben Tay <<a href="mailto:zonexo@gmail.com">zonexo@gmail.com</a>> wrote:<br>> Hi,<br>>
<br>> when trying to configure usign download-mpich=1, I got this error:<br>> =================================================================================<br>><br>><br>> Running configure on MPICH; this may take several
<br>> minutes<br>><br>><br>> =================================================================================<br>><br>><br>><br>><br>><br>><br>> *********************************************************************************
<br>> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for<br>> details):<br>> ---------------------------------------------------------------------------------------<br>> Error running configure on MPICH: Could not execute 'cd
<br>> /lsftmp/g0306332/petsc-<br>> 2.3.2-p8-new/externalpackages/mpich2-1.0.4p1;./configure<br>> --prefix=/lsftmp/g0306332/petsc-2.3.2-p8-new/externalpackages/mpich2-1.0.4p1/ia64<br>> CC="/scratch1/g0306332/intel/cc/bin/icc -fPIC -O "
<br>> CXX="g++ -Wall -Wwrite-strings -O -fPIC "<br>> F90="/scratch1/g0306332/intel/fc/bin/ifort -fPIC -O "<br>> F77="/scratch1/g0306332/intel/fc/bin/ifort -fPIC -O "<br>> --enable-sharedlibs=gcc --without-mpe --with-pm=gforker':
<br>> Configuring MPICH2 version 1.0.4p1 with<br>> '--prefix=/lsftmp/g0306332/petsc-2.3.2-p8-new/externalpackages/mpich2-1.0.4p1/ia64'<br>> 'CC=/scratch1/g0306332/intel/cc/bin/icc -fPIC -O '<br>> 'CXX=g++ -Wall -Wwrite-strings -O -fPIC '
<br>> 'F90=/scratch1/g0306332/intel/fc/bin/ifort -fPIC -O '<br>> 'F77=/scratch1/g0306332/intel/fc/bin/ifort -fPIC -O '<br>> '--enable-sharedlibs=gcc' '--without-mpe' '--with-pm=gforker' 'CFLAGS=-mp
<br>> -DANSI -I/app1/ia64/imsl/imsl/cnl600/itanium/include'<br>> 'F90FLAGS=-w -nologo -fpp<br>> -I/app1/ia64/imsl/CTT6.0/include/linx64_i9<br>> -I/usr/local/mpich- 1.2.7p1/include' 'FFLAGS=-w -nologo -fpp
<br>> -I/app1/ia64/imsl/CTT6.0/include/linx64_i9<br>> -I/usr/local/mpich-1.2.7p1/include'<br>> Executing mpich2prereq in<br>> /lsftmp/g0306332/petsc-2.3.2-p8-new/externalpackages/mpich2-<br>> 1.0.4p1/src/mpid/ch3 with
<br>> Executing mpich2prereq in<br>> /lsftmp/g0306332/petsc-2.3.2-p8-new/externalpackages/mpich2-1.0.4p1/src/mpid/ch3/channels/sock<br>> sourcing /lsftmp/g0306332/petsc-2.3.2-p8-new/externalpackages/mpich2-<br>>
1.0.4p1/src/pm/gforker/mpich2prereq<br>> checking for gcc... /scratch1/g0306332/intel/cc/bin/icc<br>> -fPIC -O<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 /scratch1/g0306332/intel/cc/bin/icc -fPIC
<br>> -O accepts -g... yes<br>> checking for /scratch1/g0306332/intel/cc/bin/icc -fPIC -O<br>> 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>> configure: error: The values of the environment variables F77<br>> (=/scratch1/g0306332/intel/fc/bin/ifort -fPIC -O ) and FC<br>> (=ifort) are not the same. Unset one or both and rerun configure
<br>> *********************************************************************************<br>><br>> it seems that the F77 and FC environment variables are different. I want to<br>> use (=/scratch1/g0306332/intel/fc/bin/ifort). How can I
<br>> configure them?<br>><br><br>Do not set any environment variables. Let configure control it.<br><br>> If I use the lammpi which the sch provide, I got this error msg:<br>> ./config/configure.py --with-cc=icc --with-fc=ifort
<br>> --download-f-blas-lapack=1 --download-hypre=1 --with-debugging=0<br>> --with-mpi-include=/app1/ia64/lammpi/include/<br>> --with-mpi-lib=/app1/ia64/lammpi/lib/libmpi.la<br>> --with-mpirun=/app1/ia64/lammpi/bin/mpirun --with-x=0
<br>> --with-shared<br>><br>> I also replace <a href="http://libmpi.la">libmpi.la</a> with libmpi.a but both cannot work.<br>><br>><br>> Shared libraries cannot be built using MPI provided.<br>> Either rebuild with --with-shared=0 or rebuild MPI with shared library
<br>> support<br>><br>> What's the extension for shared libraries for ia64 platform? Is it *.so?<br><br>I am fairly sure since it is 64-bit that the shared library is either<br>not PIC, or<br>we cannot build shared libraries for this system.
<br><br>Matt<br><br>> thanks alot<br>--<br>The government saving money is like me spilling beer. It happens, but<br>never on purpose.<br><br></blockquote></div><br>