Hi,

Thank you for your reply. I will try it. Can you tell me how can I let
spack know about the package that is installed through system installation?

Also, can you help me with the other error that I get when I try to refresh
the modules?

==> Error: Cannot use invalid module set default.    Valid module set names
are []

Thanks again for your help.
Vinayak

On Fri, 12 May 2023 at 3:12 PM, Daniel Arndt <[email protected]> wrote:

> Yes, our HDF5 integration only works well with a raw install (like a
> system package manager provides) that doesn't expose CMake files.
> https://github.com/dealii/dealii/pull/15199 offers a workaround for that
> issue but otherwise, it's best to just use the system installation
> obtainable through
>
> apt-get install libhdf5-dev
>
> or the like and let spack know about it.
>
> Best,
> Daniel
>
> On Fri, May 12, 2023 at 7:55 AM 陈敏 <[email protected]> wrote:
>
>> Hi, Vinayak Vijay
>>
>> I think installing dealii-9.4 with hdf5 using spack maybe some bug, you
>> can turn off the hdf5 by spack install [email protected]~hdf5.
>>
>> Best
>> Chen
>>
>> Vinayak Vijay <[email protected]> 于2023年5月12日周五 17:23写道:
>>
>>> Hello,
>>>
>>> In order to upgrade the version of dealii, i reinstalled the latest
>>> version of spack. I have been able to also install dealii using spack.
>>> However, when i use the command "spack module tcl refresh", i get the
>>> following error.
>>>
>>> ==> Error: Cannot use invalid module set default.    Valid module set
>>> names are []
>>>
>>> If i just ignore this and perform "make run" of my code i get the
>>> following error:
>>>
>>> [ 14%] Linking CXX executable main
>>> /usr/bin/ld.gold: error: cannot find -lhdf5-shared
>>> collect2: error: ld returned 1 exit status
>>> make[3]: *** [CMakeFiles/main.dir/build.make:292: main] Error 1
>>> make[2]: *** [CMakeFiles/Makefile2:90: CMakeFiles/main.dir/all] Error 2
>>> make[1]: *** [CMakeFiles/Makefile2:123: CMakeFiles/run.dir/rule] Error 2
>>> make: *** [Makefile:137: run] Error 2
>>>
>>> I think these two errors are linked. Can someone point out what i should
>>> do now?
>>>
>>> Note: I was able to perfectly run dealii v9.3 befor this reinstallation.
>>>
>>> Thanks,
>>> Vinayak
>>>
>>> --
>>> 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/4a585a05-c8e1-45aa-972d-d01caaaebed2n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/dealii/4a585a05-c8e1-45aa-972d-d01caaaebed2n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> 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/CADr3OdKdm-HCp-ZpEwWx8u%2BxHDmprrKvt3VTAzOkVs7C-s9d%2Bg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/dealii/CADr3OdKdm-HCp-ZpEwWx8u%2BxHDmprrKvt3VTAzOkVs7C-s9d%2Bg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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 a topic in the
> Google Groups "deal.II User Group" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/dealii/ABXq4Bb_RWU/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dealii/CAOYDWbKbv2KJLiYb%3DDE7TLNzBRN5V-jRcd0jq_BxFNFYysNLkA%40mail.gmail.com
> <https://groups.google.com/d/msgid/dealii/CAOYDWbKbv2KJLiYb%3DDE7TLNzBRN5V-jRcd0jq_BxFNFYysNLkA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CACvoVZHRdpTiGLXJZ-Z9aT%3DcKVoazSJeinzexWhGFq0Yev%3D%3DHw%40mail.gmail.com.

Reply via email to