Simon, I believe you shouldn't pass the "-DDEAL_II_WITH_HDF5=OFF" to cmake 
to begin with.  

On Thursday, January 5, 2023 at 6:32:27 PM UTC+2 Simon wrote:

> deal.II was installed using spack.
>
> Do I have to recompile the whole library with 
> $ cmake -DDEAL_II_WITH_HDF5=OFF?
>
>
>
> Am Do., 5. Jan. 2023 um 17:15 Uhr schrieb Timo Heister <hei...@clemson.edu
> >:
>
>> How did you install deal.II on your new machine? Note that the HDF5
>> configuration is part of deal.II and not your user project.
>>
>> On Wed, Jan 4, 2023 at 4:48 AM Simon Wiesheier
>> <simon.w...@gmail.com> wrote:
>> >
>> > I called cmake as follows $ cmake -DDEAL_II_WITH_HDF5=OFF . and get the 
>> additional lines //No help, variable specified on the command line. 
>> DEAL_II_WITH_HDF5: UNINITIALIZED=OFF in my CMakeCache. txt file. However, 
>> after $ make ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍
>> > ZjQcmQRYFpfptBannerStart
>> > This Message Is From an External Sender
>> > Use caution when opening links or attachments if you do not recognize 
>> the sender.
>> >
>> > ZjQcmQRYFpfptBannerEnd
>> > I called cmake as follows
>> > $ cmake -DDEAL_II_WITH_HDF5=OFF .
>> >
>> > and get the additional lines
>> >
>> > //No help, variable specified on the command line.
>> > DEAL_II_WITH_HDF5:UNINITIALIZED=OFF
>> >
>> > in my CMakeCache.txt file.
>> >
>> > However, after
>> > $ make
>> >
>> > the error message is unchanged.
>> > Best
>> > Simon
>> >
>> >
>> > Am Di., 3. Jan. 2023 um 20:55 Uhr schrieb Simon Wiesheier <
>> simon.w...@gmail.com>:
>> >>
>> >> I started from an empty source directory with only a CMakeLists.txt 
>> file.
>> >>
>> >> I do not need hdf5.
>> >> At least I was not aware that I had it on my old computer.
>> >>
>> >> Is there a way to work around the issue?
>> >>
>> >> Best
>> >> Simon
>> >>
>> >>
>> >> Timo Heister <hei...@clemson.edu> schrieb am Di., 3. Jan. 2023, 20:19:
>> >>>
>> >>> Simon,
>> >>>
>> >>> Make sure that you do not transfer any temporary files
>> >>> (CMakeCache.txt, CMakeFiles/ etc.) but that you start from a fresh
>> >>> source directory. The error message hints at the fact that your new
>> >>> system does not have hdf5 installed.
>> >>>
>> >>> On Mon, Jan 2, 2023 at 4:21 AM Simon <simon.w...@gmail.com> wrote:
>> >>> >
>> >>> > Dear all, First of all, I wish you a happy and prosperous new year 
>> 2023! I transferred my dealii project to a different computer and encounter 
>> an linking error (command make) after setting up the project (command cmake 
>> .). ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍
>> >>> > ZjQcmQRYFpfptBannerStart
>> >>> > This Message Is From an External Sender
>> >>> > Use caution when opening links or attachments if you do not 
>> recognize the sender.
>> >>> >
>> >>> > ZjQcmQRYFpfptBannerEnd
>> >>> > Dear all,
>> >>> >
>> >>> > First of all, I wish you a happy and prosperous new year 2023!
>> >>> >
>> >>> > I transferred my dealii project to a different computer and
>> >>> > encounter an linking error (command make) after setting up
>> >>> > the project (command cmake .).
>> >>> > The error message is attached.
>> >>> >
>> >>> > What is the problem?
>> >>> >
>> >>> > Best
>> >>> > Simon
>> >>> >
>> >>> > --
>> >>> > 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 dealii+un...@googlegroups.com.
>> >>> > To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/dealii/ca0ce1f2-cba0-42e1-8ee4-2178806540ebn%40googlegroups.com
>> .
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> Timo Heister
>> >>> http://www.math.clemson.edu/~heister/
>> >>>
>> >>> --
>> >>> 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 dealii+un...@googlegroups.com.
>> >>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/dealii/CAMRj59HYLvENRpM7%3Dwy4v%3D8pvbkm7viGjMa4Apr3ytoZKX%3DktQ%40mail.gmail.com
>> .
>> >
>> > --
>> > 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 dealii+un...@googlegroups.com.
>> > To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/dealii/CAM50jEsJVDPE-6Y1tuviCXU%2BmgPD55%3D1pX%3DyW8JTP5eghM7ZWA%40mail.gmail.com
>> .
>>
>>
>>
>> -- 
>> Timo Heister
>> http://www.math.clemson.edu/~heister/
>>
>> -- 
>> 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 dealii+un...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/dealii/CAMRj59Ee4u5L6ym8GX%2B%3Df-L3AhpyG_eRbaf%2BBC0Hb7G2dN%3DKrw%40mail.gmail.com
>> .
>>
>

-- 
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 dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/bee29919-3d92-45fd-9b28-aca2e8fdfaeen%40googlegroups.com.

Reply via email to