[CIG-SHORT] PyLith configure script cannot find PETSc

Matthew Knepley knepley at mcs.anl.gov
Fri Feb 13 07:28:51 PST 2015


On Fri, Feb 13, 2015 at 9:22 AM, Romain Jolivet <jolivetinsar at gmail.com>
wrote:

> I got it to work, but not with the m4 file you provided.
> In your file, you test for $PETSC_DIR/$PETSC_ARCH/lib/petsc-conf
> While the architecture I have is $PETSC_DIR/lib/petsc-conf
> The variable PETSC_ARCH is not used in the destination directory when I
> install petsc…
> Is that normal?
>

Both of these directories exist. What is being checked for?

  Thanks,

     Matt


> R
>
> Romain Jolivet
> Cambridge, UK
> jolivetinsar at gmail.com
> UK: +44 7596 703 148
> France: +33 6 52 91 76 39
> USA: +1 (626) 560 6356
>
> On 13 Feb 2015, at 14:54, Brad Aagaard <baagaard at usgs.gov> wrote:
>
> Romain and Matt,
>
> This is already fixed. Romain needs to pull the m4 dir or reclone pylith.
>
> In the top level pylith dir,
>
> cd m4
> git pull origin master
>
> Brad
>
>
>
> On Feb 13, 2015, at 3:54 AM, Romain Jolivet <jolivetinsar at gmail.com>
> wrote:
>
> Oh, sorry, here it is.
> R
>
> <cit_petsc.m4>
>
>
> Romain Jolivet
> Cambridge, UK
> jolivetinsar at gmail.com
> UK: +44 7596 703 148
> France: +33 6 52 91 76 39
> USA: +1 (626) 560 6356
>
> On 13 Feb 2015, at 11:52, Matthew Knepley <knepley at mcs.anl.gov> wrote:
>
> On Fri, Feb 13, 2015 at 5:45 AM, Romain Jolivet <jolivetinsar at gmail.com>
> wrote:
>
>> Hello,
>>
>> After compiling manually petsc from the git repository, I noticed the
>> architecture of the file directories that are copied into the —prefix
>> argument are different from why I was used to.
>> As a consequence, the configure in pylith cannot find the petsc libraries.
>> I looked into the m4/cit_petsc.m4 file used by autoreconf, and I do not
>> see the case for the architecture I have.
>>
>> I could modify it to adapt to my system, but, there should be a better
>> way.
>> Attached is the modified cit_petsc.m4 I modified to compile pylith.
>> Any suggestions?
>>
>
> There is nothing attached. The PyLith master branch tracks PETSc
> knepley/pylith, so all fixes
> should be there.
>
>   Thanks,
>
>     Matt
>
>
>>
>> R
>>
>>
>> —————————————————————————————————————
>> —————————————————————————————————————
>> Romain Jolivet
>> Postdoctoral Fellow
>>
>> University of Cambridge
>> Department of Earth Sciences
>> Bullard Labs
>> Madingley Rise
>> Madingley Road
>> Cambridge CB3 0EZ
>> United Kingdom
>>
>> email: rpj29 at cam.ac.uk
>> Phone: +44 1223 748 938
>> Mobile: +44 7596 703 148
>>
>> France: +33 6 52 91 76 39
>> US: +1 (626) 560 6356
>> —————————————————————————————————————
>> —————————————————————————————————————
>>
>> _______________________________________________
>> CIG-SHORT mailing list
>> CIG-SHORT at geodynamics.org
>> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>
>
>
>
> --
> What most experimenters take for granted before they begin their
> experiments is infinitely more interesting than any results to which their
> experiments lead.
> -- Norbert Wiener
>  _______________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>
>
> _______________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>
> _______________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>
>
>
> _______________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20150213/e36b8088/attachment.html>


More information about the CIG-SHORT mailing list