Thank you for your answers !<br><br>I&#39;m using Ubuntu, and I installed PETSc 3.0.0, however unlike you, John it&#39;s king of tricky !<br>When, like you say Ali, i&#39;m trying to install all the libraries from PETSc,  everything is working well exept for blacs. <div>
I&#39;m using this code :</div><div>./config/configure.py --with-fc90=gfortran --download-parmetis --download-mumps --download-blacs  --download-scalapack --with-mpi-dir=/usr/bin/</div><div>and the error is :</div><div><div>
Downloaded blacs could not be used. Please check install in /home/seph/petsc-3.0.0-p12/linux-gnu-c-debug.</div><div><br></div><div>Into the text file contained in linux-gnu-c-debug, there is one file about blacs named &quot;blacs&quot;</div>
<div><br></div><div><div>SHELL     = /bin/sh</div><div>COMMLIB   = MPI</div><div>SENDIS    = -DSndIsLocBlk</div><div>WHATMPI      = -DUseMpi2</div><div>DEBUGLVL  = -DBlacsDebugLvl=1</div><div>BLACSdir  = /home/seph/petsc-3.0.0-p12/externalpackages/blacs-dev</div>
<div>BLACSLIB  = /home/seph/petsc-3.0.0-p12/linux-gnu-c-debug/lib/libblacs.a</div><div>MPILIB    = </div><div>SYSINC    = -I/usr/bin/include -I/usr/include/mpich2</div><div>BTLIBS    = $(BLACSLIB)  $(MPILIB) </div><div>INTFACE   = -DAdd_</div>
<div>DEFS1     = -DSYSINC $(SYSINC) $(INTFACE) $(DEFBSTOP) $(DEFCOMBTOP) $(DEBUGLVL)</div><div>BLACSDEFS = $(DEFS1) $(SENDIS) $(BUFF) $(TRANSCOMM) $(WHATMPI) $(SYSERRORS)</div><div>F77       = mpif90</div><div>F77FLAGS  =   -Wno-unused-variable -g  $(SYSINC)</div>
<div>F77LOADER = mpif90</div><div>F77LOADFLAGS =   -Wall -Wno-unused-variable -g  </div><div>CC          = mpicc</div><div>CCFLAGS     =   -Wwrite-strings -Wno-strict-aliasing -g3 </div><div>CCLOADER    = mpicc</div><div>
CCLOADFLAGS =    -Wall -Wwrite-strings -Wno-strict-aliasing -g3 </div><div>ARCH        = /usr/bin/ar</div><div>ARCHFLAGS   = cr</div><div>RANLIB      = /usr/bin/ranlib</div></div><div><br></div><div>When i&#39;m looking this code, I realise that blacs is looking for mpich, and I use openmpi with this line &quot;SYSINC    = -I/usr/bin/include -I/usr/include/mpich2&quot; ?</div>
<div><br></div><div>I&#39;m almost new on linux, I still  don&#39;t understand my mistake.</div><div>But if I follow your advice, the best thing to do is to erase external libraries, and download and install everything through PETSc ? </div>
<div><br></div><div><br></div><br>
<div class="gmail_quote">On Wed, Sep 29, 2010 at 9:00 PM,  <span dir="ltr">&lt;<a href="mailto:cig-long-request@geodynamics.org" target="_blank">cig-long-request@geodynamics.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">

Send CIG-LONG mailing list submissions to<br>
        <a href="mailto:cig-long@geodynamics.org" target="_blank">cig-long@geodynamics.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://geodynamics.org/cgi-bin/mailman/listinfo/cig-long" target="_blank">http://geodynamics.org/cgi-bin/mailman/listinfo/cig-long</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:cig-long-request@geodynamics.org" target="_blank">cig-long-request@geodynamics.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:cig-long-owner@geodynamics.org" target="_blank">cig-long-owner@geodynamics.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of CIG-LONG digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: CIG-LONG Digest, Vol 46, Issue 3 (Nicolas RIEL)<br>
   2. Re: CIG-LONG Digest, Vol 46, Issue 3 (John Naliboff)<br>
   3. Re: CIG-LONG Digest, Vol 46, Issue 3 (Tabrez Ali)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 29 Sep 2010 18:25:07 +0200<br>
