On 2015-10-16 14:05, Jan Blechta wrote:
On Fri, 16 Oct 2015 13:48:45 +0200
Juan Luis Cano<[email protected]>  wrote:

>Hello Jan, thanks for the pointer. I am setting
>"-DMPI_{C,CXX,Fortran_{LIBRARIES,INCLUDE_PATH}" and I don't get MPI
>warnings anymore, but instead I see a bulk of warnings right before
>"make install" like this:
>
> >WARNING: target "demo_waveguide" requests linking to directory
> >"/home/juanlu/miniconda/envs/_build/lib". Targets may link only to
> >libraries. CMake is dropping the item.
>
>The path that appears is the one I used for
>-DMPI_{C,CXX,Fortran}_LIBRARIES. Is there any other way?
This variable should point to object file, not directory. For
instance /usr/lib/libmpi.so. AFAIK, only C library is used in DOLFIN.

Great, it worked but specifying only the C version was not enough.

https://github.com/Juanlu001/fenics-recipes/commit/222321ac3e783341c7dd5d01614ab132f7c0ed10

Thanks!

Juan Luis
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to