I believe that what you want is:

--enable-all-static --enable-static --disable-shared

But this is just going off memory. I'm currently on a bus : but later
tonight I'll search through my archives and see if I can dig something up
On Thu, Oct 22, 2015 at 5:24 PM walter kou <walter4c...@gmail.com> wrote:

> Hi Derek,
>
> Sorry to bother you. How did you build ibamr on BG/Q?
>
> I can not go around the error: attempted static link of dynamic object.
>
>
> For my evironment, (.soft), I am using:
>  # gcc wrappers and toolchain
>     +mpiwrapper-gcc
> For the configure, I have tried:
>
> 1) ./configure --enable-all-static
>
> 2)./configure --enable-static --disable-shared (For this, I get error
> when linking other libraries)
>
> and also
>  3) ./configure
> They all failed.
>
> Thanks,
>
> Walter
>
>
> On Thu, Oct 22, 2015 at 2:36 PM, John Peterson <jwpeter...@gmail.com>
> wrote:
>
>>
>>
>> On Thu, Oct 22, 2015 at 1:11 PM, walter kou <walter4c...@gmail.com>
>> wrote:
>>
>>> Hi John,
>>>
>>> Do you mean, --enable-all-static or --enable-static?
>>>
>> My configure is --enable-static --disable-shared.
>>>
>>
>> Quoting from your first email:
>>
>>  export PETSC_ARCH=linux-opt
>>
>>  export PETSC_DIR=$HOME/SOFTWARES/PETSc-3.4
>>
>>  ./configure --prefix=$HOME/SOFTWARES/LIBMESH093/libmesh_opt  METHODS=opt
>>
>> --enable-all-static CXX=mpicxx CC=mpicc F77=mpif77 FC=mpif90
>>
>>
>>
>> So you were using --enable-all-static at some point.  If you just want to
>> see whether dynamic linking will work on BGQ, don't enable/disable
>> anything, and just try it like that first.
>>
>>
>>
>>> Also, have you build libmesh on BG/Q Vesta before?
>>>
>>
>> I think it was Mira at the time, but yes Derek Gaston did get it to work
>> I believe.
>>
>> --
>> John
>>
>
>
------------------------------------------------------------------------------
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to