<div>Hi,</div>
<div>&nbsp;</div>
<div>I tried using shared=0 and got this when I used lammpi:</div>
<div>&nbsp;</div>
<div>--with-mpi-lib=[&#39;/app1/ia64/lammpi/lib/libmpi.la&#39;] and <br>--with-mpi-include=/app1/ia64/lammpi/include/ did not work<br>&nbsp;</div>
<div>same for libmpi.a. Did I specify the wrong files?</div>
<div>&nbsp;</div>
<div>thanks.<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 4/9/07, <b class="gmail_sendername">Matthew Knepley</b> &lt;<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>&gt; 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 &lt;<a href="mailto:zonexo@gmail.com">zonexo@gmail.com</a>&gt; wrote:<br>&gt; Hi,<br>&gt;
<br>&gt; when trying to configure usign download-mpich=1, I got this error:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;=================================================================================<br>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Running configure on MPICH; this may take several
<br>&gt; minutes<br>&gt;<br>&gt;<br>&gt; =================================================================================<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; *********************************************************************************
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;UNABLE to CONFIGURE with GIVEN OPTIONS&nbsp;&nbsp;&nbsp;&nbsp;(see configure.log for<br>&gt; details):<br>&gt; ---------------------------------------------------------------------------------------<br>&gt; Error running configure on MPICH: Could not execute &#39;cd
<br>&gt; /lsftmp/g0306332/petsc-<br>&gt; 2.3.2-p8-new/externalpackages/mpich2-1.0.4p1;./configure<br>&gt; --prefix=/lsftmp/g0306332/petsc-2.3.2-p8-new/externalpackages/mpich2-1.0.4p1/ia64<br>&gt; CC=&quot;/scratch1/g0306332/intel/cc/bin/icc&nbsp;&nbsp;-fPIC -O &quot;
<br>&gt; CXX=&quot;g++&nbsp;&nbsp;-Wall -Wwrite-strings -O&nbsp;&nbsp; -fPIC &quot;<br>&gt; F90=&quot;/scratch1/g0306332/intel/fc/bin/ifort&nbsp;&nbsp;-fPIC -O&nbsp;&nbsp;&quot;<br>&gt; F77=&quot;/scratch1/g0306332/intel/fc/bin/ifort&nbsp;&nbsp;-fPIC -O&nbsp;&nbsp;&quot;<br>&gt; --enable-sharedlibs=gcc --without-mpe --with-pm=gforker&#39;:
<br>&gt; Configuring MPICH2 version 1.0.4p1 with<br>&gt; &#39;--prefix=/lsftmp/g0306332/petsc-2.3.2-p8-new/externalpackages/mpich2-1.0.4p1/ia64&#39;<br>&gt; &#39;CC=/scratch1/g0306332/intel/cc/bin/icc&nbsp;&nbsp;-fPIC -O &#39;<br>&gt; &#39;CXX=g++&nbsp;&nbsp;-Wall -Wwrite-strings -O&nbsp;&nbsp; -fPIC &#39;
<br>&gt; &#39;F90=/scratch1/g0306332/intel/fc/bin/ifort&nbsp;&nbsp;-fPIC -O&nbsp;&nbsp;&#39;<br>&gt; &#39;F77=/scratch1/g0306332/intel/fc/bin/ifort&nbsp;&nbsp;-fPIC -O&nbsp;&nbsp;&#39;<br>&gt; &#39;--enable-sharedlibs=gcc&#39; &#39;--without-mpe&#39; &#39;--with-pm=gforker&#39; &#39;CFLAGS=-mp
<br>&gt; -DANSI -I/app1/ia64/imsl/imsl/cnl600/itanium/include&#39;<br>&gt; &#39;F90FLAGS=-w -nologo -fpp<br>&gt; -I/app1/ia64/imsl/CTT6.0/include/linx64_i9<br>&gt; -I/usr/local/mpich- 1.2.7p1/include&#39; &#39;FFLAGS=-w -nologo -fpp
<br>&gt; -I/app1/ia64/imsl/CTT6.0/include/linx64_i9<br>&gt; -I/usr/local/mpich-1.2.7p1/include&#39;<br>&gt; Executing mpich2prereq in<br>&gt; /lsftmp/g0306332/petsc-2.3.2-p8-new/externalpackages/mpich2-<br>&gt; 1.0.4p1/src/mpid/ch3 with
<br>&gt; Executing mpich2prereq in<br>&gt; /lsftmp/g0306332/petsc-2.3.2-p8-new/externalpackages/mpich2-1.0.4p1/src/mpid/ch3/channels/sock<br>&gt; sourcing /lsftmp/g0306332/petsc-2.3.2-p8-new/externalpackages/mpich2-<br>&gt; 
1.0.4p1/src/pm/gforker/mpich2prereq<br>&gt; checking for gcc... /scratch1/g0306332/intel/cc/bin/icc<br>&gt; -fPIC -O<br>&gt; checking for C compiler default output file name... a.out<br>&gt; checking whether the C compiler works... yes
<br>&gt; checking whether we are cross compiling... no<br>&gt; checking for suffix of executables...<br>&gt; checking for suffix of object files... o<br>&gt; checking whether we are using the GNU C compiler... yes<br>&gt; checking whether /scratch1/g0306332/intel/cc/bin/icc&nbsp;&nbsp;-fPIC
<br>&gt; -O&nbsp;&nbsp;accepts -g... yes<br>&gt; checking for /scratch1/g0306332/intel/cc/bin/icc&nbsp;&nbsp;-fPIC -O<br>&gt; option to accept ANSI C... none needed<br>&gt; checking for type of weak symbol support... pragma weak<br>&gt; checking whether __attribute__ ((weak)) allowed... yes
<br>&gt;&nbsp;&nbsp;checking for multiple weak symbol support... yes<br>&gt; configure: error: The values of the environment variables F77<br>&gt; (=/scratch1/g0306332/intel/fc/bin/ifort&nbsp;&nbsp;-fPIC -O&nbsp;&nbsp;) and FC<br>&gt; (=ifort) are not the same.&nbsp;&nbsp;Unset one or both and rerun configure
<br>&gt; *********************************************************************************<br>&gt;<br>&gt;&nbsp;&nbsp;it seems that the F77 and FC environment variables are different. I want to<br>&gt; use (=/scratch1/g0306332/intel/fc/bin/ifort). How can I
<br>&gt; configure them?<br>&gt;<br><br>Do not set any environment variables. Let configure control it.<br><br>&gt;&nbsp;&nbsp;If I use the lammpi which the sch provide, I got this error msg:<br>&gt; ./config/configure.py --with-cc=icc --with-fc=ifort
<br>&gt; --download-f-blas-lapack=1 --download-hypre=1 --with-debugging=0<br>&gt; --with-mpi-include=/app1/ia64/lammpi/include/<br>&gt; --with-mpi-lib=/app1/ia64/lammpi/lib/libmpi.la<br>&gt; --with-mpirun=/app1/ia64/lammpi/bin/mpirun --with-x=0
<br>&gt; --with-shared<br>&gt;<br>&gt; I also replace <a href="http://libmpi.la">libmpi.la</a> with libmpi.a but both cannot work.<br>&gt;<br>&gt;<br>&gt; Shared libraries cannot be built using MPI provided.<br>&gt; Either rebuild with --with-shared=0 or rebuild MPI with shared library
<br>&gt; support<br>&gt;<br>&gt; What&#39;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>&gt; 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>