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 dealii@9.4.0~hdf5.
Best Chen Vinayak Vijay <vinayak....@gmail.com> 于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 dealii+unsubscr...@googlegroups.com. > 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 dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/CADr3OdKdm-HCp-ZpEwWx8u%2BxHDmprrKvt3VTAzOkVs7C-s9d%2Bg%40mail.gmail.com.