diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2010-12-03 16:22:00 -0500 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2011-12-14 18:25:48 +0000 |
commit | 69f2889efbc84f03addcf716893f0b9270b9abfd (patch) | |
tree | 10b4f11a3050bdc9507a888d2c7b806c9db392ca /Carpet/Carpet/src/carpet_public.h | |
parent | 3481b98cb0d357b226255254f98cda8193764614 (diff) |
Carpet: Remove dependency on LoopControl; use NoMPI
Diffstat (limited to 'Carpet/Carpet/src/carpet_public.h')
-rw-r--r-- | Carpet/Carpet/src/carpet_public.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Carpet/Carpet/src/carpet_public.h b/Carpet/Carpet/src/carpet_public.h index 20a265848..b47d369c2 100644 --- a/Carpet/Carpet/src/carpet_public.h +++ b/Carpet/Carpet/src/carpet_public.h @@ -1,10 +1,13 @@ #ifndef CARPET_PUBLIC_H #define CARPET_PUBLIC_H -#include <mpi.h> - #include <cctk.h> +#ifdef CCTK_MPI +# include <mpi.h> +#else +# include "nompi.h" +#endif /* Tell thorns that the Carpet routines exist */ |