> On Nov 4, 2016, at 7:07 AM, Mahmood Naderan <mahmood...@gmail.com> wrote:
> 
> > You might have to remove -ldl from the scalapack makefile
> I removed that before... I will try one more time
> 
> Actually, using --disable-dlopen fixed the error.

To clarify:

1. Using --enable-static causes all the plugins in Open MPI to be "slurped up" 
into the MPI libraries.  I.e., they won't be opened at runtime as plugins -- 
they're just part of the MPI library.

This does *not* disable Open MPI from trying to dlopen() additional plugins at 
runtime, though.

2. Using --disable-dlopen *also* causes all the plugins in Open MPI to be 
"slurped up" into the MPI libraries.  It *also* disables Open MPI from trying 
to dlopen() additional plugins at runtime.

> >mpirun --showme

Gilles meant to say:

mpicc --showme
mpifort --showme

-----

If there's a reason you did --enable-static --disable-shared, then since you're 
having a problem with the dl library, you might as well also --disable-dlopen 
and then remove the -ldl from where you added it to the Makefile.  Open MPI 
will no longer be using dlopen, but that does not mean that something else 
isn't using dlopen.

If you don't have a specific reason for using --enable-static, then you might 
as well not specify *any* of --enable-static, --disable-shared, or 
--disable-dlopen, and then I'm guessing using mpicc/mpifort in your Makefile 
will "just work".

-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/

_______________________________________________
users mailing list
users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/users

Reply via email to