[Dune] CMake define ALBERTA_DIM
Jake Langham
wmriah at live.warwick.ac.uk
Tue Jul 28 09:14:21 CEST 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 27/07/15 15:58, Agnese, Marco wrote:
> Hi, ...
>
> Another issue which I have is that linking ZOLTAN doesn't work.
> Following the wiki, I have added
>
> -DCMAKE_PREFIX_PATH=\"$ZOLTAN_DIR\"
>
> into the CMAKE_FLAGS in my option file but dune-alugrid doesn't
> find zoltan. Is it a bug inside dune-alugrid or inside some other
> modules or do I have to add something different in my option file
> (I did the same with Metis, UMFPACK,... and everything was fine)?
>
> Thank you very much, cheers, Marco.
Dear Marco,
I had a look at my setup. In CMakeLists.txt I have
add_dune_zoltan_flags(dune_elasticity)
add_definitions(-DUSE_ZOLTANLB=1)
and also
set(ZOLTAN_ROOT "/path/to/folder/containing/include/and/lib/dirs")
Some of these things may or may not be necessary depending on whether
the AddZOLTANFlags.cmake macros (in dune-alugrid/cmake/modules) have
changed since I set things up though...
- -Jake
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBAgAGBQJVtyvNAAoJECLFtNosPZOzQe0P/2F6ZRlYeqIdTJ+k09gZCWQh
1mZ2dwUN8UehoEN3tmxeZny+IgkBQBCPdN4+67WCz4Grt4wQaduaBR+fq7MDHYH1
x1sr+LAJgEpaM8g3zu0OsE5Be8agLbaRT89JC/W4ZixsZ71/x2+mp+aJ9x0/Dl5y
IebMQmRPfTdNq0kFzAcqtE1ixVktLeClaYqPRBS19cJEockJfbg11iikUL7JMhy1
a6fmu43F98DT5LEeFajTWC1H3nCcGw5RZOFRKYWvCueG6sfdwGpZJMp9j+SMN1Is
uDcRO3/4K1XZQulguxF40mEvozY7r24rC9H6tXDWMgZZKtG5tslHr/IgKOu+9UV0
7/v9G98cFFoMF5/UAFThM98NhcYCXZAfq6Dw6PAr7qoZ45kDrC8Y8SyWhs+cXS3g
9hAK1N+/HdfbFbHO1bnSVh7Glzuk/QO5s6lHGXji9Q3Hfzz2MLg7xKTHdiV6AGjc
1xn+gtbbPcGvv5E3a3vOK0cHCYJvEGDUVo7iT19kNbtgIQZVMGSLJnE/rDVeiV/G
V8IEOj5SioilJAKxZswzLty8zES1oFCmopPOhlN05umM4qCHdnbB+Hzx41ODc8eJ
mJiDsaHVGEWGHb3benFmWMacO0zEqsp/A4fJyAHsKXHRZjtHDJaEXGQHsiqY62Rf
6J4nhfxWH/cAe9IfvyUR
=6yIj
-----END PGP SIGNATURE-----
More information about the Dune
mailing list