[CIG-LONG] new install

Matty matty.mookerjee at sonoma.edu
Wed Jan 30 19:17:45 PST 2013


Luke,

It looks like you were correct.  Here is the the output from the grep:

  Looked in: ['/home/matty/Programs/Petsc/petsc-3.2-p7/lib', 
'/home/matty/Programs/Petsc/petsc-3.2-p7/arch-linux2-c-debug/lib']
   Looked in: ['/home/matty/Programs/Petsc/petsc-3.2-p7/lib', 
'/home/matty/Programs/Petsc/petsc-3.2-p7/arch-linux2-c-debug/lib']
   Looked in: ['/home/matty/Programs/Petsc/petsc-3.2-p7/lib64', 
'/home/matty/Programs/Petsc/petsc-3.2-p7/arch-linux2-c-debug/lib']
   Looked in: ['/home/matty/Programs/Petsc/petsc-3.2-p7/lib64', 
'/home/matty/Programs/Petsc/petsc-3.2-p7/arch-linux2-c-debug/lib']


I tried:

./configure.sh --petsc-dir=/home/matty/Programs/Petsc/petsc-3.2-p7 
--petsc-arch=arch-linux2-c-debug/lib

./configure.sh --petsc-dir=/home/matty/Programs/Petsc/petsc-3.2-p7 
--petsc-arch=arch-linux2-c-debug/lib64

but that didn't change anything.  How did you deal with your /lib issue.

Thanks again for all of your help.

Matty


On 01/30/2013 06:31 PM, Luke Mondy wrote:
> Thanks. I notice in your original config.log file, towards the bottom 
> it has lots of "Looked in [/some/path]" statements from when it was 
> looking for Petsc.
> What do they say now you use the --petsc-dir flags?
>
> You should be able to get a nice output in the terminal by going to 
> when the config.log file is and typing:
> grep "Looked" config.log
> or simply attach the config.log file to your email.
>
> If it says something like
>   "Looked in 
> [/home/matty/Programs/Petsc/petsc-3.2-p7/arch-linux2-c-debug]"
>
> but never says:
>   "Looked in 
> [/home/matty/Programs/Petsc/petsc-3.2-p7/arch-linux2-c-debug/lib]"
> try using the following flags:
> ./configure.sh --petsc-dir=/home/matty/Programs/Petsc/petsc-3.2-p7 
> --petsc-arch=arch-linux2-c-debug/lib
>
> Hopefully this helps.
>
>
>
> Thanks,
>
> Luke Mondy
>
>
> On Thu, Jan 31, 2013 at 1:17 PM, Matty <matty.mookerjee at sonoma.edu 
> <mailto:matty.mookerjee at sonoma.edu>> wrote:
>
>     Luke,
>
>     I've attached the file that you requested.
>
>     It seems that the arch folder is only one folder deep.
>
>     Matty
>
>
>
>     On 01/30/2013 03:52 PM, Luke Mondy wrote:
>>     I think I have had this issue before - it related to petsc
>>     putting its 'arch' folder one layer deeper than expected, or
>>     something similar.
>>
>>     If you run:
>>     ls -R > petsc-dir.log
>>     within the petsc directory and send through the file, it may show
>>     the arch dir is in an unexpected place.
>>
>>
>>     Thanks,
>>
>>     Luke Mondy
>>
>>
>>     On Thu, Jan 31, 2013 at 10:28 AM, Walter Landry
>>     <wlandry at caltech.edu <mailto:wlandry at caltech.edu>> wrote:
>>
>>         Matty <matty.mookerjee at sonoma.edu
>>         <mailto:matty.mookerjee at sonoma.edu>> wrote:
>>         > Luke,
>>         >
>>         > Thank you for the reply.  I recompiled petsc so that I can
>>         be sure about the
>>         > definitions for petsc-dir and petsc-arch.  Here they are:
>>         >
>>         >   PETSC_ARCH: arch-linux2-c-debug
>>         >   PETSC_DIR: /home/matty/Programs/Petsc/petsc-3.2-p7 so
>>         that I knew
>>         >
>>         > So I ran:
>>         >
>>         > ./configure.sh
>>         --petsc-dir=/home/matty/Programs/Petsc/petsc-3.2-p7 --petsc-arch
>>         > =arch-linux2-c-debug
>>         >
>>         > This did not work, i.e., it did not recognize PETSc.
>>
>>         Please send config.log
>>
>>         Cheers,
>>         Walter Landry
>>         _______________________________________________
>>         CIG-LONG mailing list
>>         CIG-LONG at geodynamics.org <mailto:CIG-LONG at geodynamics.org>
>>         http://geodynamics.org/cgi-bin/mailman/listinfo/cig-long
>>
>>
>
>
>     _______________________________________________
>     CIG-LONG mailing list
>     CIG-LONG at geodynamics.org <mailto:CIG-LONG at geodynamics.org>
>     http://geodynamics.org/cgi-bin/mailman/listinfo/cig-long
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://geodynamics.org/pipermail/cig-long/attachments/20130130/bacb6bf6/attachment.htm 


More information about the CIG-LONG mailing list