diff options
author | eschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2012-07-21 10:35:11 +0000 |
---|---|---|
committer | eschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2012-07-21 10:35:11 +0000 |
commit | 1a381dc3c09bee6d5a6e4845e5e19ebf08260968 (patch) | |
tree | 90ca5abe727e28fe338ea6d7d404ede2ce9a714e /src/comm | |
parent | 3aa8a812527b1b9a18146a6fa9ee5ff66557838c (diff) |
Move MPI support from flesh to a thorn
Move MPI support from flesh to thorn ExternalLibraries/MPI. This also
requires thorns that call MPI directly to declare this in their
configuration.ccl. Existing configurations using MPI need to include
ExternalLibraries/MPI into their thorn list.
* Declare that the flesh optionally uses MPI (because it needs to call
MPI_Init)
* Update test case mechanism to find out whether MPI is used
* Handle configuration bindings for flesh
* Don't special-case Crays any more when configuring Linux
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4847 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/comm')
-rw-r--r-- | src/comm/CactusDefaultComm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/comm/CactusDefaultComm.c b/src/comm/CactusDefaultComm.c index b3d341c9..330cdcbe 100644 --- a/src/comm/CactusDefaultComm.c +++ b/src/comm/CactusDefaultComm.c @@ -9,6 +9,7 @@ @@*/ +#include "cctk_Capabilities.h" #include "cctk_Flesh.h" #include "cctk_Groups.h" #include "cctk_Constants.h" @@ -29,7 +30,7 @@ #endif #ifdef CCTK_MPI -#include "mpi.h" +# include <mpi.h> #endif static const char *rcsid = "$Header$"; |