dealii / dealii

The development repository for the deal.II finite element library
https://www.dealii.org
Other
1.37k stars 744 forks source link

base/table_handler.cc:274 find() missing header? #11100

Closed frobnitzem closed 4 years ago

frobnitzem commented 4 years ago

When installing with:

$ spack install -j 4 -v --no-cache dealii@9.2.0%gcc@7.4.0+int64~trilinos~metis~ginkgo+mpi+cuda~assimp cuda_arch=70 cxxstd=14 ^/bzfn3k5

Deal.ii compiles based on dependencies:

 -   [    ]  .dealii@9.2.0%gcc@7.4.0~assimp+cuda~ginkgo+int64~metis+mpi~trilinos cuda_arch=70 cxxstd=14
[+]  [    ]      ^builtin.petsc@3.14.0%gcc@7.4.0~X~batch~cgns~complex+cuda~debug+double~exodusii~fftw~giflib+hdf5+hypre+int64~jpeg~knl~libpng~libyaml~memkind~metis~moab~mpfr+mpi~mumps+p4est~random123~saws+shared~suite-sparse+superlu-dist~trilinos~valgrind clanguage=C arch=linux-rhel7-power9le
[+]  [bl  ]          ^builtin.cuda@10.1.243%gcc@7.4.0 arch=linux-rhel7-power9le
[+]  [bl  ]          ^builtin.hdf5@1.10.4%gcc@7.4.0+cxx~debug+fortran+hl~java+mpi+pic+shared~szip~threadsafe api=none arch=linux-rhel7-power9le
[+]  [bl  ]              ^builtin.numactl@2.0.11%gcc@7.4.0 patches=592f30f7f5f757dfc239ad0ffd39a9a048487ad803c26b419e0f96b8cda08c1a arch=linux-rhel7-power9le
[+]  [bl  ]              ^builtin.spectrum-mpi@10.3.1.2-20200121%gcc@7.4.0 arch=linux-rhel7-power9le
[+]  [bl  ]              ^builtin.zlib@1.2.11%gcc@7.4.0+optimize+pic+shared arch=linux-rhel7-power9le
[+]  [bl  ]          ^builtin.hypre@2.20.0%gcc@7.4.0~complex~debug+int64~internal-superlu~mixedint+mpi+openmp+shared~superlu-dist patches=6e3336b1d62155f6350dfe42b0f9ea25d4fa0af60c7e540959139deb93a26059 arch=linux-rhel7-power9le
[+]  [bl  ]              ^builtin.netlib-lapack@3.8.0%gcc@7.4.0~external-blas~ipo+lapacke+shared~xblas build_type=RelWithDebInfo patches=5c79286f3d08a0b0f1f3acba2a92ee698647716ba8c6c0ae20c9cc2713e6f139,ad3d41fe9ff94b7661e09fceaf2b2e4b8c83510c1465c016e161541b4429b5ee arch=linux-rhel7-power9le
[+]  [bl  ]          ^builtin.p4est@2.2%gcc@7.4.0+mpi~openmp arch=linux-rhel7-power9le

However, I reproducibly get the error

ninja: build stopped: subcommand failed.
==> Error: ProcessError: Command exited with status 1:
    'ninja' '-j12' '-v'

