geodynamics / aspect

A parallel, extensible finite element code to simulate convection in both 2D and 3D models.
https://aspect.geodynamics.org/
Other
227 stars 237 forks source link

MPI run failed but deal.ii works #731

Closed Laurent-777 closed 8 years ago

Laurent-777 commented 8 years ago

Deal.ii successfully installed as well as its compilation and tests (in progress : success for up to step-16 but step-5).

ASPECT 1.3 successfully build but run fails (PETSC set ON or OFF). See log files.

Snow Leopard (OS X 10.6.8). Inetl Core 2 Duo. GNU cc 5.3.0, OpenMPI 1.8.8 (NB currently Xcode and GNU CC and Open MPI totally rebuilt to verify correct installation).

my-make-error-1_2-1_3.log.zip my-make-error-1_2-1_3.log.zip

tjhei commented 8 years ago

ASPECT 1.3 successfully build

In your logfile it looks like you do not compile correctly.

For OSX I can recommend using the binary packages. Can you try https://github.com/luca-heltai/dealii/releases please?

bobmyhill commented 8 years ago

In case this is still a problem for anyone, homebrew does an excellent job (brew install dealii --HEAD). The --HEAD flag installs the latest version from the github repository (8.4.0-pre), which includes a patch related to zlib warnings.

Laurent-777 commented 8 years ago

Dear Sir :

In fact, I found that two mpirun existed in my APPLE computer : one the one hand, mpi installation via Xcode ; on the other hand, the mpi installation I build myself with to my own GNU cc compiler suite.

I build deal.ii with my own OpenMPI software, but run Aspect with the Xcode mpirun, and it failed. Besides, I had to fix some issues with the STEP tutorial. For example, a STEP file needed METIS that was not installed in my computer, and I had to build it to incorporate in dela.ii. Next, STEP-34 needs OpenCascade to be incorporated in deal.ii too. However, SETP-34 with OpenCascade compiled as serial. I am currently building deal.ii with OpenCascade as MPI-compiled, and I will try it.

Eventually, I will try all these with ASPECT. A quick guide installation of deal.ii will probably written and issued by myself, dedicated to Mac OS X platform, with informations of third-party software needed by deal.ii.

Kind regards,

Laurent Delphin

!===========================================

----- Mail original -----

De: "Timo Heister" notifications@github.com À: "geodynamics/aspect" aspect@noreply.github.com Cc: "laurentang001" space-eu.delphin@laposte.net Envoyé: Mercredi 27 Janvier 2016 18:50:33 Objet: Re: [aspect] MPI run failed but deal.ii works (#731)

ASPECT 1.3 successfully build

In your logfile it looks like you do not compile correctly.

For OSX I can recommend using the binary packages. Can you try https://github.com/luca-heltai/dealii/releases please?

— Reply to this email directly or view it on GitHub .

tjhei commented 8 years ago

Yes, you need to have a single mpi library and use it to compile deal.II, all the dependencies, and finally also use the mpirun/mpiexec wrapper from this library.

I am closing this issue.