MPI related linker errors

19 views
Skip to first unread message

Michael Michaelides

unread,
Jun 1, 2015, 7:27:37 AM6/1/15
to dea...@googlegroups.com
Hello,

I installed dealii via homebrew on 10.10.3 and now I am trying to compile and run step 26 (https://www.dealii.org/developer/doxygen/deal.II/step_26.html). I found that dynamic sparsity pattern was not included in 8.2.1 and so I replaced it with compressed sparsity pattern.

I now get a bunch of MPI related linker errors when trying to build (Xcode).


This is my brew install of deal.II:

Michaliss-MacBook-Pro:output_test michalis$ brew info dealii

homebrew/science/dealii: stable 8.2.1 (bottled), HEAD

http://www.dealii.org

/usr/local/Cellar/dealii/8.2.1 (521 files, 170M) *

  Poured from bottle

From: https://github.com/homebrew/homebrew-science/blob/master/dealii.rb

==> Dependencies

Build: cmake

Recommended: arpack , boost , hdf5 , metis , mumps , muparser , netcdf , opencascade , petsc , p4est , slepc

Optional: openblas , trilinos



Should I install Trillions?

Any help will be much appreciated.

For the sake of completeness, I am trying to simulate heat diffusion on a square mesh with Neumann boundary conditions (no-flow), ideally with adaptive mesh refinement. This has to be solved one time-step at a time, and integrated into a class which will interact with other objects in the system at every time step. If there are any better ideas for how to achieve this I would love to hear them, as at this point I have spent an inordinate amount of time trying to define this problem and fit it into the structure of the project (tried other libraries as well, I'm just getting started with deal.ii).

Thank you very much for all your time and help.

Denis Davydov

unread,
Jun 1, 2015, 7:40:41 AM6/1/15
to dea...@googlegroups.com
I never tried using deal.II built with Homebrew within XCode. I don't think it is trivial...
First of all, try compiling the example form the command line, not from the XCode.
That shall pick up all the right libraries installed (OpenMPI, etc). 
If that builds all right (which should be the case, otherwise all the small tests which 
run during installation of deal.II in Homebrew https://github.com/Homebrew/homebrew-science/blob/master/dealii.rb#L81 would fail), 
then the issue is within XCode setting. 
But I can't help you here as I use Eclipse for programming and compile everything form the terminal.

Regards,
Denis. 
Reply all
Reply to author
Forward
0 new messages