There is some issue with dealii-9.4.0 with spack. I uninstall everything 
and install dealii-9.3.1 which works fine. Details are below if anyone 
needs it.

spackv0.17
cmake-3.16.3
spack install [email protected] target=x86_64

Best Regards,
Amit Sharma

On Friday, April 7, 2023 at 5:51:45 PM UTC+5:30 Simon wrote:

> Is there already a solution to this issue?
>
> I have the same problem as Amit Sharm;
> hdf5 is loaded.
>
> Best
> Simon
>
> [email protected] schrieb am Freitag, 31. März 2023 um 15:05:26 UTC+2:
>
>> Dear Bruno,
>>
>> Yes, I loaded hdf5(version-1.10.7) and I tried same with latest version 
>> available on spack.
>>
>> Thanks,
>> Amit
>>
>> On Friday, March 31, 2023 at 6:27:13 PM UTC+5:30 [email protected] 
>> wrote:
>>
>>> Amit,
>>>
>>> Did you load the hdf5 package? You can check using `spack find --loaded`.
>>>
>>> Best,
>>>
>>> Bruno
>>>
>>> On Friday, March 31, 2023 at 4:51:02 AM UTC-4 [email protected] 
>>> wrote:
>>>
>>>> Hello everyone,
>>>>
>>>> I installed dealii using spack manager. I started learning dealii using 
>>>> examples but I am getting a linking error.
>>>>
>>>> Scanning dependencies of target step-1
>>>> [ 33%] Building CXX object CMakeFiles/step-1.dir/step-1.cc.o
>>>> [ 66%] Linking CXX executable step-1
>>>> /home/amit/spack/opt/spack/linux-ubuntu20.04-skylake/gcc-9.4.0/binutils-2.38-e2nnae3w7g55p34q7m3tsngmmrol2iba/bin/ld.gold:
>>>>  
>>>> error: cannot find -lhdf5-shared
>>>> collect2: error: ld returned 1 exit status
>>>> make[3]: *** [CMakeFiles/step-1.dir/build.make:223: step-1] Error 1
>>>> make[2]: *** [CMakeFiles/Makefile2:272: CMakeFiles/step-1.dir/all] 
>>>> Error 2
>>>> make[1]: *** [CMakeFiles/Makefile2:252: CMakeFiles/run.dir/rule] Error 2
>>>> make: *** [Makefile:196: run] Error 2
>>>>
>>>> Thanks,
>>>> Amit Sharma
>>>>
>>>>

-- 
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/70804bf4-cefb-44a3-a4a9-915469a867c4n%40googlegroups.com.

Reply via email to