From: Nicolas RIEL &lt;<a href="mailto:nicolas.riel@free.fr" target="_blank">nicolas.riel@free.fr</a>&gt;<br>
Subject: Re: [CIG-LONG] CIG-LONG Digest, Vol 46, Issue 3<br>
To: <a href="mailto:cig-long@geodynamics.org" target="_blank">cig-long@geodynamics.org</a><br>
Message-ID:<br>
        &lt;<a href="mailto:AANLkTim9TYJOA0uTwG718jjoC-N_jSC9jSJtm1%2BDSk7P@mail.gmail.com" target="_blank">AANLkTim9TYJOA0uTwG718jjoC-N_jSC9jSJtm1+DSk7P@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Hello Everyone,<br>
<br>
I&#39;m actually runing Gale in parallel on my personal computer (Processor<br>
intel i7 -  with 8 cores, on linux), and it works fine<br>
<br>
However I tried to install &quot;Mumps&quot; for direct solving in parallel (Through<br>
reconfiguring of PETSc) and I&#39;m encountering problems.<br>
Mumps needs some more libraries to work (Scalapack, which needs Blacs Lapack<br>
and blas)<br>
And I just can&#39;t install mumps which crashes when trying to compile &quot;blacs&quot;.<br>
I tried to install Scalapack (which uses blacs library) independently, but<br>
It does not work better ! The problem is coming from &quot;blacs&quot;, and I don&#39;t<br>
see how to resolve it.<br>
Any ideas ?<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://geodynamics.org/pipermail/cig-long/attachments/20100929/9d5733ae/attachment.html" target="_blank">http://geodynamics.org/pipermail/cig-long/attachments/20100929/9d5733ae/attachment.html</a><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 29 Sep 2010 10:07:54 -0700<br>
From: John Naliboff &lt;<a href="mailto:jbnaliboff@ucdavis.edu" target="_blank">jbnaliboff@ucdavis.edu</a>&gt;<br>
Subject: Re: [CIG-LONG] CIG-LONG Digest, Vol 46, Issue 3<br>
To: <a href="mailto:cig-long@geodynamics.org" target="_blank">cig-long@geodynamics.org</a><br>
Message-ID: &lt;<a href="mailto:4302FE6F-DDA3-4648-95EA-F9DF8E48A84F@ucdavis.edu" target="_blank">4302FE6F-DDA3-4648-95EA-F9DF8E48A84F@ucdavis.edu</a>&gt;<br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Hi Nicolas,<br>
<br>
I also had trouble installing Mumps when I was using PETSc 2.3.2.  The fix was relatively minor, but I did not encounter the issue when installing Mumps with PETSc 3.0.  If I remember correctly, the error with Mumps and PETSc 2.3.2 was also a Mac OS X specific issue.<br>


