Jhon,
the path is there, and it is correct. The message is telling you that you are
in a directory containing developement version of the examples.
If you inspect the CMakeLists.txt of the example you are trying to compile, it
tells you:
FIND_PACKAGE(deal.II 9.2.0 QUIET
HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
)
IF(NOT ${deal.II_FOUND})
MESSAGE(FATAL_ERROR "\n"
"*** Could not locate a (sufficiently 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."
)
ENDIF()
i.e., I guess your program is looking for deal.II 9.2.0, but finds only 9.1.1,
and bails out.
Try replacing 9.2.0 with 9.1.0 in the CMakeLists.txt, and you should be able to
compile and run within docker.
Best,
Luca.
> On 30 Jul 2019, at 23:39, Luca Heltai <[email protected]> wrote:
>
> You don't need to do that, because the container already export DEAL_II_DIR
> to the correct path.
>
> Luca
>
> Il giorno 30 lug 2019, alle ore 22:50, Jhon Uribe <[email protected]> ha
> scritto:
>
>>
>>
>> El martes, 30 de julio de 2019, 15:48:47 (UTC-5), Jhon Uribe escribió:
>> Hello
>>
>> I am using a container from the image
>> v9.1.1-gcc-mpi-fulldepsspack-debugrelease, but when I try to use the command
>> "cmake -DDEAL_II_DIR=/path/to/installed/deal.II .", I don't know what to
>> replace the string "/path/to/installed/deal.II" for.
>>
>> Thank you for your attention
>>
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/68CC9C2B-0DEE-4938-B405-90EB3FB1023E%40gmail.com.