If I remember it correctly there is an all-static MPI stack on Vesta/Mira.
You should be able to select it in you .soft file.

On Fri, Oct 23, 2015, 10:54 John Peterson <jwpeter...@gmail.com> wrote:

> On Fri, Oct 23, 2015 at 9:10 AM, walter kou <walter4c...@gmail.com> wrote:
>
> > I was able to do make, make install without error, with
> > --enable-all-static --enable-static --disable-shared
> >
> > However, I got error when I test  /examples/introduction/ex1
> > I run " make" in that folder
> > and get error:
> >
> >
> /bgsys/drivers/toolchain/V1R2M2_base-efix014/gnu-linux/lib/gcc/powerpc64-bgq-linux/4.4.7/../../../../powerpc64-bgq-linux/bin/ld:
> > attempted static link of dynamic object
> > `/bgsys/drivers/V1R2M2/ppc64/comm/lib/libmpichf90-gcc.so'
> > collect2: ld returned 1 exit status
> > make: *** [example-opt] Error 1
> >
>
> This is the same error as before, and is why I said you won't be able to
> use --enable-all-static.  What that option does is ensures that *no*
> dynamic libraries are used while linking the executable, but that's
> apparently not possible on this system because mpich has been built with
> dynamic libs (libmpichf90-gcc.so).
>
> Now, you also said this:
>
> 2)./configure --enable-static --disable-shared (For this, I get error when
> > linking other libraries)
>
>
> failed, but you didn't say what exactly the error was.  It might be
> possible for us to give some more hints if you tell us exactly what the
> error was in this case.
>
> A final possibility is that you should use some other compiler/MPI stack on
> this system... maybe look into whether any others are available.
>
> --
> John
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Libmesh-users mailing list
> Libmesh-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/libmesh-users
>
------------------------------------------------------------------------------
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to