pratikvn / schwarz-lib

Repository for testing asynchronous schwarz methods.
https://pratikvn.github.io/schwarz-lib/
BSD 3-Clause "New" or "Revised" License
5 stars 3 forks source link

dealii installation #47

Closed soumyadipghosh closed 4 years ago

soumyadipghosh commented 4 years ago

In order to install dealii, do I simply follow the steps here? Do I have to add any options for configuring with Ginkgo or anything else? Also, the docs specify compiling dealii in parallel, is that necessary?

pratikvn commented 4 years ago

Yes, I the installation docs of deal.ii should be the one to follow. I would suggest to install ginkgo first to some path, export that path to Ginkgo_DIR or some variable like that and during deal.ii compilation, add DDEAL_II_WITH_GINKGO=on -DGINKGO_DIR=$Ginkgo_DIR to the cmake command.

Yes, atleast according to what I faced, -DDEAL_II_WITH_MPI needed to be on because otherwise deal.ii would define some hooks for MPI variables such as MPI_COMM_WORLD which would mess up when you install schwarz-lib with MPI. Make sure that you install deal.ii, ginkgo and schwarz-lib with the same software stacks ( C,CXX compilers, MPI libraries, Cmake etc. ) otherwise you run into weird problems.

soumyadipghosh commented 4 years ago

Ok. What other options should I use, e.g - METIS, CUDA, etc ?

pratikvn commented 4 years ago

You can switch both off.