1 error found in build log:
     14824    [547/1153] /usr/bin/mpic++  -DBOOST_NO_AUTO_PTR -DDEBUG -Isource/base -Iinclude -I/tmp/user/spack-stage/spack-stage-dealii
              -9.2.0-gugqw5toyegeptft5cigxkj4waimpw6a/spack-src/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gc
              c-6.5.0/cuda-10.2.89-d2mhvmwgirhygkm2kpnt5b3qqokvwaf3/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylak
              e/gcc-6.5.0/openblas-0.3.10-cqqc7qjbzr7dgo2cdatrwnzxnnovxehr/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04
              -skylake/gcc-6.5.0/intel-tbb-2020.3-cfltbwlymuckilw6f4cxto5i6id57pwx/include -isystem /home/user/spack/opt/spack/linux-ubu
              ntu18.04-skylake/gcc-6.5.0/zlib-1.2.11-l235drv4eydmo4t335ojmmucasrzvybm/include -isystem /home/user/spack/opt/spack/linux-
              ubuntu18.04-skylake/gcc-6.5.0/boost-1.74.0-pnqx2u6iektfrv23vuzvnsksjqrqmmnq/include -isystem /home/user/spack/opt/spack/li
              nux-ubuntu18.04-skylake/gcc-6.5.0/ginkgo-1.3.0-lzfa2gwsikbitd7grgvglowukkdfmzex/include -isystem /home/user/spack/opt/spac
              k/linux-ubuntu18.04-skylake/gcc-6.5.0/suite-sparse-5.7.2-k3cqhbpczzz5ysqf2xho3ouym3y66dp2/include -isystem /home/user/spac
              k/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/petsc-3.14.0-3dkhmettfo6vz42czfsa6l6tbz5ezbkj/include -isystem /home/user/
              spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/hypre-2.20.0-eyz6qykzy3icuzcvnzxddl52itot23fn/include -isystem /home/
              user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/hdf5-1.10.7-x57irgorh3n4hwvwdw7anf3wgirvnlzd/include -isystem /ho
              me/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/parmetis-4.0.3-23ea7md7zmf3ddhsfq42g4khuknax6g5/include -isyst
              em /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/metis-5.1.0-pyj77j5v2hfor5xxlnztygjnwcidmxrp/include -is
              ystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/adol-c-2.7.2-3yuxpow7nuiavaejgsbo75445rti6dht/include
               -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/assimp-4.0.1-sgjsgjrofjiozalb7u4nuhl5tf5vwrqr/inc
              lude -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/gsl-2.5-ak67tcsfvrr5adntdy6apefxyogt5mal/incl
              ude -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/muparser-2.2.6.1-ertbii5b6gknin75d4a3y53yzdcjk
              pbw/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/nanoflann-1.2.3-li4axfsr5ngh2fusrqhdpf
              awb2pu34ec/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/oce-0.18.3-hjrtrh4kfrj6ujhtnll3
              eszsuuitetsk/include/oce -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/p4est-2.2-ljpg6jci4qiaps3
              ftivoihsrojieaccj/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/netlib-scalapack-2.1.0-r
              3ccbjfs7jmtznootelgogb7c2e2bek3/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/slepc-3.14
              .0-opnzm7svh7bcb4kmqvtol24sboo6q6xs/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/sundia
              ls-3.2.1-f5v676x2vwvzrdkgzbq5jkmmkxc7ntvw/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/
              symengine-0.6.0-pl6p4x5nh3cdnhz5co6qg5k5d7bp6mkn/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc
              -6.5.0/gmp-6.1.2-kcarrb4vkrnkr76pn2pdws2byju7ajys/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gc
              c-6.5.0/mpc-1.1.0-4w4hpasfyaxizgfal3sunmpzvfwnqsye/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/g
              cc-6.5.0/mpfr-4.0.2-zpfvzebekauozz7ttn6ak6p3c4ssvb53/include -fPIC -Wall -Wextra -Woverloaded-virtual -Wpointer-arith -Ws
              ign-compare -Wsuggest-override -Wswitch -Wsynth -Wwrite-strings -Wno-placement-new -Wno-deprecated-declarations -Wno-lite
              ral-suffix -Wno-psabi -fopenmp-simd -std=c++14 -march=skylake -mtune=skylake -Wno-unused-local-typedefs -O0 -ggdb -Wa,--c
              ompress-debug-sections -MD -MT source/base/CMakeFiles/obj_base_debug.dir/process_grid.cc.o -MF source/base/CMakeFiles/obj
              _base_debug.dir/process_grid.cc.o.d -o source/base/CMakeFiles/obj_base_debug.dir/process_grid.cc.o -c /tmp/user/spack-stag
              e/spack-stage-dealii-9.2.0-gugqw5toyegeptft5cigxkj4waimpw6a/spack-src/source/base/process_grid.cc
     14825    [548/1153] /usr/bin/mpic++  -DBOOST_NO_AUTO_PTR -DDEBUG -Isource/base -Iinclude -I/tmp/user/spack-stage/spack-stage-dealii
              -9.2.0-gugqw5toyegeptft5cigxkj4waimpw6a/spack-src/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gc
              c-6.5.0/cuda-10.2.89-d2mhvmwgirhygkm2kpnt5b3qqokvwaf3/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylak
              e/gcc-6.5.0/openblas-0.3.10-cqqc7qjbzr7dgo2cdatrwnzxnnovxehr/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04
              -skylake/gcc-6.5.0/intel-tbb-2020.3-cfltbwlymuckilw6f4cxto5i6id57pwx/include -isystem /home/user/spack/opt/spack/linux-ubu
              ntu18.04-skylake/gcc-6.5.0/zlib-1.2.11-l235drv4eydmo4t335ojmmucasrzvybm/include -isystem /home/user/spack/opt/spack/linux-
              ubuntu18.04-skylake/gcc-6.5.0/boost-1.74.0-pnqx2u6iektfrv23vuzvnsksjqrqmmnq/include -isystem /home/user/spack/opt/spack/li
              nux-ubuntu18.04-skylake/gcc-6.5.0/ginkgo-1.3.0-lzfa2gwsikbitd7grgvglowukkdfmzex/include -isystem /home/user/spack/opt/spac
              k/linux-ubuntu18.04-skylake/gcc-6.5.0/suite-sparse-5.7.2-k3cqhbpczzz5ysqf2xho3ouym3y66dp2/include -isystem /home/user/spac
              k/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/petsc-3.14.0-3dkhmettfo6vz42czfsa6l6tbz5ezbkj/include -isystem /home/user/
              spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/hypre-2.20.0-eyz6qykzy3icuzcvnzxddl52itot23fn/include -isystem /home/
              user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/hdf5-1.10.7-x57irgorh3n4hwvwdw7anf3wgirvnlzd/include -isystem /ho
              me/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/parmetis-4.0.3-23ea7md7zmf3ddhsfq42g4khuknax6g5/include -isyst
              em /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/metis-5.1.0-pyj77j5v2hfor5xxlnztygjnwcidmxrp/include -is
              ystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/adol-c-2.7.2-3yuxpow7nuiavaejgsbo75445rti6dht/include
               -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/assimp-4.0.1-sgjsgjrofjiozalb7u4nuhl5tf5vwrqr/inc
              lude -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/gsl-2.5-ak67tcsfvrr5adntdy6apefxyogt5mal/incl
              ude -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/muparser-2.2.6.1-ertbii5b6gknin75d4a3y53yzdcjk
              pbw/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/nanoflann-1.2.3-li4axfsr5ngh2fusrqhdpf
              awb2pu34ec/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/oce-0.18.3-hjrtrh4kfrj6ujhtnll3
              eszsuuitetsk/include/oce -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/p4est-2.2-ljpg6jci4qiaps3
              ftivoihsrojieaccj/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/netlib-scalapack-2.1.0-r
              3ccbjfs7jmtznootelgogb7c2e2bek3/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/slepc-3.14
              .0-opnzm7svh7bcb4kmqvtol24sboo6q6xs/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/sundia
              ls-3.2.1-f5v676x2vwvzrdkgzbq5jkmmkxc7ntvw/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/
              symengine-0.6.0-pl6p4x5nh3cdnhz5co6qg5k5d7bp6mkn/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc
              -6.5.0/gmp-6.1.2-kcarrb4vkrnkr76pn2pdws2byju7ajys/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gc
              c-6.5.0/mpc-1.1.0-4w4hpasfyaxizgfal3sunmpzvfwnqsye/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/g
              cc-6.5.0/mpfr-4.0.2-zpfvzebekauozz7ttn6ak6p3c4ssvb53/include -fPIC -Wall -Wextra -Woverloaded-virtual -Wpointer-arith -Ws
              ign-compare -Wsuggest-override -Wswitch -Wsynth -Wwrite-strings -Wno-placement-new -Wno-deprecated-declarations -Wno-lite
              ral-suffix -Wno-psabi -fopenmp-simd -std=c++14 -march=skylake -mtune=skylake -Wno-unused-local-typedefs -O0 -ggdb -Wa,--c
              ompress-debug-sections -MD -MT source/base/CMakeFiles/obj_base_debug.dir/thread_management.cc.o -MF source/base/CMakeFile
              s/obj_base_debug.dir/thread_management.cc.o.d -o source/base/CMakeFiles/obj_base_debug.dir/thread_management.cc.o -c /tmp
              /user/spack-stage/spack-stage-dealii-9.2.0-gugqw5toyegeptft5cigxkj4waimpw6a/spack-src/source/base/thread_management.cc
     14826    [549/1153] /usr/bin/mpic++  -DBOOST_NO_AUTO_PTR -DDEBUG -Isource/base -Iinclude -I/tmp/user/spack-stage/spack-stage-dealii
              -9.2.0-gugqw5toyegeptft5cigxkj4waimpw6a/spack-src/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gc
              c-6.5.0/cuda-10.2.89-d2mhvmwgirhygkm2kpnt5b3qqokvwaf3/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylak
              e/gcc-6.5.0/openblas-0.3.10-cqqc7qjbzr7dgo2cdatrwnzxnnovxehr/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04
              -skylake/gcc-6.5.0/intel-tbb-2020.3-cfltbwlymuckilw6f4cxto5i6id57pwx/include -isystem /home/user/spack/opt/spack/linux-ubu
              ntu18.04-skylake/gcc-6.5.0/zlib-1.2.11-l235drv4eydmo4t335ojmmucasrzvybm/include -isystem /home/user/spack/opt/spack/linux-
              ubuntu18.04-skylake/gcc-6.5.0/boost-1.74.0-pnqx2u6iektfrv23vuzvnsksjqrqmmnq/include -isystem /home/user/spack/opt/spack/li
              nux-ubuntu18.04-skylake/gcc-6.5.0/ginkgo-1.3.0-lzfa2gwsikbitd7grgvglowukkdfmzex/include -isystem /home/user/spack/opt/spac
              k/linux-ubuntu18.04-skylake/gcc-6.5.0/suite-sparse-5.7.2-k3cqhbpczzz5ysqf2xho3ouym3y66dp2/include -isystem /home/user/spac
              k/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/petsc-3.14.0-3dkhmettfo6vz42czfsa6l6tbz5ezbkj/include -isystem /home/user/
              spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/hypre-2.20.0-eyz6qykzy3icuzcvnzxddl52itot23fn/include -isystem /home/
              user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/hdf5-1.10.7-x57irgorh3n4hwvwdw7anf3wgirvnlzd/include -isystem /ho
              me/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/parmetis-4.0.3-23ea7md7zmf3ddhsfq42g4khuknax6g5/include -isyst
              em /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/metis-5.1.0-pyj77j5v2hfor5xxlnztygjnwcidmxrp/include -is
              ystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/adol-c-2.7.2-3yuxpow7nuiavaejgsbo75445rti6dht/include
               -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/assimp-4.0.1-sgjsgjrofjiozalb7u4nuhl5tf5vwrqr/inc
              lude -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/gsl-2.5-ak67tcsfvrr5adntdy6apefxyogt5mal/incl
              ude -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/muparser-2.2.6.1-ertbii5b6gknin75d4a3y53yzdcjk
              pbw/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/nanoflann-1.2.3-li4axfsr5ngh2fusrqhdpf
              awb2pu34ec/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/oce-0.18.3-hjrtrh4kfrj6ujhtnll3
              eszsuuitetsk/include/oce -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/p4est-2.2-ljpg6jci4qiaps3
              ftivoihsrojieaccj/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/netlib-scalapack-2.1.0-r
              3ccbjfs7jmtznootelgogb7c2e2bek3/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/slepc-3.14
              .0-opnzm7svh7bcb4kmqvtol24sboo6q6xs/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/sundia
              ls-3.2.1-f5v676x2vwvzrdkgzbq5jkmmkxc7ntvw/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/
              symengine-0.6.0-pl6p4x5nh3cdnhz5co6qg5k5d7bp6mkn/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc
              -6.5.0/gmp-6.1.2-kcarrb4vkrnkr76pn2pdws2byju7ajys/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gc
              c-6.5.0/mpc-1.1.0-4w4hpasfyaxizgfal3sunmpzvfwnqsye/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/g
              cc-6.5.0/mpfr-4.0.2-zpfvzebekauozz7ttn6ak6p3c4ssvb53/include -fPIC -Wall -Wextra -Woverloaded-virtual -Wpointer-arith -Ws
              ign-compare -Wsuggest-override -Wswitch -Wsynth -Wwrite-strings -Wno-placement-new -Wno-deprecated-declarations -Wno-lite
              ral-suffix -Wno-psabi -fopenmp-simd -std=c++14 -march=skylake -mtune=skylake -Wno-unused-local-typedefs -O0 -ggdb -Wa,--c
              ompress-debug-sections -MD -MT source/base/CMakeFiles/obj_base_debug.dir/table_handler.cc.o -MF source/base/CMakeFiles/ob
              j_base_debug.dir/table_handler.cc.o.d -o source/base/CMakeFiles/obj_base_debug.dir/table_handler.cc.o -c /tmp/user/spack-s
              tage/spack-stage-dealii-9.2.0-gugqw5toyegeptft5cigxkj4waimpw6a/spack-src/source/base/table_handler.cc
     14827    FAILED: source/base/CMakeFiles/obj_base_debug.dir/table_handler.cc.o
     14828    /usr/bin/mpic++  -DBOOST_NO_AUTO_PTR -DDEBUG -Isource/base -Iinclude -I/tmp/user/spack-stage/spack-stage-dealii-9.2.0-gugq
              w5toyegeptft5cigxkj4waimpw6a/spack-src/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/cud
              a-10.2.89-d2mhvmwgirhygkm2kpnt5b3qqokvwaf3/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0
              /openblas-0.3.10-cqqc7qjbzr7dgo2cdatrwnzxnnovxehr/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gc
              c-6.5.0/intel-tbb-2020.3-cfltbwlymuckilw6f4cxto5i6id57pwx/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-sk
              ylake/gcc-6.5.0/zlib-1.2.11-l235drv4eydmo4t335ojmmucasrzvybm/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04
              -skylake/gcc-6.5.0/boost-1.74.0-pnqx2u6iektfrv23vuzvnsksjqrqmmnq/include -isystem /home/user/spack/opt/spack/linux-ubuntu1
              8.04-skylake/gcc-6.5.0/ginkgo-1.3.0-lzfa2gwsikbitd7grgvglowukkdfmzex/include -isystem /home/user/spack/opt/spack/linux-ubu
              ntu18.04-skylake/gcc-6.5.0/suite-sparse-5.7.2-k3cqhbpczzz5ysqf2xho3ouym3y66dp2/include -isystem /home/user/spack/opt/spack
              /linux-ubuntu18.04-skylake/gcc-6.5.0/petsc-3.14.0-3dkhmettfo6vz42czfsa6l6tbz5ezbkj/include -isystem /home/user/spack/opt/s
              pack/linux-ubuntu18.04-skylake/gcc-6.5.0/hypre-2.20.0-eyz6qykzy3icuzcvnzxddl52itot23fn/include -isystem /home/user/spack/o
              pt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/hdf5-1.10.7-x57irgorh3n4hwvwdw7anf3wgirvnlzd/include -isystem /home/user/spac
              k/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/parmetis-4.0.3-23ea7md7zmf3ddhsfq42g4khuknax6g5/include -isystem /home/use
              r/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/metis-5.1.0-pyj77j5v2hfor5xxlnztygjnwcidmxrp/include -isystem /home
              /user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/adol-c-2.7.2-3yuxpow7nuiavaejgsbo75445rti6dht/include -isystem /
              home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/assimp-4.0.1-sgjsgjrofjiozalb7u4nuhl5tf5vwrqr/include -isyst
              em /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/gsl-2.5-ak67tcsfvrr5adntdy6apefxyogt5mal/include -isyste
              m /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/muparser-2.2.6.1-ertbii5b6gknin75d4a3y53yzdcjkpbw/include
               -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/nanoflann-1.2.3-li4axfsr5ngh2fusrqhdpfawb2pu34ec/
              include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/oce-0.18.3-hjrtrh4kfrj6ujhtnll3eszsuuitets
              k/include/oce -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/p4est-2.2-ljpg6jci4qiaps3ftivoihsroj
              ieaccj/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/netlib-scalapack-2.1.0-r3ccbjfs7jmt
              znootelgogb7c2e2bek3/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/slepc-3.14.0-opnzm7sv
              h7bcb4kmqvtol24sboo6q6xs/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/sundials-3.2.1-f5
              v676x2vwvzrdkgzbq5jkmmkxc7ntvw/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/symengine-0
              .6.0-pl6p4x5nh3cdnhz5co6qg5k5d7bp6mkn/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/gmp-
              6.1.2-kcarrb4vkrnkr76pn2pdws2byju7ajys/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/mpc
              -1.1.0-4w4hpasfyaxizgfal3sunmpzvfwnqsye/include -isystem /home/user/spack/opt/spack/linux-ubuntu18.04-skylake/gcc-6.5.0/mp
              fr-4.0.2-zpfvzebekauozz7ttn6ak6p3c4ssvb53/include -fPIC -Wall -Wextra -Woverloaded-virtual -Wpointer-arith -Wsign-compare
               -Wsuggest-override -Wswitch -Wsynth -Wwrite-strings -Wno-placement-new -Wno-deprecated-declarations -Wno-literal-suffix 
              -Wno-psabi -fopenmp-simd -std=c++14 -march=skylake -mtune=skylake -Wno-unused-local-typedefs -O0 -ggdb -Wa,--compress-deb
              ug-sections -MD -MT source/base/CMakeFiles/obj_base_debug.dir/table_handler.cc.o -MF source/base/CMakeFiles/obj_base_debu
              g.dir/table_handler.cc.o.d -o source/base/CMakeFiles/obj_base_debug.dir/table_handler.cc.o -c /tmp/user/spack-stage/spack-
              stage-dealii-9.2.0-gugqw5toyegeptft5cigxkj4waimpw6a/spack-src/source/base/table_handler.cc
     14829    /tmp/user/spack-stage/spack-stage-dealii-9.2.0-gugqw5toyegeptft5cigxkj4waimpw6a/spack-src/source/base/table_handler.cc: In
               member function 'void dealii::TableHandler::add_column_to_supercolumn(const string&, const string&)':
  >> 14830    /tmp/user/spack-stage/spack-stage-dealii-9.2.0-gugqw5toyegeptft5cigxkj4waimpw6a/spack-src/source/base/table_handler.cc:274
              :64: error: no matching function for call to 'find(std::vector<std::__cxx11::basic_string<char> >::iterator, std::vector<
              std::__cxx11::basic_string<char> >::iterator, const string&)'
     14831             std::find(column_order.begin(), column_order.end(), key);
     14832                                                                    ^
     14833    In file included from /usr/include/c++/6/bits/locale_facets.h:48:0,
     14834                     from /usr/include/c++/6/bits/basic_ios.h:37,
     14835                     from /usr/include/c++/6/ios:44,
     14836                     from /usr/include/c++/6/ostream:38,

