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 <[email protected]> wrote:
>
>
> On Thu, Oct 22, 2015 at 1:11 PM, walter kou <[email protected]> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users