[Dune-devel] Dune Exceptions

Markus Blatt markus at dr-blatt.de
Wed Mar 16 10:18:33 CET 2016


On Wed, Mar 16, 2016 at 09:47:18AM +0100, Maikel Nadolski wrote:
> When you only build the core modules you compile AFAIK static archives
> like libdunecommon.a. The easiest way is to install them locally with
> root privileges and make them available in your `/usr/local` paths. Tell
> your compiler (linker) to link with the archive with `-ldunecommon`

Actually, it should work without installing provided you use
dunecontrol to build and all modules are lying next to each other.

You do not need to have root priviledges to install DUNE. Just path a
writable directory as the install prefix and search prefix to CMake
either on the comand line:

cmake -DCMAKE_INSTALL_PREFIX=/path/to/dir \
-DCMAKE_PREFIX_PATH=/path/to/dir

or in the CMAKE_FLAGS variable in your option file.

Markus

-- 
Using PT-Scotch with DUNE https://t.co/hZH8lxf5ZF

Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany
Tel.: +49 (0) 160 97590858
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.dune-project.org/pipermail/dune-devel/attachments/20160316/610fd2bc/attachment.sig>


More information about the Dune-devel mailing list