See build log for details:
  /tmp/user/spack-stage/spack-stage-dealii-9.2.0-gugqw5toyegeptft5cigxkj4waimpw6a/spack-build-out.txt

This same error occurs when compiling on an intel with cuda 10 and 7.5:

$ spack spec -lINt dealii@9.2.0%gcc@6.5.0+cuda~metis~trilinos cuda_arch=72 +p4est cxxstd=14 ^/3dkh ^cuda@10.2.89
Input spec
--------------------------------
 -   [    ]  .dealii@9.2.0%gcc@6.5.0+cuda~metis+p4est~trilinos cuda_arch=72 cxxstd=14
 -   [    ]      ^.cuda@10.2.89
[+]  [    ]      ^builtin.petsc@3.14.0%gcc@6.5.0~X~batch~cgns~complex~cuda~debug+double~exodusii~fftw~giflib+hdf5+hypre~int64~jpeg~knl~libpng~libyaml~memkind+metis~moab~mpfr+mpi~mumps~p4est~random123~saws+shared~suite-sparse+superlu-dist~trilinos~valgrind clanguage=C arch=linux-ubuntu18.04-skylake
[+]  [bl  ]          ^builtin.hdf5@1.10.7%gcc@6.5.0~cxx~debug+fortran+hl~java+mpi+pic+shared~szip~threadsafe api=none arch=linux-ubuntu18.04-skylake
[+]  [bl  ]              ^builtin.numactl@2.0.12%gcc@6.5.0 arch=linux-ubuntu18.04-skylake
[+]  [bl  ]              ^builtin.openmpi@2.1.1-8%gcc@6.5.0~atomics~cuda~cxx~cxx_exceptions+gpfs~java~legacylaunchers~lustre~memchecker~pmi~singularity~sqlite3+static~thread_multiple+vt+wrapper-rpath fabrics=none patches=51e39ef20662d45a772f61db21cfac60f5339125b8cd8b7cd83dcdf4e8371366,d7f08ae74788a15662aeeeaf722e30045b212afe17e19e976d42b3411cc7bc26 schedulers=none arch=linux-ubuntu18.04-skylake
[+]  [bl  ]              ^builtin.zlib@1.2.11%gcc@6.5.0+optimize+pic+shared arch=linux-ubuntu18.04-skylake
[+]  [bl  ]          ^builtin.hypre@2.20.0%gcc@6.5.0~complex~debug~int64~internal-superlu~mixedint+mpi~openmp+shared~superlu-dist arch=linux-ubuntu18.04-skylake
[+]  [bl  ]              ^builtin.openblas@0.3.10%gcc@6.5.0~consistent_fpcsr~ilp64+pic+shared threads=none arch=linux-ubuntu18.04-skylake
[+]  [bl  ]          ^builtin.metis@5.1.0%gcc@6.5.0~gdb~int64~real64+shared build_type=Release patches=4991da938c1d3a1d3dea78e49bbebecba00273f98df2a656e38b83d55b281da1,b1225da886605ea558db7ac08dd8054742ea5afe5ed61ad4d0fe7a495b1270d2 arch=linux-ubuntu18.04-skylake
[+]  [bl  ]          ^builtin.parmetis@4.0.3%gcc@6.5.0~gdb~int64+shared build_type=RelWithDebInfo patches=4f892531eb0a807eb1b82e683a416d3e35154a455274cf9b162fb02054d11a5b,50ed2081bc939269689789942067c58b3e522c269269a430d5d34c00edbc5870,704b84f7c7444d4372cb59cca6e1209df4ef3b033bc4ee3cf50f369bce972a9d arch=linux-ubuntu18.04-skylake

I noticed the spack cmake options didn't set all three CXX options, but I modified it during the builds above so that the flags are DEAL_II_WITH_CXX11=ON DEAL_II_WITH_CXX14=ON DEAL_II_WITH_CXX17=OFF I think setting all 3 is useful, especially since cuda requires the CXX17 be set to off.

frobnitzem commented 4 years ago

Oh - the error message was for the second setup (Intel CPU, using gcc 6.5.0), so it's not an issue selecting the wrong compiler.

Rombur commented 4 years ago

@frobnitzem this has been fixed in master https://github.com/dealii/dealii/pull/11006 Just add #include <algorithm> in table_handler.cc