From 1a381dc3c09bee6d5a6e4845e5e19ebf08260968 Mon Sep 17 00:00:00 2001 From: eschnett Date: Sat, 21 Jul 2012 10:35:11 +0000 Subject: 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 --- src/comm/CactusDefaultComm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/comm') 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 #endif static const char *rcsid = "$Header$"; -- cgit v1.2.3