[aspect-devel] Aspect-devel Digest, Vol 30, Issue 4
Wolfgang Bangerth
bangerth at math.tamu.edu
Wed May 7 04:27:56 PDT 2014
> After I untar the aspect-1.0.tar and under /users/nz1/scratch/aspect-1.0/, I
> set the DEAL_II_DIR path to /gpfs/runtime/opt/dealii/7.2.0. <http://7.2.0.>
> However, the "cmake ." still gets an error:
> ************************************************************
> ====================================================
> ============ Configuring ASPECT ====================
> ====================================================
> CMake Error at CMakeLists.txt:38 (MESSAGE):
>
>
> *** Could not locate deal.II. ***
>
>
>
> You may want to either pass a flag -DDEAL_II_DIR=/path/to/deal.II to cmake
>
> or set an environment variable "DEAL_II_DIR" that contains this path.
>
>
> -- Configuring incomplete, errors occurred!
> ***********************************************************
> I checked my path for the DEAL_II_DIR is /gpfs/runtime/opt/dealii/7.2.0.
> <http://7.2.0.> Why does my cmake still not find the dealii directory?
I think this is a deficiency of the way we generate the error message --
Aspect 1.0 requires deal.II 8.0 or later. You have 7.2.0, which does not
qualify, and so Aspect reports that it can't find deal.II.
@Timo: Can you apply the attached patch to the new git repo? I don't have a
checked out version sitting around and probably won't get to it today or
tomorrow either :-(
Cheers
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth at math.tamu.edu
www: http://www.math.tamu.edu/~bangerth/
-------------- next part --------------
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt (revision 2562)
+++ CMakeLists.txt (working copy)
@@ -36,9 +36,10 @@
)
IF(NOT ${deal.II_FOUND})
MESSAGE(FATAL_ERROR "\n"
- "*** Could not locate deal.II. ***\n\n"
+ "*** Could not find a suitably recent version of deal.II. ***\n\n"
"You may want to either pass a flag -DDEAL_II_DIR=/path/to/deal.II to cmake\n"
- "or set an environment variable \"DEAL_II_DIR\" that contains this path."
+ "or set an environment variable \"DEAL_II_DIR\" that contains a path to a\n."
+ "sufficiently recent version of deal.II."
)
ENDIF()
More information about the Aspect-devel
mailing list