[OMPI users] mpicc fails to compile example code when --enable-static --disable-shared is used for installation.

2020-01-22 Thread Mehmet Ă–REN via users
Background informationWhat version of Open MPI are you using? (e.g., v1.10.3, v2.1.0, git branch name and hash, etc.) 3.1.5 Current stable release from Nov 15, 2019 4.0.2 Current stable release from Oct 07, 2019 Describe how Open MPI was installed (e.g., from a source/distribution tarball, from a

Re: [OMPI users] mpicc fails to compile example code when --enable-static --disable-shared is used for installation.

2020-01-22 Thread Jeff Squyres (jsquyres) via users
Greetings Mehmet. I'm curious: why do you want to use static linking? It tends to cause complications and issues like this. Specifically: Open MPI's `--disable-shared --enable-static` switches means that Open MPI will produce static libraries instead of shared libraries (e.g., libmpi.a instea