Hi Bruno, Thanks for your quick response! The error message I get when i run [al5@coe ~]$ srun --mem-per-cpu=16G spack install dealii@9.2.0 %gcc@12.2.0
is ==> Installing dealii-9.2.0-27ysq7kvk7cdu7t2a6jjqmls4qd5fsbc ==> No binary for dealii-9.2.0-27ysq7kvk7cdu7t2a6jjqmls4qd5fsbc found: installing from source 1 out of 1 hunk FAILED -- saving rejects to file cmake/modules/FindGINKGO.cmake.rej 1 out of 1 hunk FAILED -- saving rejects to file cmake/modules/FindGINKGO.cmake.rej ==> Using cached archive: /home/al5/.spack/var/spack/cache/_source-cache/archive/d0/d05a82fb40f1f1e24407451814b5a6004e39366a44c81208b1ae9d65f3efa43a.tar.gz ==> Using cached archive: /home/al5/.spack/var/spack/cache/_source-cache/archive/c9/c9884ebb0fe379c539012a225d8bcdcfe288edec8dc9d319fbfd64d8fbafba8e ==> Patch https://github.com/dealii/dealii/commit/df6c5de8d6785fce701c10575982858f3aeb4cbd.patch?full_index=1 failed. ==> Error: ProcessError: Command exited with status 1: '/usr/bin/patch' '-s' '-p' '1' '-i' '/tmp/al5/spack-stage/spack-stage-fd9czbgb/df6c5de8d6785fce701c10575982858f3aeb4cbd.patch?full_index=1' '-d' '.' srun: error: e001: task 0: Exited with exit code 1 I have also tried specifying boost to boost@1.72 and boost@1.68. the error is the same as the one above. Best, Andrew On Friday, June 23, 2023 at 11:53:58 AM UTC-4 bruno.t...@gmail.com wrote: > Andrew, > > What's the error message that you get when using `spack install > dea...@9.2.0 %g...@12.2.0` ? spack writes the exact error in an output > file. I don't think changing the C++ standard is the right fix, instead I > would change the version of boost. > > Best, > > Bruno > > On Friday, June 23, 2023 at 10:15:08 AM UTC-4 a...@andrew.cmu.edu wrote: > >> Dear all, >> >> I hope this is the right place to post this question. I am trying to >> install an older version of dealii on a centos7 cluster using spack, and am >> running into issues. I have no problem installing dea...@9.4.2, but am >> unable to install dea...@9.2.0. >> >> If I run without specifying boost cxxstd >> >> spack install dea...@9.2.0 %g...@12.2.0 >> >> I get an error >> >> ==> boost: Executing phase: 'install' >> ==> Error: ProcessError: Command exited with status 1: >> './b2' 'install' 'threading=multi' '-j' '4' >> '--user-config=/tmp/al5/spack-stage/spack-stage-boost-1.76.0-2ykrczt6n7igaz645shnq2pscuosk3al/spack-src/user-config.jam' >> >> 'variant=release' '--disable-icu' '-s' >> 'BZIP2_INCLUDE=/home/al5/.spack/opt/spack/linux-centos7-broadwell/gcc-12.2.0/bzip2-1.0.8-lhu2fvk3ssx5w66tth4tp6kjorlgfj2u/include' >> >> '-s' >> 'BZIP2_LIBPATH=/home/al5/.spack/opt/spack/linux-centos7-broadwell/gcc-12.2.0/bzip2-1.0.8-lhu2fvk3ssx5w66tth4tp6kjorlgfj2u/lib' >> >> '-s' >> 'ZLIB_INCLUDE=/home/al5/.spack/opt/spack/linux-centos7-broadwell/gcc-12.2.0/zlib-1.2.13-qemlwst2qu3yyrmrlgdnomlmzbjsgs34/include' >> >> '-s' >> 'ZLIB_LIBPATH=/home/al5/.spack/opt/spack/linux-centos7-broadwell/gcc-12.2.0/zlib-1.2.13-qemlwst2qu3yyrmrlgdnomlmzbjsgs34/lib' >> >> '-s' >> 'LZMA_INCLUDE=/home/al5/.spack/opt/spack/linux-centos7-broadwell/gcc-12.2.0/xz-5.4.1-lux543af2a73htjercpienfpkmx64zez/include' >> >> '-s' >> 'LZMA_LIBPATH=/home/al5/.spack/opt/spack/linux-centos7-broadwell/gcc-12.2.0/xz-5.4.1-lux543af2a73htjercpienfpkmx64zez/lib' >> >> '-s' >> 'ZSTD_INCLUDE=/home/al5/.spack/opt/spack/linux-centos7-broadwell/gcc-12.2.0/zstd-1.5.5-gfcgznqbaijyvpybcdyqkpjhzc3zylg2/include' >> >> '-s' >> 'ZSTD_LIBPATH=/home/al5/.spack/opt/spack/linux-centos7-broadwell/gcc-12.2.0/zstd-1.5.5-gfcgznqbaijyvpybcdyqkpjhzc3zylg2/lib' >> >> 'link=static,shared' '--layout=system' 'toolset=gcc' 'cxxstd=17' >> 'visibility=hidden' >> >> If I run with either setting boost cxxstd=11 or 98 >> >> spack install dea...@9.2.0 ^bo...@1.76.0 cxxstd=11 %g...@12.2.0, >> >> I get the error >> >> 1 out of 1 hunk FAILED -- saving rejects to file >> cmake/modules/FindGINKGO.cmake.rej >> 1 out of 1 hunk FAILED -- saving rejects to file >> cmake/modules/FindGINKGO.cmake.rej >> ==> Using cached archive: >> /home/al5/.spack/var/spack/cache/_source-cache/archive/d0/d05a82fb40f1f1e24407451814b5a6004e39366a44c81208b1ae9d65f3efa43a.tar.gz >> ==> Using cached archive: >> /home/al5/.spack/var/spack/cache/_source-cache/archive/90/90ae9ddefe77fffd297bba6b070ab68d07306d4ef525ee994e8c49cef68f76f3 >> ==> Using cached archive: >> /home/al5/.spack/var/spack/cache/_source-cache/archive/c9/c9884ebb0fe379c539012a225d8bcdcfe288edec8dc9d319fbfd64d8fbafba8e >> ==> Applied patch >> https://github.com/dealii/dealii/commit/3b815e21c4bfd82c792ba80e4d90314c8bb9edc9.patch?full_index=1 >> ==> Patch >> https://github.com/dealii/dealii/commit/df6c5de8d6785fce701c10575982858f3aeb4cbd.patch?full_index=1 >> >> failed. >> ==> Error: ProcessError: Command exited with status 1: >> '/usr/bin/patch' '-s' '-p' '1' '-i' >> '/tmp/al5/spack-stage/spack-stage-s5pzaunz/df6c5de8d6785fce701c10575982858f3aeb4cbd.patch?full_index=1' >> >> '-d' '.' >> >> Can anyone advise me on what to do? >> >> Thank you, >> Andrew >> > -- 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/de1ef0ea-7696-49f8-b45d-ecf6370d8c33n%40googlegroups.com.