Sure - just configure OMPI with “--enable-static --disable-shared”

> On Jun 9, 2017, at 5:50 AM, Arham Amouie via users <users@lists.open-mpi.org> 
> wrote:
> 
> Thank you very much. Could you please answer another somewhat related 
> question? I'd like to know if ORTE could be linked statically like a library 
> in order to have a completely stand-alone executable file. As you may have 
> noticed I don't have a good knowledge of how Open MPI works.
> 
> Thanks in advance,
> 
> Arham
> 
> 
> From: Gilles Gouaillardet <gilles.gouaillar...@gmail.com>
> To: Arham Amouie <erham...@yahoo.com>; Open MPI Users 
> <users@lists.open-mpi.org> 
> Sent: Thursday, June 8, 2017 2:41 PM
> Subject: Re: [OMPI users] "undefined reference to `MPI_Comm_create_group'" 
> error message when using Open MPI 1.6.2
> 
> MPI_Comm_create_group was not available in Open MPI v1.6.
> so unless you are willing to create your own subroutine in your
> application, you'd rather upgrade to Open MPI v2
> 
> i recomment you configure Open MPI with
> --disable-dlopen --prefix=<a shared filesystem available on frontend
> and compute nodes>
> 
> unless you plan to scale on thousands of nodes, you should be just
> fine with that.
> 
> Cheers,
> 
> Gilles
> 
> 
> On Thu, Jun 8, 2017 at 6:58 PM, Arham Amouie via users
> <users@lists.open-mpi.org <mailto:users@lists.open-mpi.org>> wrote:
> > Hello. Open MPI 1.6.2 is installed on the cluster I'm using. At the moment I
> > can't upgrade Open MPI on the computing nodes of this system. My C code
> > contains many calls to MPI functions. When I try to 'make' this code on the
> > cluster, the only error that I get is "undefined reference to
> > `MPI_Comm_create_group'".
> >
> > I'm able to install a newer version (like 2.1.1) of Open MPI only on the
> > frontend of this cluster. Using newer version, the code is compiled and
> > linked successfully. But in this case I face problem in running the program,
> > since the newer version of Open MPI is not installed on the computing nodes.
> >
> > Is there any way that I can compile and link the code using Open MPI 1.6.2?
> >
> > Thanks,
> > Arham Amouei
> 
> >
> > _______________________________________________
> > users mailing list
> > users@lists.open-mpi.org <mailto:users@lists.open-mpi.org>
> > https://rfd.newmexicoconsortium.org/mailman/listinfo/users 
> > <https://rfd.newmexicoconsortium.org/mailman/listinfo/users>
> 
> 
> 
> _______________________________________________
> users mailing list
> users@lists.open-mpi.org
> https://rfd.newmexicoconsortium.org/mailman/listinfo/users

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

Reply via email to