Hello Erik,
do you have up to date (ie post cmake) instruction on how to compile funhpc on a linux machine?
Yours, Roland
Roland
You need to install these packages:
depends_on('cereal') depends_on('googletest') depends_on('hwloc') depends_on('jemalloc') depends_on('mpi') depends_on('qthreads')
Then you can call cmake, pointing it to these packages in "the usual way", i.e. by passing flags such as "-DCEREAL_ROOT=..." etc. to cmake. If you have pkg-config installed, then cmake should also be able to use it to find external packages if PKG_CONFIG_PATH (?) is set pointing to them. The ".travis.yml" file in FunHPC might also be a good starting point, although it is based on Ubuntu 14.04 and thus a bit more complicated than necessary.
-erik
On Tue, Apr 11, 2017 at 3:57 PM, Roland Haas rhaas@illinois.edu wrote:
Hello Erik,
do you have up to date (ie post cmake) instruction on how to compile funhpc on a linux machine?
Yours, Roland
-- My email is as private as my paper mail. I therefore support encrypting and signing email messages. Get my PGP key from http://keys.gnupg.net.
Users mailing list Users@einsteintoolkit.org http://lists.einsteintoolkit.org/mailman/listinfo/users
I'm curious as to why you chose cmake.
--Steve
On 11.04.2017 10:32 saaku, Erik Schnetter wrote:
Roland
You need to install these packages:
depends_on('cereal') depends_on('googletest') depends_on('hwloc') depends_on('jemalloc') depends_on('mpi') depends_on('qthreads')Then you can call cmake, pointing it to these packages in "the usual way", i.e. by passing flags such as "-DCEREAL_ROOT=..." etc. to cmake. If you have pkg-config installed, then cmake should also be able to use it to find external packages if PKG_CONFIG_PATH (?) is set pointing to them. The ".travis.yml" file in FunHPC might also be a good starting point, although it is based on Ubuntu 14.04 and thus a bit more complicated than necessary.
-erik
On Tue, Apr 11, 2017 at 3:57 PM, Roland Haas <rhaas@illinois.edu mailto:rhaas@illinois.edu> wrote:
Hello Erik, do you have up to date (ie post cmake) instruction on how to compile funhpc on a linux machine? Yours, Roland -- My email is as private as my paper mail. I therefore support encrypting and signing email messages. Get my PGP key from http://keys.gnupg.net. _______________________________________________ Users mailing list Users@einsteintoolkit.org <mailto:Users@einsteintoolkit.org> http://lists.einsteintoolkit.org/mailman/listinfo/users <http://lists.einsteintoolkit.org/mailman/listinfo/users>-- Erik Schnetter <eschnetter@perimeterinstitute.ca mailto:eschnetter@perimeterinstitute.ca> http://www.perimeterinstitute.ca/personal/eschnetter/ AIM: eschnett247, Skype: eschnett, Google Talk: schnetter@gmail.com mailto:schnetter@gmail.com
Users mailing list Users@einsteintoolkit.org http://lists.einsteintoolkit.org/mailman/listinfo/users
The choice (for me) was between autoconf and cmake. The latest autoconf release is from 2012. cmake is updated regularly, and supports modern features out of the box (Fortran support, C++11 / C++14, integration with test suites, etc.) I've seen autoconf projects where things got really messy when writing Makefile.am files for subdirectories with weird syntax, while I've seen quite clean CMakeLists.txt files for large-ish projects that have a more uniform syntax and much better error checking.
-erik
On Tue, Apr 11, 2017 at 4:59 PM, Steven R. Brandt sbrandt@cct.lsu.edu wrote:
I'm curious as to why you chose cmake.
--Steve
On 11.04.2017 10:32 saaku, Erik Schnetter wrote:
Roland
You need to install these packages:
depends_on('cereal') depends_on('googletest') depends_on('hwloc') depends_on('jemalloc') depends_on('mpi') depends_on('qthreads')Then you can call cmake, pointing it to these packages in "the usual way", i.e. by passing flags such as "-DCEREAL_ROOT=..." etc. to cmake. If you have pkg-config installed, then cmake should also be able to use it to find external packages if PKG_CONFIG_PATH (?) is set pointing to them. The ".travis.yml" file in FunHPC might also be a good starting point, although it is based on Ubuntu 14.04 and thus a bit more complicated than necessary.
-erik
On Tue, Apr 11, 2017 at 3:57 PM, Roland Haas rhaas@illinois.edu wrote:
Hello Erik,
do you have up to date (ie post cmake) instruction on how to compile funhpc on a linux machine?
Yours, Roland
-- My email is as private as my paper mail. I therefore support encrypting and signing email messages. Get my PGP key from http://keys.gnupg.net http://keys.gnupg.net.
Users mailing list Users@einsteintoolkit.org http://lists.einsteintoolkit.org/mailman/listinfo/users
-- Erik Schnetter eschnetter@perimeterinstitute.ca http://www.perimeterinstitute.ca/personal/eschnetter/ AIM: eschnett247, Skype: eschnett, Google Talk: schnetter@gmail.com schnetter@gmail.com
Users mailing listUsers@einsteintoolkit.orghttp://lists.einsteintoolkit.org/mailman/listinfo/users
Users mailing list Users@einsteintoolkit.org http://lists.einsteintoolkit.org/mailman/listinfo/users
Hello Erik, all,
You need to install these packages:
depends_on('cereal') depends_on('googletest') depends_on('hwloc') depends_on('jemalloc') depends_on('mpi') depends_on('qthreads')
Thank you for the list, it would have taken me a while to find out which packages are needed (most I already have installed I think).
Then you can call cmake, pointing it to these packages in "the usual way",
Uff, unfortunately I am not familiar at all with cmake. So "the usual way" was no help for me, but I will certainly try giving -DCEREAL_ROOT etc. a try. Is there a "how to use cmake for dummies" tutorial anywhere? In the past I always found that cmake --help is not useful in telling me what -D options I could set (not that the competition, eg autoconf necessarily does any better in this respect though).
i.e. by passing flags such as "-DCEREAL_ROOT=..." etc. to cmake. If you have pkg-config installed, then cmake should also be able to use it to find external packages if PKG_CONFIG_PATH (?) is set pointing to them.
That should be no problem for most of them since they are mostly Debian packages.
The ".travis.yml" file in FunHPC might also be a good starting point, although it is based on Ubuntu 14.04 and thus a bit more complicated than necessary.
Hmm, that is different again now. I will try and see if I can understand what it does.
Thanks for the pointers. With this I should hopefully get the current master of funhpc working on my laptop again (for faster turnaround and the ability to code while on planes).
Yours, Roland
Roland
You can also use Spack, and say "spack install funhpc"...
This is what I'm doing, but I might be driving out the devil with beelzebub.
-erik
On Tue, Apr 11, 2017 at 5:18 PM, Roland Haas rhaas@illinois.edu wrote:
Hello Erik, all,
You need to install these packages:
depends_on('cereal') depends_on('googletest') depends_on('hwloc') depends_on('jemalloc') depends_on('mpi') depends_on('qthreads')Thank you for the list, it would have taken me a while to find out which packages are needed (most I already have installed I think).
Then you can call cmake, pointing it to these packages in "the usual
way", Uff, unfortunately I am not familiar at all with cmake. So "the usual way" was no help for me, but I will certainly try giving -DCEREAL_ROOT etc. a try. Is there a "how to use cmake for dummies" tutorial anywhere? In the past I always found that cmake --help is not useful in telling me what -D options I could set (not that the competition, eg autoconf necessarily does any better in this respect though).
i.e. by passing flags such as "-DCEREAL_ROOT=..." etc. to cmake. If you have pkg-config installed, then cmake should also be able to use it to
find
external packages if PKG_CONFIG_PATH (?) is set pointing to them.
That should be no problem for most of them since they are mostly Debian packages.
The ".travis.yml" file in FunHPC might also be a good starting point,
although
it is based on Ubuntu 14.04 and thus a bit more complicated than
necessary. Hmm, that is different again now. I will try and see if I can understand what it does.
Thanks for the pointers. With this I should hopefully get the current master of funhpc working on my laptop again (for faster turnaround and the ability to code while on planes).
Yours, Roland
-- My email is as private as my paper mail. I therefore support encrypting and signing email messages. Get my PGP key from http://pgp.mit.edu .
users@lists.einsteintoolkit.org