[petsc-dev] [petsc-maint #49590] problem building petsc-dev

Barry Smith bsmith at mcs.anl.gov
Fri Jul 16 11:48:27 CDT 2010


  We currently have

self.useShared = (self.argDB['with-dynamic'] or self.argDB['with-shared']) and not self.setCompilers.staticLibraries

in config/PETSc/utilities/sharedLibraries.py which allows dynamic libraries without shared libraries! 

I am fixing this and improving the help messages etc right now.

  Barry



On Jul 16, 2010, at 9:13 AM, Satish Balay wrote:

> Can you send the relavent configure.log?
> 
> Also the following doesn't make sense.
>                     --without-pic                   \
>                      --with-shared=0                 \
>                      --with-dynamic                  \
> 
> If you need dynamic - you also need shared. I guess these options are
> a bit confusing on the Mac. Here dynamic does not imply .dylib. [If
> you need .dylib - all you need is --with-shared=1] --with-dynamic=>
> use dlopen() or equivalnet.
> 
> So suggest using:
> 
> --with-shared=1
> or
> --with-shared=1 --with-dynamic=1
> 
> Satish
> 
> On Fri, 16 Jul 2010, Michael Pernice wrote:
> 
>> Hi,
>> 
>> This fails at the configure step with the error:
>> 
>> Error in Sowing installation: Could not find /Users/pernma/packages/petsc/petsc-dev/macos/bin/bfort
>> 
>> I have PETSC_ARCH set to macos and my configure script is attached (tried to exclude sowing in the latest attempt).
>> 
>> --
>> Michael Pernice, Assistant Director
>> Center for Advanced Modeling and Simulation
>> Idaho National Laboratory
>> P.O. Box 1625, MS 3550
>> Idaho Falls, ID 83415-3550
>> Phone:  208.526.9480
>> Cell:  208.569.2252
>> Fax:  208.526.8254
>> www.inl.gov/cams
>> 
>> 
>> 
> 
> 




More information about the petsc-dev mailing list