On May 6, 2017, at 3:28 AM, Lane, William <william.l...@cshs.org> wrote:
> 
> The strange thing is OpenMPI isn't mentioned anywhere as being a dependency 
> for Caffe! I haven't read anything that suggests OpenMPI is supported  in 
> Caffe either. This is why I figure it must be a dependency of Caffe (of which 
> there are 15) that relies on OpenMPI.
> 
> I tried setting the compiler to mpic++ in the Makefile.config file and the 
> result was:
> Makefile:314: *** Cannot static link with the mpic++ compiler.  Stop.
> 
> I'm going to try explicitly enumerating all OpenMPI libraries in 
> Makefile.config and see if that makes a difference.

Keep in mind that the list of libraries you need to link an Open MPI 
application can change between different environments, and may also change 
between versions of Open MPI.  It's safer to use the wrapper compilers, or if 
you can't use them, then at least query to see what you should be using to 
compile and link:

    https://www.open-mpi.org/faq/?category=mpi-apps#cant-use-wrappers

-- 
Jeff Squyres
jsquy...@cisco.com

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

Reply via email to