<br>
What version of PETSc are you using?  If it is PETSc 2.3.2, I&#39;ll send you over the modification that allowed for a successful installation of Mumps, but that fix may very well be independent of your issue.<br>
<br>
Also, the PETSc folks were able to provide the fix for my installation problem after a few emails of discussion.<br>
<br>
Cheers,<br>
John<br>
<br>
<br>
<br>
On Sep 29, 2010, at 9:25 AM, Nicolas RIEL wrote:<br>
<br>
&gt; Hello Everyone,<br>
&gt;<br>
&gt; I&#39;m actually runing Gale in parallel on my personal computer (Processor intel i7 -  with 8 cores, on linux), and it works fine<br>
&gt;<br>
&gt; However I tried to install &quot;Mumps&quot; for direct solving in parallel (Through reconfiguring of PETSc) and I&#39;m encountering problems.<br>
&gt; Mumps needs some more libraries to work (Scalapack, which needs Blacs Lapack and blas)<br>
&gt; And I just can&#39;t install mumps which crashes when trying to compile &quot;blacs&quot;.<br>
&gt; I tried to install Scalapack (which uses blacs library) independently, but It does not work better ! The problem is coming from &quot;blacs&quot;, and I don&#39;t see how to resolve it.<br>
&gt; Any ideas ?<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; CIG-LONG mailing list<br>
&gt; <a href="mailto:CIG-LONG@geodynamics.org" target="_blank">CIG-LONG@geodynamics.org</a><br>
&gt; <a href="http://geodynamics.org/cgi-bin/mailman/listinfo/cig-long" target="_blank">http://geodynamics.org/cgi-bin/mailman/listinfo/cig-long</a><br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 29 Sep 2010 12:09:03 -0500<br>
From: Tabrez Ali &lt;<a href="mailto:stali@geology.wisc.edu" target="_blank">stali@geology.wisc.edu</a>&gt;<br>
Subject: Re: [CIG-LONG] CIG-LONG Digest, Vol 46, Issue 3<br>
To: Nicolas RIEL &lt;<a href="mailto:nicolas.riel@free.fr" target="_blank">nicolas.riel@free.fr</a>&gt;<br>
Cc: <a href="mailto:cig-long@geodynamics.org" target="_blank">cig-long@geodynamics.org</a><br>
Message-ID: &lt;<a href="mailto:24F25C10-03B4-47BD-9DA3-429050B67081@geology.wisc.edu" target="_blank">24F25C10-03B4-47BD-9DA3-429050B67081@geology.wisc.edu</a>&gt;<br>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes<br>
<br>
I have some old notes which may be helpful.<br>
<br>
- <a href="http://www.geology.wisc.edu/%7Estali/old/parlibs.htm" target="_blank">http://www.geology.wisc.edu/~stali/old/parlibs.htm</a><br>
<br>
<br>
However a very easy way is to install petsc and configure it so that<br>
it downloads and builds mpi, blas, lapack, blacs, scalapack, mumps etc<br>
for you. The built libs can be found in the &quot;externalpackages&quot; sub-<br>
directory within petsc.<br>
<br>
- Now you can use all these libs via petsc and also by itself as long<br>
as you link properly.<br>
<br>
- At this point if you dont want petsc and only want to keep mpi,<br>
blas, lapack etc. then simply move the contents of externalpackages<br>
directory to some place else (eg /opt), delete petsc and use the new<br>
path for linking<br>
<br>
<br>
To install petsc with above libs use something like:<br>
<br>
./configure --with-mpi-dir=/opt/mpich2-1.0.8 --with-mumps=1 --download-<br>
mumps=ifneeded --with-scalapack=1 --download-scalapack=ifneeded --with-<br>
blacs=1 --download-blacs=ifneeded --download-f-blas-lapack=ifneeded<br>
etc.<br>
<br>
<br>
On Sep 29, 2010, at 11:25 AM, Nicolas RIEL wrote:<br>
<br>
&gt; Hello Everyone,<br>
&gt;<br>
&gt; I&#39;m actually runing Gale in parallel on my personal computer<br>
&gt; (Processor intel i7 -  with 8 cores, on linux), and it works fine<br>
&gt;<br>
&gt; However I tried to install &quot;Mumps&quot; for direct solving in parallel<br>
&gt; (Through reconfiguring of PETSc) and I&#39;m encountering problems.<br>
&gt; Mumps needs some more libraries to work (Scalapack, which needs<br>
&gt; Blacs Lapack and blas)<br>
&gt; And I just can&#39;t install mumps which crashes when trying to compile<br>
&gt; &quot;blacs&quot;.<br>
&gt; I tried to install Scalapack (which uses blacs library)<br>
&gt; independently, but It does not work better ! The problem is coming<br>
&gt; from &quot;blacs&quot;, and I don&#39;t see how to resolve it.<br>
&gt; Any ideas ?<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; CIG-LONG mailing list<br>
&gt; <a href="mailto:CIG-LONG@geodynamics.org" target="_blank">CIG-LONG@geodynamics.org</a><br>
&gt; <a href="http://geodynamics.org/cgi-bin/mailman/listinfo/cig-long" target="_blank">http://geodynamics.org/cgi-bin/mailman/listinfo/cig-long</a><br>
<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
CIG-LONG mailing list<br>
<a href="mailto:CIG-LONG@geodynamics.org" target="_blank">CIG-LONG@geodynamics.org</a><br>
<a href="http://geodynamics.org/cgi-bin/mailman/listinfo/cig-long" target="_blank">http://geodynamics.org/cgi-bin/mailman/listinfo/cig-long</a><br>
<br>
<br>
End of CIG-LONG Digest, Vol 46, Issue 7<br>
***************************************<br>
</blockquote></div><br>
</div>