[Dune] Globally installed modules vs. local modules

Oliver Sander oliver.sander at tu-dresden.de
Mon Jun 27 08:52:18 CEST 2016


Hi Lukas,

this should work, and I use this feature on a regular basis.  Nevertheless
there may be bugs that may be triggered only by your particular setup.
Can you describe on more detail what exactly you are trying to do?

Cheers,
Oliver

On 24.06.2016 15:42, Lukas Böger wrote:
> Dear all,
> 
> is it generally discouraged to globally install a version of Dune
> modules (e.g. stable 2.4.1) and then compile local versions besides
> (e.g. current master branch)?
> 
> While doing so with a set of local modules not matching the globally
> installed ones, I ran into trouble with cmake modules. They were
> globally found and their paths merged into CMAKE_MODULE_PATH in
> dune_create_dependency_tree, such that they had precedence over the
> local dune-common/cmake/modules directory with files of a more recent
> version. I guess such a mix of global and local cmake modules of
> different versions can work out by accident, but not in general.
> 
> Example: globally installed dune-x, dune-y and dune-z (all 2.4.1) and
> locally compile dune-x and dune-y (both current master branch), but
> EXCLUDING the optional dune-z?
> 
> Setting DUNE_CONTROL_PATH doesn't help here as global paths will be
> searched for modules anyway.
> 
> Best,
> Lukas
> 
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20160627/f7db783b/attachment.sig>


More information about the Dune mailing list