On Nov 4, 2016, at 12:14 PM, Mahmood Naderan <mahmood...@gmail.com> wrote:
> 
> >​If there's a reason you did --enable-static --disable-shared​
> Basically, I want to prevent dynamic library problems (ldd) on a distributed 
> environment.

What problems are you referring to?

> $ mpifort --showme
> gfortran -I/opt/openmpi-2.0.1/include -pthread -I/opt/openmpi-2.0.1/lib 
> -Wl,-rpath -Wl,/opt/openmpi-2.0.1/lib -Wl,--enable-new-dtags 
> -L/opt/openmpi-2.0.1/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh 
> -lmpi -lopen-rte -lopen-pal -lm -lrt -lutil
> ​
> As I said, --disbale-dlopen fixed that error. But, if anybody know how to 
> have --enable-static --disable-shared with dlopen, please let me know.

We might need a bit more detail than that; I use "--enable-static 
--disable-shared" and I do not get dlopen errors.

When you enable static/disable shared, can you build simple MPI applications 
(e.g., hello world)?  I.e., is the problem with Open MPI, or some kind of 
effect that happens with building your large/complex application?

-- 
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