Buckethead spack installation

35 views
Skip to first unread message

ignat...@gmail.com

unread,
Sep 5, 2018, 4:27:59 AM9/5/18
to mofem Group
Hello,

I am in the process of installing mofem on buckethead based on the process presented in http://mofem.eng.gla.ac.uk/mofem/html/install_spack.html#spack_buckedhead

I encounter an error when I type command 
 spack bootstrap

The error is

==> pkgconf is already installed in /home/staff/ia45r/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0/pkgconf-1.4.2-utmugr24kuv55uw26zm7gjfhblpkqzqv

 

==> ncurses is already installed in /home/staff/ia45r/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0/ncurses-6.1-ree7wypg73ztyvthpzod4cy26sojrfpw

==> zlib is already installed in /home/staff/ia45r/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0/zlib-1.2.11-ufwqfd4zrwuuu7fmguamaqokn5plxyns

==> openssl is already installed in /home/staff/ia45r/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0/openssl-1.0.2o-qxfzezxhp4blvxkj6vsnj43vpiqfjs3x

==> Installing cmake

==> Using cached archive: /home/staff/ia45r/spack/var/spack/cache/cmake/cmake-3.12.1.tar.gz

==> Staging archive: /home/staff/ia45r/spack/var/spack/stage/cmake-3.12.1-xsx46qaqtcddtdnhlbwdnxxltjgt4cya/cmake-3.12.1.tar.gz

==> Created stage in /home/staff/ia45r/spack/var/spack/stage/cmake-3.12.1-xsx46qaqtcddtdnhlbwdnxxltjgt4cya

==> Applied patch nag-response-files.patch

==> Building cmake [Package]

==> Executing phase: 'bootstrap'

==> Error: ProcessError: Command exited with status 11:

   
'./bootstrap' '--prefix=/home/staff/ia45r/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0/cmake-3.12.1-xsx46qaqtcddtdnhlbwdnxxltjgt4cya' '--parallel=8' '--no-system-libs' '--no-qt-gui' '--' '-DCMAKE_USE_OPENSSL=ON'


 

1 error found in build log:

     
219    /home/staff/ia45r/spack/lib/spack/env/gcc/gcc           -I/tmp/ia45r/spack-stage/spack-stage-kSQB91/cmake-3.12.1/Bootstra

            p
.cmk   -I/tmp/ia45r/spack-stage/spack-stage-kSQB91/cmake-3.12.1/Source   -I/tmp/ia45r/spack-stage/spack-stage-kSQB91/cma

            ke
-3.12.1/Source/LexerParser   -I/tmp/ia45r/spack-stage/spack-stage-kSQB91/cmake-3.12.1/Utilities  -DCMAKE_BOOTSTRAP -D_G

            NU_SOURCE
-I/tmp/ia45r/spack-stage/spack-stage-kSQB91/cmake-3.12.1/Utilities/cmlibuv/include -I/tmp/ia45r/spack-stage/spa

            ck
-stage-kSQB91/cmake-3.12.1/Utilities/cmlibuv/src/unix -I/tmp/ia45r/spack-stage/spack-stage-kSQB91/cmake-3.12.1/Utilitie

            s
/cmlibuv/src -c /tmp/ia45r/spack-stage/spack-stage-kSQB91/cmake-3.12.1/Utilities/cmlibuv/src/unix/stream.c -o uv-src-uni

            x
-stream.c.o

     
220    /home/staff/ia45r/spack/lib/spack/env/gcc/gcc           -I/tmp/ia45r/spack-stage/spack-stage-kSQB91/cmake-3.12.1/Bootstra

            p
.cmk   -I/tmp/ia45r/spack-stage/spack-stage-kSQB91/cmake-3.12.1/Source   -I/tmp/ia45r/spack-stage/spack-stage-kSQB91/cma

            ke
-3.12.1/Source/LexerParser   -I/tmp/ia45r/spack-stage/spack-stage-kSQB91/cmake-3.12.1/Utilities  -DCMAKE_BOOTSTRAP -D_G

            NU_SOURCE
-I/tmp/ia45r/spack-stage/spack-stage-kSQB91/cmake-3.12.1/Utilities/cmlibuv/include -I/tmp/ia45r/spack-stage/spa

            ck
-stage-kSQB91/cmake-3.12.1/Utilities/cmlibuv/src/unix -I/tmp/ia45r/spack-stage/spack-stage-kSQB91/cmake-3.12.1/Utilitie

            s
/cmlibuv/src -c /tmp/ia45r/spack-stage/spack-stage-kSQB91/cmake-3.12.1/Utilities/cmlibuv/src/unix/timer.c -o uv-src-unix

           
-timer.c.o

     
221    /home/staff/ia45r/spack/lib/spack/env/gcc/g++   -std=gnu++11      -I/tmp/ia45r/spack-stage/spack-stage-kSQB91/cmake-3.12.

           
1/Bootstrap.cmk   -I/tmp/ia45r/spack-stage/spack-stage-kSQB91/cmake-3.12.1/Source   -I/tmp/ia45r/spack-stage/spack-stage-

            kSQB91
/cmake-3.12.1/Source/LexerParser   -I/tmp/ia45r/spack-stage/spack-stage-kSQB91/cmake-3.12.1/Utilities  cmAddCustomC

            ommandCommand
.o cmAddCustomTargetCommand.o cmAddDefinitionsCommand.o cmAddDependenciesCommand.o cmAddExecutableCommand.o  

            cmAddLibraryCommand
.o cmAddSubDirectoryCommand.o cmAddTestCommand.o cmBreakCommand.o cmBuildCommand.o cmCMakeMinimumRequi

            red
.o cmCMakePolicyCommand.o cmCPackPropertiesGenerator.o cmCacheManager.o cmCommand.o cmCommandArgumentParserHelper.o cm

           
CommandArgumentsHelper.o cmCommands.o cmCommonTargetGenerator.o cmComputeComponentGraph.o cmComputeLinkDepends.o cmComput

            eLinkInformation
.o cmComputeTargetDepends.o cmConditionEvaluator.o cmConfigureFileCommand.o cmContinueCommand.o cmCoreTry

           
Compile.o cmCreateTestSourceList.o cmCustomCommand.o cmCustomCommandGenerator.o cmDefinePropertyCommand.o cmDefinitions.o

             cmDepends
.o cmDependsC.o cmDisallowedCommand.o cmDocumentationFormatter.o cmEnableLanguageCommand.o cmEnableTestingComma

            nd
.o cmExecProgramCommand.o cmExecuteProcessCommand.o cmExpandedCommandArgument.o cmExportBuildFileGenerator.o cmExportFi

            leGenerator
.o cmExportInstallFileGenerator.o cmExportSet.o cmExportSetMap.o cmExportTryCompileFileGenerator.o cmExprParse

            rHelper
.o cmExternalMakefileProjectGenerator.o cmFileCommand.o cmFileTimeComparison.o cmFindBase.o cmFindCommon.o cmFindF

            ileCommand
.o cmFindLibraryCommand.o cmFindPackageCommand.o cmFindPathCommand.o cmFindProgramCommand.o cmForEachCommand.o  

            cmFunctionCommand
.o cmFSPermissions.o cmGeneratedFileStream.o cmGeneratorExpression.o cmGeneratorExpressionContext.o cmGe

            neratorExpressionDAGChecker
.o cmGeneratorExpressionEvaluationFile.o cmGeneratorExpressionEvaluator.o cmGeneratorExpressio

            nLexer
.o cmGeneratorExpressionNode.o cmGeneratorExpressionParser.o cmGeneratorTarget.o cmGetCMakePropertyCommand.o cmGetD

            irectoryPropertyCommand
.o cmGetFilenameComponentCommand.o cmGetPropertyCommand.o cmGetSourceFilePropertyCommand.o cmGetTa

            rgetPropertyCommand
.o cmGetTestPropertyCommand.o cmGlobalCommonGenerator.o cmGlobalGenerator.o cmGlobalUnixMakefileGenera

            tor3
.o cmGlobVerificationManager.o cmHexFileConverter.o cmIfCommand.o cmIncludeCommand.o cmIncludeGuardCommand.o cmInclud

            eDirectoryCommand
.o cmIncludeRegularExpressionCommand.o cmInstallCommand.o cmInstallCommandArguments.o cmInstallDirectory

           
Generator.o cmInstallExportGenerator.o cmInstallFilesCommand.o cmInstallFilesGenerator.o cmInstallGenerator.o cmInstallSc

            riptGenerator
.o cmInstallTargetGenerator.o cmInstallTargetsCommand.o cmInstalledFile.o cmLinkDirectoriesCommand.o cmLinkL

            ineComputer
.o cmListCommand.o cmListFileCache.o cmLocalCommonGenerator.o cmLocalGenerator.o cmLocalUnixMakefileGenerator3

           
.o cmMSVC60LinkLineComputer.o cmMacroCommand.o cmMakeDirectoryCommand.o cmMakefile.o cmMakefileExecutableTargetGenerator.

            o cmMakefileLibraryTargetGenerator
.o cmMakefileTargetGenerator.o cmMakefileUtilityTargetGenerator.o cmMarkAsAdvancedComma

            nd
.o cmMathCommand.o cmMessageCommand.o cmMessenger.o cmNewLineStyle.o cmOSXBundleGenerator.o cmOptionCommand.o cmOrderDi

            rectories
.o cmOutputConverter.o cmParseArgumentsCommand.o cmPathLabel.o cmPolicies.o cmProcessOutput.o cmProjectCommand.o

             cmProperty
.o cmPropertyDefinition.o cmPropertyDefinitionMap.o cmPropertyMap.o cmReturnCommand.o cmRulePlaceholderExpande

            r
.o cmScriptGenerator.o cmSearchPath.o cmSeparateArgumentsCommand.o cmSetCommand.o cmSetDirectoryPropertiesCommand.o cmSe

            tPropertyCommand
.o cmSetSourceFilesPropertiesCommand.o cmSetTargetPropertiesCommand.o cmSetTestsPropertiesCommand.o cmSit

            eNameCommand
.o cmSourceFile.o cmSourceFileLocation.o cmState.o cmStateDirectory.o cmStateSnapshot.o cmStringReplaceHelper

           
.o cmStringCommand.o cmSubdirCommand.o cmSystemTools.o cmTarget.o cmTargetCompileDefinitionsCommand.o cmTargetCompileFeat

            uresCommand
.o cmTargetCompileOptionsCommand.o cmTargetIncludeDirectoriesCommand.o cmTargetLinkLibrariesCommand.o cmTarget

           
PropCommandBase.o cmTargetPropertyComputer.o cmTargetSourcesCommand.o cmTest.o cmTestGenerator.o cmTimestamp.o cmTryCompi

            leCommand
.o cmTryRunCommand.o cmUnexpectedCommand.o cmUnsetCommand.o cmUVHandlePtr.o cmVersion.o cmWhileCommand.o cmWorki

            ngDirectory
.o cmake.o cmakemain.o cmcmd.o cmCommandArgumentLexer.o cmCommandArgumentParser.o cmExprLexer.o cmExprParser.o

             cmListFileLexer
.o Directory.o EncodingCXX.o FStream.o Glob.o RegularExpression.o SystemTools.o EncodingC.o ProcessUNIX.o

             
String.o System.o Terminal.o uv-src-uv-common.c.o uv-src-unix-cmake-bootstrap.c.o uv-src-unix-core.c.o uv-src-unix-fs.c.

            o uv
-src-unix-loop.c.o uv-src-unix-loop-watcher.c.o uv-src-unix-no-fsevents.c.o uv-src-unix-pipe.c.o uv-src-unix-poll.c.o

             uv
-src-unix-posix-hrtime.c.o uv-src-unix-posix-poll.c.o uv-src-unix-process.c.o uv-src-unix-signal.c.o uv-src-unix-strea

            m
.c.o uv-src-unix-timer.c.o  -ldl -lrt -o cmake

     
222    /tmp/ia45r/spack-stage/spack-stage-kSQB91/cmake-3.12.1/Bootstrap.cmk/cmake: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.2

            0' not found (required by /tmp/ia45r/spack-stage/spack-stage-kSQB91/cmake-3.12.1/Bootstrap.cmk/cmake)

     223    /tmp/ia45r/spack-stage/spack-stage-kSQB91/cmake-3.12.1/Bootstrap.cmk/cmake: /lib64/libstdc++.so.6: version `
GLIBCXX_3.4.2

           
1' not found (required by /tmp/ia45r/spack-stage/spack-stage-kSQB91/cmake-3.12.1/Bootstrap.cmk/cmake)

     224    ---------------------------------------------

  >> 225    Error when bootstrapping CMake:

     226    Problem while running initial CMake

     227    ---------------------------------------------


 

See build log for details:

  /home/staff/ia45r/spack/var/spack/stage/cmake-3.12.1-xsx46qaqtcddtdnhlbwdnxxltjgt4cya/cmake-3.12.1/spack-build.out



Thanks in advance.

Ignatios





Lukasz Kaczmraczyk

unread,
Sep 5, 2018, 4:37:23 AM9/5/18
to mofem...@googlegroups.com
Ignasios,


From you error massage it looks that you missing
    17     extra_rpaths:
    18     - /software/compilers/gcc/6.4.0/lib64
in line 17 in .spack/linux/compilers.yaml


Could you add to .spack/config.yaml 

config:


 
# The default number of jobs to use when running `make` in parallel.
 
# If set to 4, for example, `spack install` will run `make -j4`.
 
# If not set, all available cores are used by default.
  build_jobs
: 4

and check if you have in .spack/linux/compilers.yaml

- compiler:
    environment
: {}
    extra_rpaths
:
   
- /software/compilers/gcc/6.4.0/lib64
    flags
: {}
    modules
: []
    operating_system
: centos7
    paths
:
      cc
: /software/compilers/gcc/6.4.0/bin/gcc
      cxx
: /software/compilers/gcc/6.4.0/bin/g++
      f77
: /software/compilers/gcc/6.4.0/bin/gfortran
      fc
: /software/compilers/gcc/6.4.0/bin/gfortran
    spec
: gcc@6.4.0
    target
: x86_64

As well before you strat compilation pleas load module

module load gcc/6.4.0
module load gridengine


Kind regards,
Lukasz

ignat...@gmail.com

unread,
Sep 5, 2018, 5:59:06 AM9/5/18
to mofem Group
Hi Lukasz,

Thank you very much for your very fast reply.

I have applied your changes, an error is now appearing when typing command:

spack install mofem-users-modules


The error is:

==> Error: ProcessError: Command exited with status 2:



'make' '-j4'




13 errors found in build log:

175 [ 42%] Building CXX object src/finite_elements/CMakeFiles/
mofem_finite_elements.dir/impl/All.cpp.o

176 cd /tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/spack-
build/src/finite_elements && /home/staff/ia45r/spack/opt/

spack/linux-centos7-x86_64/gcc-6.4.0/openmpi-3.1.2-
nn3qworcrs4gh6klta2ijpxmhnr55rhx/bin/mpic++ -DBLAS_FOUND -DMETIS -DMO

AB_HDF5_ENABLED -DPARMETIS -DWITH_ADOL_C -DWITH_MED -DWITH_TETGEN
-Drestrict=__restrict__ -I/tmp/ia45r/spack-stage/spack-

stage-GW0PLL/mofem-cephas/mofem/third_party/phg-quadrule -I/tmp/
ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/s

rc/ftensor/src -I/tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem
-cephas/mofem/src/finite_elements -I/tmp/ia45r/spack-stag

e/spack-stage-GW0PLL/mofem-cephas/mofem/src/petsc -I/tmp/ia45r/
spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/src/inte

rfaces -I/tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/
mofem/src/multi_indices -I/tmp/ia45r/spack-stage/spack-st

age-GW0PLL/mofem-cephas/mofem/src/approximation/c -I/tmp/ia45r/
spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/src/appr

oximation -I/tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-
cephas/mofem/third_party/cblas -I/tmp/ia45r/spack-stage/spack

-stage-GW0PLL/mofem-cephas/mofem/third_party -I/tmp/ia45r/spack-
stage/spack-stage-GW0PLL/mofem-cephas/mofem/include -I/tm

p/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/spack-build/include
-I/home/staff/ia45r/spack/opt/spack/linux-centos7

-x86_64/gcc-6.4.0/parmetis-4.0.3-
lyeeigo5i6cucgyfw65spezptjrdrstk/include -I/home/staff/ia45r/spack/opt/spack
/linux-cento

s7-x86_64/gcc-6.4.0/metis-5.1.0-ibbuh42smfog5zmdebhsku25zoqlfnal
/include -I/home/staff/ia45r/spack/opt/spack/linux-centos

7-x86_64/gcc-6.4.0/boost-1.68.0-zvw3a74qxiip2gdyaxqmjbtejjubyp3u
/include -I/include -I/home/staff/ia45r/spack/opt/spack/l

inux-centos7-x86_64/gcc-6.4.0/petsc-3.9.3-
tejpk5fn2d7niep7z7aiy5howbhp5sb7/include -I/home/staff/ia45r/spack/opt/spack
/li

nux-centos7-x86_64/gcc-6.4.0/hdf5-1.8.19-zv63itx62rmigqmhmeo3udknnpyfxskd
-I/home/staff/ia45r/spack/opt/spack/linux-cento

s7-x86_64/gcc-6.4.0/hdf5-1.8.19-zv63itx62rmigqmhmeo3udknnpyfxskd
/include -I/home/staff/ia45r/spack/opt/spack/linux-centos

7-x86_64/gcc-6.4.0/moab-5.0.2-n647wff5pple2lhszd43q5kceqk5zzbm/include
-I/home/staff/ia45r/spack/opt/spack/linux-centos7-

x86_64/gcc-6.4.0/med-3.2.0-i5nh2p2lf74wumvhwnhzirwohbo6k5cn/include
-I/home/staff/ia45r/spack/opt/spack/linux-centos7-x86

_64/gcc-6.4.0/tetgen-1.5.0-7covxhqacumfgrvvrtzlslbxbrn2ld4e/include
-I/home/staff/ia45r/spack/opt/spack/linux-centos7-x86

_64/gcc-6.4.0/adol-c-2.5.2-fd5jxdqvwbuthbtdjp5epj7idmdivwmb/include
-O2 -g -DNDEBUG -std=gnu++14 -o CMakeFiles/mofem_f

inite_elements.dir/impl/All.cpp.o -c /tmp/ia45r/spack-stage/
spack-stage-GW0PLL/mofem-cephas/mofem/src/finite_elements/imp

l/All.cpp

177 [ 46%] Building CXX object src/approximation/CMakeFiles/
mofem_approx.dir/impl/All.cpp.o

178 cd /tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/spack-
build/src/approximation && /home/staff/ia45r/spack/opt/sp

ack/linux-centos7-x86_64/gcc-6.4.0/openmpi-3.1.2-
nn3qworcrs4gh6klta2ijpxmhnr55rhx/bin/mpic++ -DBLAS_FOUND -DMETIS -DMOAB

_HDF5_ENABLED -DPARMETIS -DWITH_ADOL_C -DWITH_MED -DWITH_TETGEN
-Drestrict=__restrict__ -I/tmp/ia45r/spack-stage/spack-st

age-GW0PLL/mofem-cephas/mofem/src/petsc -I/tmp/ia45r/spack-stage
/spack-stage-GW0PLL/mofem-cephas/mofem/src/finite_element

s -I/tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem
/src/interfaces -I/tmp/ia45r/spack-stage/spack-stage-GW0P

LL/mofem-cephas/mofem/src/multi_indices -I/tmp/ia45r/spack-stage
/spack-stage-GW0PLL/mofem-cephas/mofem/src/ftensor/src -I

/tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/src
/approximation/c -I/tmp/ia45r/spack-stage/spack-stage-GW0

PLL/mofem-cephas/mofem/src/approximation -I/tmp/ia45r/spack-
stage/spack-stage-GW0PLL/mofem-cephas/mofem/third_party/cblas

-I/tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/third_party
-I/tmp/ia45r/spack-stage/spack-stage-GW0PLL/m

ofem-cephas/mofem/include -I/tmp/ia45r/spack-stage/spack-stage-
GW0PLL/mofem-cephas/spack-build/include -I/home/staff/ia45

r/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0/parmetis-4.0.3-
lyeeigo5i6cucgyfw65spezptjrdrstk/include -I/home/staff/ia

45r/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0/metis-5.1.0-
ibbuh42smfog5zmdebhsku25zoqlfnal/include -I/home/staff/ia4

5r/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0/boost-1.68.0-
zvw3a74qxiip2gdyaxqmjbtejjubyp3u/include -I/include -I/hom

e/staff/ia45r/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0/
petsc-3.9.3-tejpk5fn2d7niep7z7aiy5howbhp5sb7/include -I/home

/staff/ia45r/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0/hdf5
-1.8.19-zv63itx62rmigqmhmeo3udknnpyfxskd -I/home/staff/ia

45r/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0/hdf5-1.8.19-
zv63itx62rmigqmhmeo3udknnpyfxskd/include -I/home/staff/ia4

5r/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0/moab-5.0.2-
n647wff5pple2lhszd43q5kceqk5zzbm/include -I/home/staff/ia45r

/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0/med-3.2.0-
i5nh2p2lf74wumvhwnhzirwohbo6k5cn/include -I/home/staff/ia45r/sp

ack/opt/spack/linux-centos7-x86_64/gcc-6.4.0/tetgen-1.5.0-
7covxhqacumfgrvvrtzlslbxbrn2ld4e/include -I/home/staff/ia45r/sp

ack/opt/spack/linux-centos7-x86_64/gcc-6.4.0/adol-c-2.5.2-
fd5jxdqvwbuthbtdjp5epj7idmdivwmb/include -O2 -g -DNDEBUG -st

d=gnu++14 -o CMakeFiles/mofem_approx.dir/impl/All.cpp.o -c /tmp/
ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/s

rc/approximation/impl/All.cpp

179 In file included from /tmp/ia45r/spack-stage/spack-stage-GW0PLL/
mofem-cephas/mofem/src/finite_elements/impl/All.cpp:3:0:

180 /tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/src
/finite_elements/impl/ForcesAndSourcesCore.cpp: In member

function ‘MoFEM::MoFEMErrorCode MoFEM::ForcesAndSourcesCore::
getNodesIndices(boost::string_ref, MoFEM::FENumeredDofEnt

ity_multiIndex&, MoFEM::VectorInt&, MoFEM::VectorInt&) const’:

>> 181 /tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/src
/finite_elements/impl/ForcesAndSourcesCore.cpp:452:27: er

ror: call of overloaded ‘distance(boost::multi_index::detail::
ordered_index<boost::multi_index::composite_key<MoFEM::FE

NumeredDofEntity, boost::multi_index::const_mem_fun<MoFEM::
interface_Field<MoFEM::NumeredDofEntity>, boost::basic_string_

ref<char, std::char_traits<char> >, &MoFEM::interface_Field<
MoFEM::NumeredDofEntity>::getNameRef>, boost::multi_index::co

nst_mem_fun<MoFEM::interface_RefEntity<MoFEM::NumeredDofEntity>,
moab::EntityType, &MoFEM::interface_RefEntity<MoFEM::Num

eredDofEntity>::getEntType> >, std::less<boost::multi_index::
composite_key_result<boost::multi_index::composite_key<MoFEM

::FENumeredDofEntity, boost::multi_index::const_mem_fun<MoFEM::
interface_Field<MoFEM::NumeredDofEntity>, boost::basic_str

ing_ref<char, std::char_traits<char> >, &MoFEM::interface_Field<
MoFEM::NumeredDofEntity>::getNameRef>, boost::multi_index

::const_mem_fun<MoFEM::interface_RefEntity<MoFEM::
NumeredDofEntity>, moab::EntityType, &MoFEM::interface_RefEntity<MoFEM:

:NumeredDofEntity>::getEntType> > > >, boost::multi_index::
detail::nth_layer<6, boost::shared_ptr<MoFEM::FENumeredDofEnti

ty>, boost::multi_index::indexed_by<boost::multi_index::
ordered_unique<boost::multi_index::tag<MoFEM::Unique_mi_tag>, boo

st::multi_index::const_mem_fun<MoFEM::interface_DofEntity<MoFEM
::NumeredDofEntity>, const boost::multiprecision::number<b

oost::multiprecision::backends::cpp_int_backend<128u, 128u, (
boost::multiprecision::cpp_integer_type)0u, (boost::multipre

cision::cpp_int_check_type)0u, void> >, &MoFEM::
interface_DofEntity<MoFEM::NumeredDofEntity>::getGlobalUniqueId> >, boost

::multi_index::ordered_non_unique<boost::multi_index::tag<MoFEM
::Ent_mi_tag>, boost::multi_index::const_mem_fun<MoFEM::in

terface_DofEntity<MoFEM::NumeredDofEntity>, long unsigned int, &
MoFEM::interface_DofEntity<MoFEM::NumeredDofEntity>::getE

nt> >, boost::multi_index::ordered_non_unique<boost::multi_index
::tag<MoFEM::FieldName_mi_tag>, boost::multi_index::const

_mem_fun<MoFEM::interface_Field<MoFEM::NumeredDofEntity>, boost
::basic_string_ref<char, std::char_traits<char> >, &MoFEM:

:interface_Field<MoFEM::NumeredDofEntity>::getNameRef> >, boost
::multi_index::ordered_non_unique<boost::multi_index::tag<

MoFEM::PetscGlobalIdx_mi_tag>, boost::multi_index::const_mem_fun
<MoFEM::interface_NumeredDofEntity<MoFEM::NumeredDofEntit

y>, int, &MoFEM::interface_NumeredDofEntity<MoFEM::
NumeredDofEntity>::getPetscGlobalDofIdx> >, boost::multi_index::ordere

d_non_unique<boost::multi_index::tag<MoFEM::
Composite_Name_Type_And_Side_Number_mi_tag>, boost::multi_index::composite_ke


y<MoFEM::FENumeredDofEntity, boost::multi_index::const_mem_fun<
MoFEM::interface_Field<MoFEM::NumeredDofEntity>, boost::ba

sic_string_ref<char, std::char_traits<char> >, &MoFEM::
interface_Field<MoFEM::NumeredDofEntity>::getNameRef>, boost::mult

i_index::const_mem_fun<MoFEM::interface_RefEntity<MoFEM::
NumeredDofEntity>, moab::EntityType, &MoFEM::interface_RefEntity

<MoFEM::NumeredDofEntity>::getEntType>, MoFEM::KeyFromKey<boost
::multi_index::member<MoFEM::SideNumber, char, &MoFEM::Sid

eNumber::side_number>, boost::multi_index::member<MoFEM::
BaseFEDofEntity, boost::shared_ptr<MoFEM::SideNumber>, &MoFEM::B

aseFEDofEntity::sideNumberPtr> > > >, boost::multi_index::
ordered_non_unique<boost::multi_index::tag<MoFEM::Composite_Nam

e_And_Type_mi_tag>, boost::multi_index::composite_key<MoFEM::
FENumeredDofEntity, boost::multi_index::const_mem_fun<MoFEM:

:interface_Field<MoFEM::NumeredDofEntity>, boost::
basic_string_ref<char, std::char_traits<char> >, &MoFEM::interface_Fiel

d<MoFEM::NumeredDofEntity>::getNameRef>, boost::multi_index::
const_mem_fun<MoFEM::interface_RefEntity<MoFEM::NumeredDofEn

tity>, moab::EntityType, &MoFEM::interface_RefEntity<MoFEM::
NumeredDofEntity>::getEntType> > >, boost::multi_index::order

ed_non_unique<boost::multi_index::tag<MoFEM::
Composite_Name_And_Ent_mi_tag>, boost::multi_index::composite_key<MoFEM::FEN


umeredDofEntity, boost::multi_index::const_mem_fun<MoFEM::
interface_Field<MoFEM::NumeredDofEntity>, boost::basic_string_r

ef<char, std::char_traits<char> >, &MoFEM::interface_Field<MoFEM
::NumeredDofEntity>::getNameRef>, boost::multi_index::con

st_mem_fun<MoFEM::interface_DofEntity<MoFEM::NumeredDofEntity>,
long unsigned int, &MoFEM::interface_DofEntity<MoFEM::Num

eredDofEntity>::getEnt> > > >, std::allocator<boost::shared_ptr<
MoFEM::FENumeredDofEntity> > >, boost::mpl::v_item<MoFEM:

:Composite_Name_And_Type_mi_tag, boost::mpl::vector0<mpl_::na>,
0>, boost::multi_index::detail::ordered_non_unique_tag, b

oost::multi_index::detail::null_augment_policy>::iterator&,
boost::multi_index::detail::ordered_index<boost::multi_index:

:composite_key<MoFEM::FENumeredDofEntity, boost::multi_index::
const_mem_fun<MoFEM::interface_Field<MoFEM::NumeredDofEntit

y>, boost::basic_string_ref<char, std::char_traits<char> >, &
MoFEM::interface_Field<MoFEM::NumeredDofEntity>::getNameRef>

, boost::multi_index::const_mem_fun<MoFEM::interface_RefEntity<
MoFEM::NumeredDofEntity>, moab::EntityType, &MoFEM::interf

ace_RefEntity<MoFEM::NumeredDofEntity>::getEntType> >, std::less
<boost::multi_index::composite_key_result<boost::multi_in

dex::composite_key<MoFEM::FENumeredDofEntity, boost::multi_index
::const_mem_fun<MoFEM::interface_Field<MoFEM::NumeredDofE

ntity>, boost::basic_string_ref<char, std::char_traits<char> >,
&MoFEM::interface_Field<MoFEM::NumeredDofEntity>::getName

Ref>, boost::multi_index::const_mem_fun<MoFEM::
interface_RefEntity<MoFEM::NumeredDofEntity>, moab::EntityType, &MoFEM::in

terface_RefEntity<MoFEM::NumeredDofEntity>::getEntType> > > >,
boost::multi_index::detail::nth_layer<6, boost::shared_ptr

<MoFEM::FENumeredDofEntity>, boost::multi_index::indexed_by<
boost::multi_index::ordered_unique<boost::multi_index::tag<Mo

FEM::Unique_mi_tag>, boost::multi_index::const_mem_fun<MoFEM::
interface_DofEntity<MoFEM::NumeredDofEntity>, const boost::

multiprecision::number<boost::multiprecision::backends::
cpp_int_backend<128u, 128u, (boost::multiprecision::cpp_integer_t

ype)0u, (boost::multiprecision::cpp_int_check_type)0u, void> >,
&MoFEM::interface_DofEntity<MoFEM::NumeredDofEntity>::get

GlobalUniqueId> >, boost::multi_index::ordered_non_unique<boost
::multi_index::tag<MoFEM::Ent_mi_tag>, boost::multi_index:

:const_mem_fun<MoFEM::interface_DofEntity<MoFEM::
NumeredDofEntity>, long unsigned int, &MoFEM::interface_DofEntity<MoFEM:

:NumeredDofEntity>::getEnt> >, boost::multi_index::
ordered_non_unique<boost::multi_index::tag<MoFEM::FieldName_mi_tag>, b

oost::multi_index::const_mem_fun<MoFEM::interface_Field<MoFEM::
NumeredDofEntity>, boost::basic_string_ref<char, std::char

_traits<char> >, &MoFEM::interface_Field<MoFEM::NumeredDofEntity
>::getNameRef> >, boost::multi_index::ordered_non_unique<

boost::multi_index::tag<MoFEM::PetscGlobalIdx_mi_tag>, boost::
multi_index::const_mem_fun<MoFEM::interface_NumeredDofEntit

y<MoFEM::NumeredDofEntity>, int, &MoFEM::
interface_NumeredDofEntity<MoFEM::NumeredDofEntity>::getPetscGlobalDofIdx>
>, bo

ost::multi_index::ordered_non_unique<boost::multi_index::tag<
MoFEM::Composite_Name_Type_And_Side_Number_mi_tag>, boost::m

ulti_index::composite_key<MoFEM::FENumeredDofEntity, boost::
multi_index::const_mem_fun<MoFEM::interface_Field<MoFEM::Nume

redDofEntity>, boost::basic_string_ref<char, std::char_traits
<char> >, &MoFEM::interface_Field<MoFEM::NumeredDofEntity>::

getNameRef>, boost::multi_index::const_mem_fun<MoFEM::
interface_RefEntity<MoFEM::NumeredDofEntity>, moab::EntityType, &Mo

FEM::interface_RefEntity<MoFEM::NumeredDofEntity>::getEntType>,
MoFEM::KeyFromKey<boost::multi_index::member<MoFEM::SideN

umber, char, &MoFEM::SideNumber::side_number>, boost::
multi_index::member<MoFEM::BaseFEDofEntity, boost::shared_ptr<MoFEM

::SideNumber>, &MoFEM::BaseFEDofEntity::sideNumberPtr> > > >,
boost::multi_index::ordered_non_unique<boost::multi_index::

tag<MoFEM::Composite_Name_And_Type_mi_tag>, boost::multi_index::
composite_key<MoFEM::FENumeredDofEntity, boost::multi_ind

ex::const_mem_fun<MoFEM::interface_Field<MoFEM::NumeredDofEntity
>, boost::basic_string_ref<char, std::char_traits<char> >

, &MoFEM::interface_Field<MoFEM::NumeredDofEntity>::getNameRef>,
boost::multi_index::const_mem_fun<MoFEM::interface_RefEn

tity<MoFEM::NumeredDofEntity>, moab::EntityType, &MoFEM::
interface_RefEntity<MoFEM::NumeredDofEntity>::getEntType> > >, b

oost::multi_index::ordered_non_unique<boost::multi_index::tag<
MoFEM::Composite_Name_And_Ent_mi_tag>, boost::multi_index::

composite_key<MoFEM::FENumeredDofEntity, boost::multi_index::
const_mem_fun<MoFEM::interface_Field<MoFEM::NumeredDofEntity

>, boost::basic_string_ref<char, std::char_traits<char> >, &
MoFEM::interface_Field<MoFEM::NumeredDofEntity>::getNameRef>,

boost::multi_index::const_mem_fun<MoFEM::interface_DofEntity<
MoFEM::NumeredDofEntity>, long unsigned int, &MoFEM::interf

ace_DofEntity<MoFEM::NumeredDofEntity>::getEnt> > > >, std::
allocator<boost::shared_ptr<MoFEM::FENumeredDofEntity> > >, b

oost::mpl::v_item<MoFEM::Composite_Name_And_Type_mi_tag, boost::
mpl::vector0<mpl_::na>, 0>, boost::multi_index::detail::o

rdered_non_unique_tag, boost::multi_index::detail::
null_augment_policy>::iterator&)’ is ambiguous

182 if (distance(dit, hi_dit) != max_nb_dofs) {

183 ^

184 In file included from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/bits/stl_algobase.h:66:0,

185 from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/bits/char_traits.h:39,

186 from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/ios:40,

187 from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/istream:38,




...




205 from /tmp/ia45r/spack-stage/spack-stage-GW0PLL/
mofem-cephas/mofem/src/finite_elements/impl/DataStructure

s.cpp:21,

206 from /tmp/ia45r/spack-stage/spack-stage-GW0PLL/
mofem-cephas/mofem/src/finite_elements/impl/All.cpp:1:

207 /home/staff/ia45r/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0
/boost-1.68.0-zvw3a74qxiip2gdyaxqmjbtejjubyp3u/include/bo

ost/iterator/distance.hpp:49:9: note: candidate: constexpr
typename boost::iterators::iterator_difference<Iterator>::type

boost::iterators::distance_adl_barrier::distance(
SinglePassIterator, SinglePassIterator) [with SinglePassIterator = boos

t::multi_index::detail::bidir_node_iterator<boost::multi_index::
detail::ordered_index_node<boost::multi_index::detail::nu

ll_augment_policy, boost::multi_index::detail::
ordered_index_node<boost::multi_index::detail::null_augment_policy, boost:

:multi_index::detail::index_node_base<boost::shared_ptr<MoFEM::
FENumeredDofEntity>, std::allocator<boost::shared_ptr<MoFE

M::FENumeredDofEntity> > > > > >; typename boost::iterators::
iterator_difference<Iterator>::type = long int]

208 distance(SinglePassIterator first, SinglePassIterator
last)

209 ^~~~~~~~

210 In file included from /tmp/ia45r/spack-stage/spack-stage-GW0PLL/
mofem-cephas/mofem/src/finite_elements/impl/All.cpp:3:0:

>> 211 /tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/src
/finite_elements/impl/ForcesAndSourcesCore.cpp:460:46: er

ror: call of overloaded ‘distance(boost::multi_index::detail::
ordered_index<boost::multi_index::composite_key<MoFEM::FE

NumeredDofEntity, boost::multi_index::const_mem_fun<MoFEM::
interface_Field<MoFEM::NumeredDofEntity>, boost::basic_string_

ref<char, std::char_traits<char> >, &MoFEM::interface_Field<
MoFEM::NumeredDofEntity>::getNameRef>, boost::multi_index::co

nst_mem_fun<MoFEM::interface_RefEntity<MoFEM::NumeredDofEntity>,
moab::EntityType, &MoFEM::interface_RefEntity<MoFEM::Num

eredDofEntity>::getEntType> >, std::less<boost::multi_index::
composite_key_result<boost::multi_index::composite_key<MoFEM

::FENumeredDofEntity, boost::multi_index::const_mem_fun<MoFEM::
interface_Field<MoFEM::NumeredDofEntity>, boost::basic_str

ing_ref<char, std::char_traits<char> >, &MoFEM::interface_Field<
MoFEM::NumeredDofEntity>::getNameRef>, boost::multi_index

::const_mem_fun<MoFEM::interface_RefEntity<MoFEM::
NumeredDofEntity>, moab::EntityType, &MoFEM::interface_RefEntity<MoFEM:

:NumeredDofEntity>::getEntType> > > >, boost::multi_index::
detail::nth_layer<6, boost::shared_ptr<MoFEM::FENumeredDofEnti

ty>, boost::multi_index::indexed_by<boost::multi_index::
ordered_unique<boost::multi_index::tag<MoFEM::Unique_mi_tag>, boo

st::multi_index::const_mem_fun<MoFEM::interface_DofEntity<MoFEM
::NumeredDofEntity>, const boost::multiprecision::number<b

oost::multiprecision::backends::cpp_int_backend<128u, 128u, (
boost::multiprecision::cpp_integer_type)0u, (boost::multipre

cision::cpp_int_check_type)0u, void> >, &MoFEM::
interface_DofEntity<MoFEM::NumeredDofEntity>::getGlobalUniqueId> >, boost

::multi_index::ordered_non_unique<boost::multi_index::tag<MoFEM
::Ent_mi_tag>, boost::multi_index::const_mem_fun<MoFEM::in

terface_DofEntity<MoFEM::NumeredDofEntity>, long unsigned int, &
MoFEM::interface_DofEntity<MoFEM::NumeredDofEntity>::getE

nt> >, boost::multi_index::ordered_non_unique<boost::multi_index
::tag<MoFEM::FieldName_mi_tag>, boost::multi_index::const

_mem_fun<MoFEM::interface_Field<MoFEM::NumeredDofEntity>, boost
::basic_string_ref<char, std::char_traits<char> >, &MoFEM:

:interface_Field<MoFEM::NumeredDofEntity>::getNameRef> >, boost
::multi_index::ordered_non_unique<boost::multi_index::tag<

MoFEM::PetscGlobalIdx_mi_tag>, boost::multi_index::const_mem_fun
<MoFEM::interface_NumeredDofEntity<MoFEM::NumeredDofEntit

y>, int, &MoFEM::interface_NumeredDofEntity<MoFEM::
NumeredDofEntity>::getPetscGlobalDofIdx> >, boost::multi_index::ordere

d_non_unique<boost::multi_index::tag<MoFEM::
Composite_Name_Type_And_Side_Number_mi_tag>, boost::multi_index::composite_ke


y<MoFEM::FENumeredDofEntity, boost::multi_index::const_mem_fun<
MoFEM::interface_Field<MoFEM::NumeredDofEntity>, boost::ba

sic_string_ref<char, std::char_traits<char> >, &MoFEM::
interface_Field<MoFEM::NumeredDofEntity>::getNameRef>, boost::mult

i_index::const_mem_fun<MoFEM::interface_RefEntity<MoFEM::
NumeredDofEntity>, moab::EntityType, &MoFEM::interface_RefEntity

<MoFEM::NumeredDofEntity>::getEntType>, MoFEM::KeyFromKey<boost
::multi_index::member<MoFEM::SideNumber, char, &MoFEM::Sid

eNumber::side_number>, boost::multi_index::member<MoFEM::
BaseFEDofEntity, boost::shared_ptr<MoFEM::SideNumber>, &MoFEM::B

aseFEDofEntity::sideNumberPtr> > > >, boost::multi_index::
ordered_non_unique<boost::multi_index::tag<MoFEM::Composite_Nam

e_And_Type_mi_tag>, boost::multi_index::composite_key<MoFEM::
FENumeredDofEntity, boost::multi_index::const_mem_fun<MoFEM:

:interface_Field<MoFEM::NumeredDofEntity>, boost::
basic_string_ref<char, std::char_traits<char> >, &MoFEM::interface_Fiel

d<MoFEM::NumeredDofEntity>::getNameRef>, boost::multi_index::
const_mem_fun<MoFEM::interface_RefEntity<MoFEM::NumeredDofEn

tity>, moab::EntityType, &MoFEM::interface_RefEntity<MoFEM::
NumeredDofEntity>::getEntType> > >, boost::multi_index::order

ed_non_unique<boost::multi_index::tag<MoFEM::
Composite_Name_And_Ent_mi_tag>, boost::multi_index::composite_key<MoFEM::FEN


umeredDofEntity, boost::multi_index::const_mem_fun<MoFEM::
interface_Field<MoFEM::NumeredDofEntity>, boost::basic_string_r

ef<char, std::char_traits<char> >, &MoFEM::interface_Field<MoFEM
::NumeredDofEntity>::getNameRef>, boost::multi_index::con

st_mem_fun<MoFEM::interface_DofEntity<MoFEM::NumeredDofEntity>,
long unsigned int, &MoFEM::interface_DofEntity<MoFEM::Num

eredDofEntity>::getEnt> > > >, std::allocator<boost::shared_ptr<
MoFEM::FENumeredDofEntity> > >, boost::mpl::v_item<MoFEM:

:Composite_Name_And_Type_mi_tag, boost::mpl::vector0<mpl_::na>,
0>, boost::multi_index::detail::ordered_non_unique_tag, b

oost::multi_index::detail::null_augment_policy>::iterator&,
boost::multi_index::detail::ordered_index<boost::multi_index:

:composite_key<MoFEM::FENumeredDofEntity, boost::multi_index::
const_mem_fun<MoFEM::interface_Field<MoFEM::NumeredDofEntit

y>, boost::basic_string_ref<char, std::char_traits<char> >, &
MoFEM::interface_Field<MoFEM::NumeredDofEntity>::getNameRef>

, boost::multi_index::const_mem_fun<MoFEM::interface_RefEntity<
MoFEM::NumeredDofEntity>, moab::EntityType, &MoFEM::interf

ace_RefEntity<MoFEM::NumeredDofEntity>::getEntType> >, std::less
<boost::multi_index::composite_key_result<boost::multi_in

dex::composite_key<MoFEM::FENumeredDofEntity, boost::multi_index
::const_mem_fun<MoFEM::interface_Field<MoFEM::NumeredDofE

ntity>, boost::basic_string_ref<char, std::char_traits<char> >,
&MoFEM::interface_Field<MoFEM::NumeredDofEntity>::getName

Ref>, boost::multi_index::const_mem_fun<MoFEM::
interface_RefEntity<MoFEM::NumeredDofEntity>, moab::EntityType, &MoFEM::in

terface_RefEntity<MoFEM::NumeredDofEntity>::getEntType> > > >,
boost::multi_index::detail::nth_layer<6, boost::shared_ptr

<MoFEM::FENumeredDofEntity>, boost::multi_index::indexed_by<
boost::multi_index::ordered_unique<boost::multi_index::tag<Mo

FEM::Unique_mi_tag>, boost::multi_index::const_mem_fun<MoFEM::
interface_DofEntity<MoFEM::NumeredDofEntity>, const boost::

multiprecision::number<boost::multiprecision::backends::
cpp_int_backend<128u, 128u, (boost::multiprecision::cpp_integer_t

ype)0u, (boost::multiprecision::cpp_int_check_type)0u, void> >,
&MoFEM::interface_DofEntity<MoFEM::NumeredDofEntity>::get

GlobalUniqueId> >, boost::multi_index::ordered_non_unique<boost
::multi_index::tag<MoFEM::Ent_mi_tag>, boost::multi_index:

:const_mem_fun<MoFEM::interface_DofEntity<MoFEM::
NumeredDofEntity>, long unsigned int, &MoFEM::interface_DofEntity<MoFEM:

:NumeredDofEntity>::getEnt> >, boost::multi_index::
ordered_non_unique<boost::multi_index::tag<MoFEM::FieldName_mi_tag>, b

oost::multi_index::const_mem_fun<MoFEM::interface_Field<MoFEM::
NumeredDofEntity>, boost::basic_string_ref<char, std::char

_traits<char> >, &MoFEM::interface_Field<MoFEM::NumeredDofEntity
>::getNameRef> >, boost::multi_index::ordered_non_unique<

boost::multi_index::tag<MoFEM::PetscGlobalIdx_mi_tag>, boost::
multi_index::const_mem_fun<MoFEM::interface_NumeredDofEntit

y<MoFEM::NumeredDofEntity>, int, &MoFEM::
interface_NumeredDofEntity<MoFEM::NumeredDofEntity>::getPetscGlobalDofIdx>
>, bo

ost::multi_index::ordered_non_unique<boost::multi_index::tag<
MoFEM::Composite_Name_Type_And_Side_Number_mi_tag>, boost::m

ulti_index::composite_key<MoFEM::FENumeredDofEntity, boost::
multi_index::const_mem_fun<MoFEM::interface_Field<MoFEM::Nume

redDofEntity>, boost::basic_string_ref<char, std::char_traits
<char> >, &MoFEM::interface_Field<MoFEM::NumeredDofEntity>::

getNameRef>, boost::multi_index::const_mem_fun<MoFEM::
interface_RefEntity<MoFEM::NumeredDofEntity>, moab::EntityType, &Mo

FEM::interface_RefEntity<MoFEM::NumeredDofEntity>::getEntType>,
MoFEM::KeyFromKey<boost::multi_index::member<MoFEM::SideN

umber, char, &MoFEM::SideNumber::side_number>, boost::
multi_index::member<MoFEM::BaseFEDofEntity, boost::shared_ptr<MoFEM

::SideNumber>, &MoFEM::BaseFEDofEntity::sideNumberPtr> > > >,
boost::multi_index::ordered_non_unique<boost::multi_index::

tag<MoFEM::Composite_Name_And_Type_mi_tag>, boost::multi_index::
composite_key<MoFEM::FENumeredDofEntity, boost::multi_ind

ex::const_mem_fun<MoFEM::interface_Field<MoFEM::NumeredDofEntity
>, boost::basic_string_ref<char, std::char_traits<char> >

, &MoFEM::interface_Field<MoFEM::NumeredDofEntity>::getNameRef>,
boost::multi_index::const_mem_fun<MoFEM::interface_RefEn

tity<MoFEM::NumeredDofEntity>, moab::EntityType, &MoFEM::
interface_RefEntity<MoFEM::NumeredDofEntity>::getEntType> > >, b

oost::multi_index::ordered_non_unique<boost::multi_index::tag<
MoFEM::Composite_Name_And_Ent_mi_tag>, boost::multi_index::

composite_key<MoFEM::FENumeredDofEntity, boost::multi_index::
const_mem_fun<MoFEM::interface_Field<MoFEM::NumeredDofEntity

>, boost::basic_string_ref<char, std::char_traits<char> >, &
MoFEM::interface_Field<MoFEM::NumeredDofEntity>::getNameRef>,

boost::multi_index::const_mem_fun<MoFEM::interface_DofEntity<
MoFEM::NumeredDofEntity>, long unsigned int, &MoFEM::interf

ace_DofEntity<MoFEM::NumeredDofEntity>::getEnt> > > >, std::
allocator<boost::shared_ptr<MoFEM::FENumeredDofEntity> > >, b

oost::mpl::v_item<MoFEM::Composite_Name_And_Type_mi_tag, boost::
mpl::vector0<mpl_::na>, 0>, boost::multi_index::detail::o

rdered_non_unique_tag, boost::multi_index::detail::
null_augment_policy>::iterator&)’ is ambiguous

212 nodes_indices.resize(distance(dit, hi_dit), false);

213 ^

214 In file included from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/bits/stl_algobase.h:66:0,

215 from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/bits/char_traits.h:39,

216 from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/ios:40,

217 from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/istream:38,




...




235 from /tmp/ia45r/spack-stage/spack-stage-GW0PLL/
mofem-cephas/mofem/src/finite_elements/impl/DataStructure

s.cpp:21,

236 from /tmp/ia45r/spack-stage/spack-stage-GW0PLL/
mofem-cephas/mofem/src/finite_elements/impl/All.cpp:1:

237 /home/staff/ia45r/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0
/boost-1.68.0-zvw3a74qxiip2gdyaxqmjbtejjubyp3u/include/bo

ost/iterator/distance.hpp:49:9: note: candidate: constexpr
typename boost::iterators::iterator_difference<Iterator>::type

boost::iterators::distance_adl_barrier::distance(
SinglePassIterator, SinglePassIterator) [with SinglePassIterator = boos

t::multi_index::detail::bidir_node_iterator<boost::multi_index::
detail::ordered_index_node<boost::multi_index::detail::nu

ll_augment_policy, boost::multi_index::detail::
ordered_index_node<boost::multi_index::detail::null_augment_policy, boost:

:multi_index::detail::index_node_base<boost::shared_ptr<MoFEM::
FENumeredDofEntity>, std::allocator<boost::shared_ptr<MoFE

M::FENumeredDofEntity> > > > > >; typename boost::iterators::
iterator_difference<Iterator>::type = long int]

238 distance(SinglePassIterator first, SinglePassIterator
last)

239 ^~~~~~~~

240 In file included from /tmp/ia45r/spack-stage/spack-stage-GW0PLL/
mofem-cephas/mofem/src/finite_elements/impl/All.cpp:3:0:

>> 241 /tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/src
/finite_elements/impl/ForcesAndSourcesCore.cpp:461:52: er

ror: call of overloaded ‘distance(boost::multi_index::detail::
ordered_index<boost::multi_index::composite_key<MoFEM::FE

NumeredDofEntity, boost::multi_index::const_mem_fun<MoFEM::
interface_Field<MoFEM::NumeredDofEntity>, boost::basic_string_

ref<char, std::char_traits<char> >, &MoFEM::interface_Field<
MoFEM::NumeredDofEntity>::getNameRef>, boost::multi_index::co

nst_mem_fun<MoFEM::interface_RefEntity<MoFEM::NumeredDofEntity>,
moab::EntityType, &MoFEM::interface_RefEntity<MoFEM::Num

eredDofEntity>::getEntType> >, std::less<boost::multi_index::
composite_key_result<boost::multi_index::composite_key<MoFEM

::FENumeredDofEntity, boost::multi_index::const_mem_fun<MoFEM::
interface_Field<MoFEM::NumeredDofEntity>, boost::basic_str

ing_ref<char, std::char_traits<char> >, &MoFEM::interface_Field<
MoFEM::NumeredDofEntity>::getNameRef>, boost::multi_index

::const_mem_fun<MoFEM::interface_RefEntity<MoFEM::
NumeredDofEntity>, moab::EntityType, &MoFEM::interface_RefEntity<MoFEM:

:NumeredDofEntity>::getEntType> > > >, boost::multi_index::
detail::nth_layer<6, boost::shared_ptr<MoFEM::FENumeredDofEnti

ty>, boost::multi_index::indexed_by<boost::multi_index::
ordered_unique<boost::multi_index::tag<MoFEM::Unique_mi_tag>, boo

st::multi_index::const_mem_fun<MoFEM::interface_DofEntity<MoFEM
::NumeredDofEntity>, const boost::multiprecision::number<b

oost::multiprecision::backends::cpp_int_backend<128u, 128u, (
boost::multiprecision::cpp_integer_type)0u, (boost::multipre

cision::cpp_int_check_type)0u, void> >, &MoFEM::
interface_DofEntity<MoFEM::NumeredDofEntity>::getGlobalUniqueId> >, boost

::multi_index::ordered_non_unique<boost::multi_index::tag<MoFEM
::Ent_mi_tag>, boost::multi_index::const_mem_fun<MoFEM::in

terface_DofEntity<MoFEM::NumeredDofEntity>, long unsigned int, &
MoFEM::interface_DofEntity<MoFEM::NumeredDofEntity>::getE

nt> >, boost::multi_index::ordered_non_unique<boost::multi_index
::tag<MoFEM::FieldName_mi_tag>, boost::multi_index::const

_mem_fun<MoFEM::interface_Field<MoFEM::NumeredDofEntity>, boost
::basic_string_ref<char, std::char_traits<char> >, &MoFEM:

:interface_Field<MoFEM::NumeredDofEntity>::getNameRef> >, boost
::multi_index::ordered_non_unique<boost::multi_index::tag<

MoFEM::PetscGlobalIdx_mi_tag>, boost::multi_index::const_mem_fun
<MoFEM::interface_NumeredDofEntity<MoFEM::NumeredDofEntit

y>, int, &MoFEM::interface_NumeredDofEntity<MoFEM::
NumeredDofEntity>::getPetscGlobalDofIdx> >, boost::multi_index::ordere

d_non_unique<boost::multi_index::tag<MoFEM::
Composite_Name_Type_And_Side_Number_mi_tag>, boost::multi_index::composite_ke


y<MoFEM::FENumeredDofEntity, boost::multi_index::const_mem_fun<
MoFEM::interface_Field<MoFEM::NumeredDofEntity>, boost::ba

sic_string_ref<char, std::char_traits<char> >, &MoFEM::
interface_Field<MoFEM::NumeredDofEntity>::getNameRef>, boost::mult

i_index::const_mem_fun<MoFEM::interface_RefEntity<MoFEM::
NumeredDofEntity>, moab::EntityType, &MoFEM::interface_RefEntity

<MoFEM::NumeredDofEntity>::getEntType>, MoFEM::KeyFromKey<boost
::multi_index::member<MoFEM::SideNumber, char, &MoFEM::Sid

eNumber::side_number>, boost::multi_index::member<MoFEM::
BaseFEDofEntity, boost::shared_ptr<MoFEM::SideNumber>, &MoFEM::B

aseFEDofEntity::sideNumberPtr> > > >, boost::multi_index::
ordered_non_unique<boost::multi_index::tag<MoFEM::Composite_Nam

e_And_Type_mi_tag>, boost::multi_index::composite_key<MoFEM::
FENumeredDofEntity, boost::multi_index::const_mem_fun<MoFEM:

:interface_Field<MoFEM::NumeredDofEntity>, boost::
basic_string_ref<char, std::char_traits<char> >, &MoFEM::interface_Fiel

d<MoFEM::NumeredDofEntity>::getNameRef>, boost::multi_index::
const_mem_fun<MoFEM::interface_RefEntity<MoFEM::NumeredDofEn

tity>, moab::EntityType, &MoFEM::interface_RefEntity<MoFEM::
NumeredDofEntity>::getEntType> > >, boost::multi_index::order

ed_non_unique<boost::multi_index::tag<MoFEM::
Composite_Name_And_Ent_mi_tag>, boost::multi_index::composite_key<MoFEM::FEN


umeredDofEntity, boost::multi_index::const_mem_fun<MoFEM::
interface_Field<MoFEM::NumeredDofEntity>, boost::basic_string_r

ef<char, std::char_traits<char> >, &MoFEM::interface_Field<MoFEM
::NumeredDofEntity>::getNameRef>, boost::multi_index::con

st_mem_fun<MoFEM::interface_DofEntity<MoFEM::NumeredDofEntity>,
long unsigned int, &MoFEM::interface_DofEntity<MoFEM::Num

eredDofEntity>::getEnt> > > >, std::allocator<boost::shared_ptr<
MoFEM::FENumeredDofEntity> > >, boost::mpl::v_item<MoFEM:

:Composite_Name_And_Type_mi_tag, boost::mpl::vector0<mpl_::na>,
0>, boost::multi_index::detail::ordered_non_unique_tag, b

oost::multi_index::detail::null_augment_policy>::iterator&,
boost::multi_index::detail::ordered_index<boost::multi_index:

:composite_key<MoFEM::FENumeredDofEntity, boost::multi_index::
const_mem_fun<MoFEM::interface_Field<MoFEM::NumeredDofEntit

y>, boost::basic_string_ref<char, std::char_traits<char> >, &
MoFEM::interface_Field<MoFEM::NumeredDofEntity>::getNameRef>

, boost::multi_index::const_mem_fun<MoFEM::interface_RefEntity<
MoFEM::NumeredDofEntity>, moab::EntityType, &MoFEM::interf

ace_RefEntity<MoFEM::NumeredDofEntity>::getEntType> >, std::less
<boost::multi_index::composite_key_result<boost::multi_in

dex::composite_key<MoFEM::FENumeredDofEntity, boost::multi_index
::const_mem_fun<MoFEM::interface_Field<MoFEM::NumeredDofE

ntity>, boost::basic_string_ref<char, std::char_traits<char> >,
&MoFEM::interface_Field<MoFEM::NumeredDofEntity>::getName

Ref>, boost::multi_index::const_mem_fun<MoFEM::
interface_RefEntity<MoFEM::NumeredDofEntity>, moab::EntityType, &MoFEM::in

terface_RefEntity<MoFEM::NumeredDofEntity>::getEntType> > > >,
boost::multi_index::detail::nth_layer<6, boost::shared_ptr

<MoFEM::FENumeredDofEntity>, boost::multi_index::indexed_by<
boost::multi_index::ordered_unique<boost::multi_index::tag<Mo

FEM::Unique_mi_tag>, boost::multi_index::const_mem_fun<MoFEM::
interface_DofEntity<MoFEM::NumeredDofEntity>, const boost::

multiprecision::number<boost::multiprecision::backends::
cpp_int_backend<128u, 128u, (boost::multiprecision::cpp_integer_t

ype)0u, (boost::multiprecision::cpp_int_check_type)0u, void> >,
&MoFEM::interface_DofEntity<MoFEM::NumeredDofEntity>::get

GlobalUniqueId> >, boost::multi_index::ordered_non_unique<boost
::multi_index::tag<MoFEM::Ent_mi_tag>, boost::multi_index:

:const_mem_fun<MoFEM::interface_DofEntity<MoFEM::
NumeredDofEntity>, long unsigned int, &MoFEM::interface_DofEntity<MoFEM:

:NumeredDofEntity>::getEnt> >, boost::multi_index::
ordered_non_unique<boost::multi_index::tag<MoFEM::FieldName_mi_tag>, b

oost::multi_index::const_mem_fun<MoFEM::interface_Field<MoFEM::
NumeredDofEntity>, boost::basic_string_ref<char, std::char

_traits<char> >, &MoFEM::interface_Field<MoFEM::NumeredDofEntity
>::getNameRef> >, boost::multi_index::ordered_non_unique<

boost::multi_index::tag<MoFEM::PetscGlobalIdx_mi_tag>, boost::
multi_index::const_mem_fun<MoFEM::interface_NumeredDofEntit

y<MoFEM::NumeredDofEntity>, int, &MoFEM::
interface_NumeredDofEntity<MoFEM::NumeredDofEntity>::getPetscGlobalDofIdx>
>, bo

ost::multi_index::ordered_non_unique<boost::multi_index::tag<
MoFEM::Composite_Name_Type_And_Side_Number_mi_tag>, boost::m

ulti_index::composite_key<MoFEM::FENumeredDofEntity, boost::
multi_index::const_mem_fun<MoFEM::interface_Field<MoFEM::Nume

redDofEntity>, boost::basic_string_ref<char, std::char_traits
<char> >, &MoFEM::interface_Field<MoFEM::NumeredDofEntity>::

getNameRef>, boost::multi_index::const_mem_fun<MoFEM::
interface_RefEntity<MoFEM::NumeredDofEntity>, moab::EntityType, &Mo

FEM::interface_RefEntity<MoFEM::NumeredDofEntity>::getEntType>,
MoFEM::KeyFromKey<boost::multi_index::member<MoFEM::SideN

umber, char, &MoFEM::SideNumber::side_number>, boost::
multi_index::member<MoFEM::BaseFEDofEntity, boost::shared_ptr<MoFEM

::SideNumber>, &MoFEM::BaseFEDofEntity::sideNumberPtr> > > >,
boost::multi_index::ordered_non_unique<boost::multi_index::

tag<MoFEM::Composite_Name_And_Type_mi_tag>, boost::multi_index::
composite_key<MoFEM::FENumeredDofEntity, boost::multi_ind

ex::const_mem_fun<MoFEM::interface_Field<MoFEM::NumeredDofEntity
>, boost::basic_string_ref<char, std::char_traits<char> >

, &MoFEM::interface_Field<MoFEM::NumeredDofEntity>::getNameRef>,
boost::multi_index::const_mem_fun<MoFEM::interface_RefEn

tity<MoFEM::NumeredDofEntity>, moab::EntityType, &MoFEM::
interface_RefEntity<MoFEM::NumeredDofEntity>::getEntType> > >, b

oost::multi_index::ordered_non_unique<boost::multi_index::tag<
MoFEM::Composite_Name_And_Ent_mi_tag>, boost::multi_index::

composite_key<MoFEM::FENumeredDofEntity, boost::multi_index::
const_mem_fun<MoFEM::interface_Field<MoFEM::NumeredDofEntity

>, boost::basic_string_ref<char, std::char_traits<char> >, &
MoFEM::interface_Field<MoFEM::NumeredDofEntity>::getNameRef>,

boost::multi_index::const_mem_fun<MoFEM::interface_DofEntity<
MoFEM::NumeredDofEntity>, long unsigned int, &MoFEM::interf

ace_DofEntity<MoFEM::NumeredDofEntity>::getEnt> > > >, std::
allocator<boost::shared_ptr<MoFEM::FENumeredDofEntity> > >, b

oost::mpl::v_item<MoFEM::Composite_Name_And_Type_mi_tag, boost::
mpl::vector0<mpl_::na>, 0>, boost::multi_index::detail::o

rdered_non_unique_tag, boost::multi_index::detail::
null_augment_policy>::iterator&)’ is ambiguous

242 local_nodes_indices.resize(distance(dit, hi_dit), false);

243 ^

244 In file included from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/bits/stl_algobase.h:66:0,

245 from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/bits/char_traits.h:39,

246 from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/ios:40,

247 from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/istream:38,




...




266 from /tmp/ia45r/spack-stage/spack-stage-GW0PLL/
mofem-cephas/mofem/src/finite_elements/impl/All.cpp:1:

267 /home/staff/ia45r/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0
/boost-1.68.0-zvw3a74qxiip2gdyaxqmjbtejjubyp3u/include/bo

ost/iterator/distance.hpp:49:9: note: candidate: constexpr
typename boost::iterators::iterator_difference<Iterator>::type

boost::iterators::distance_adl_barrier::distance(
SinglePassIterator, SinglePassIterator) [with SinglePassIterator = boos

t::multi_index::detail::bidir_node_iterator<boost::multi_index::
detail::ordered_index_node<boost::multi_index::detail::nu

ll_augment_policy, boost::multi_index::detail::
ordered_index_node<boost::multi_index::detail::null_augment_policy, boost:

:multi_index::detail::index_node_base<boost::shared_ptr<MoFEM::
FENumeredDofEntity>, std::allocator<boost::shared_ptr<MoFE

M::FENumeredDofEntity> > > > > >; typename boost::iterators::
iterator_difference<Iterator>::type = long int]

268 distance(SinglePassIterator first, SinglePassIterator
last)

269 ^~~~~~~~

270 In file included from /tmp/ia45r/spack-stage/spack-stage-GW0PLL/
mofem-cephas/mofem/src/finite_elements/impl/All.cpp:3:0:

271 /tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/src
/finite_elements/impl/ForcesAndSourcesCore.cpp: In member

function ‘MoFEM::MoFEMErrorCode MoFEM::ForcesAndSourcesCore::
getNoFieldIndices(const string&, MoFEM::FENumeredDofEntit

y_multiIndex&, MoFEM::VectorInt&) const’:

>> 272 /tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/src
/finite_elements/impl/ForcesAndSourcesCore.cpp:764:38: er

ror: call of overloaded ‘distance(boost::multi_index::detail::
ordered_index<boost::multi_index::const_mem_fun<MoFEM::in

terface_Field<MoFEM::NumeredDofEntity>, boost::basic_string_ref<
char, std::char_traits<char> >, &MoFEM::interface_Field<M

oFEM::NumeredDofEntity>::getNameRef>, std::less<boost::
basic_string_ref<char, std::char_traits<char> > >, boost::multi_in

dex::detail::nth_layer<3, boost::shared_ptr<MoFEM::
FENumeredDofEntity>, boost::multi_index::indexed_by<boost::multi_index

::ordered_unique<boost::multi_index::tag<MoFEM::Unique_mi_tag>,
boost::multi_index::const_mem_fun<MoFEM::interface_DofEnt

ity<MoFEM::NumeredDofEntity>, const boost::multiprecision::
number<boost::multiprecision::backends::cpp_int_backend<128u,

128u, (boost::multiprecision::cpp_integer_type)0u, (boost::
multiprecision::cpp_int_check_type)0u, void> >, &MoFEM::interf

ace_DofEntity<MoFEM::NumeredDofEntity>::getGlobalUniqueId> >,
boost::multi_index::ordered_non_unique<boost::multi_index::

tag<MoFEM::Ent_mi_tag>, boost::multi_index::const_mem_fun<MoFEM
::interface_DofEntity<MoFEM::NumeredDofEntity>, long unsig

ned int, &MoFEM::interface_DofEntity<MoFEM::NumeredDofEntity>::
getEnt> >, boost::multi_index::ordered_non_unique<boost::m

ulti_index::tag<MoFEM::FieldName_mi_tag>, boost::multi_index::
const_mem_fun<MoFEM::interface_Field<MoFEM::NumeredDofEntit

y>, boost::basic_string_ref<char, std::char_traits<char> >, &
MoFEM::interface_Field<MoFEM::NumeredDofEntity>::getNameRef>

>, boost::multi_index::ordered_non_unique<boost::multi_index::
tag<MoFEM::PetscGlobalIdx_mi_tag>, boost::multi_index::con

st_mem_fun<MoFEM::interface_NumeredDofEntity<MoFEM::
NumeredDofEntity>, int, &MoFEM::interface_NumeredDofEntity<MoFEM::Num

eredDofEntity>::getPetscGlobalDofIdx> >, boost::multi_index::
ordered_non_unique<boost::multi_index::tag<MoFEM::Composite_

Name_Type_And_Side_Number_mi_tag>, boost::multi_index::
composite_key<MoFEM::FENumeredDofEntity, boost::multi_index::const

_mem_fun<MoFEM::interface_Field<MoFEM::NumeredDofEntity>, boost
::basic_string_ref<char, std::char_traits<char> >, &MoFEM:

:interface_Field<MoFEM::NumeredDofEntity>::getNameRef>, boost::
multi_index::const_mem_fun<MoFEM::interface_RefEntity<MoFE

M::NumeredDofEntity>, moab::EntityType, &MoFEM::
interface_RefEntity<MoFEM::NumeredDofEntity>::getEntType>, MoFEM::KeyFrom

Key<boost::multi_index::member<MoFEM::SideNumber, char, &MoFEM::
SideNumber::side_number>, boost::multi_index::member<MoFE

M::BaseFEDofEntity, boost::shared_ptr<MoFEM::SideNumber>, &MoFEM
::BaseFEDofEntity::sideNumberPtr> > > >, boost::multi_ind

ex::ordered_non_unique<boost::multi_index::tag<MoFEM::
Composite_Name_And_Type_mi_tag>, boost::multi_index::composite_key<

MoFEM::FENumeredDofEntity, boost::multi_index::const_mem_fun<
MoFEM::interface_Field<MoFEM::NumeredDofEntity>, boost::basi

c_string_ref<char, std::char_traits<char> >, &MoFEM::
interface_Field<MoFEM::NumeredDofEntity>::getNameRef>, boost::multi_

index::const_mem_fun<MoFEM::interface_RefEntity<MoFEM::
NumeredDofEntity>, moab::EntityType, &MoFEM::interface_RefEntity<M

oFEM::NumeredDofEntity>::getEntType> > >, boost::multi_index::
ordered_non_unique<boost::multi_index::tag<MoFEM::Composite

_Name_And_Ent_mi_tag>, boost::multi_index::composite_key<MoFEM::
FENumeredDofEntity, boost::multi_index::const_mem_fun<MoF

EM::interface_Field<MoFEM::NumeredDofEntity>, boost::
basic_string_ref<char, std::char_traits<char> >, &MoFEM::interface_F

ield<MoFEM::NumeredDofEntity>::getNameRef>, boost::multi_index::
const_mem_fun<MoFEM::interface_DofEntity<MoFEM::NumeredDo

fEntity>, long unsigned int, &MoFEM::interface_DofEntity<MoFEM::
NumeredDofEntity>::getEnt> > > >, std::allocator<boost::s

hared_ptr<MoFEM::FENumeredDofEntity> > >, boost::mpl::v_item<
MoFEM::FieldName_mi_tag, boost::mpl::vector0<mpl_::na>, 0>,

boost::multi_index::detail::ordered_non_unique_tag, boost::
multi_index::detail::null_augment_policy>::iterator&, boost::m

ulti_index::detail::ordered_index<boost::multi_index::
const_mem_fun<MoFEM::interface_Field<MoFEM::NumeredDofEntity>, boos

t::basic_string_ref<char, std::char_traits<char> >, &MoFEM::
interface_Field<MoFEM::NumeredDofEntity>::getNameRef>, std::l

ess<boost::basic_string_ref<char, std::char_traits<char> > >,
boost::multi_index::detail::nth_layer<3, boost::shared_ptr<

MoFEM::FENumeredDofEntity>, boost::multi_index::indexed_by<boost
::multi_index::ordered_unique<boost::multi_index::tag<MoF

EM::Unique_mi_tag>, boost::multi_index::const_mem_fun<MoFEM::
interface_DofEntity<MoFEM::NumeredDofEntity>, const boost::m

ultiprecision::number<boost::multiprecision::backends::
cpp_int_backend<128u, 128u, (boost::multiprecision::cpp_integer_ty

pe)0u, (boost::multiprecision::cpp_int_check_type)0u, void> >, &
MoFEM::interface_DofEntity<MoFEM::NumeredDofEntity>::getG

lobalUniqueId> >, boost::multi_index::ordered_non_unique<boost::
multi_index::tag<MoFEM::Ent_mi_tag>, boost::multi_index::

const_mem_fun<MoFEM::interface_DofEntity<MoFEM::NumeredDofEntity
>, long unsigned int, &MoFEM::interface_DofEntity<MoFEM::

NumeredDofEntity>::getEnt> >, boost::multi_index::
ordered_non_unique<boost::multi_index::tag<MoFEM::FieldName_mi_tag>, bo

ost::multi_index::const_mem_fun<MoFEM::interface_Field<MoFEM::
NumeredDofEntity>, boost::basic_string_ref<char, std::char_

traits<char> >, &MoFEM::interface_Field<MoFEM::NumeredDofEntity
>::getNameRef> >, boost::multi_index::ordered_non_unique<b

oost::multi_index::tag<MoFEM::PetscGlobalIdx_mi_tag>, boost::
multi_index::const_mem_fun<MoFEM::interface_NumeredDofEntity

<MoFEM::NumeredDofEntity>, int, &MoFEM::
interface_NumeredDofEntity<MoFEM::NumeredDofEntity>::getPetscGlobalDofIdx>
>, boo

st::multi_index::ordered_non_unique<boost::multi_index::tag<
MoFEM::Composite_Name_Type_And_Side_Number_mi_tag>, boost::mu

lti_index::composite_key<MoFEM::FENumeredDofEntity, boost::
multi_index::const_mem_fun<MoFEM::interface_Field<MoFEM::Numer

edDofEntity>, boost::basic_string_ref<char, std::char_traits
<char> >, &MoFEM::interface_Field<MoFEM::NumeredDofEntity>::g

etNameRef>, boost::multi_index::const_mem_fun<MoFEM::
interface_RefEntity<MoFEM::NumeredDofEntity>, moab::EntityType, &MoF

EM::interface_RefEntity<MoFEM::NumeredDofEntity>::getEntType>,
MoFEM::KeyFromKey<boost::multi_index::member<MoFEM::SideNu

mber, char, &MoFEM::SideNumber::side_number>, boost::multi_index
::member<MoFEM::BaseFEDofEntity, boost::shared_ptr<MoFEM:

:SideNumber>, &MoFEM::BaseFEDofEntity::sideNumberPtr> > > >,
boost::multi_index::ordered_non_unique<boost::multi_index::t

ag<MoFEM::Composite_Name_And_Type_mi_tag>, boost::multi_index::
composite_key<MoFEM::FENumeredDofEntity, boost::multi_inde

x::const_mem_fun<MoFEM::interface_Field<MoFEM::NumeredDofEntity
>, boost::basic_string_ref<char, std::char_traits<char> >,

&MoFEM::interface_Field<MoFEM::NumeredDofEntity>::getNameRef>,
boost::multi_index::const_mem_fun<MoFEM::interface_RefEnt

ity<MoFEM::NumeredDofEntity>, moab::EntityType, &MoFEM::
interface_RefEntity<MoFEM::NumeredDofEntity>::getEntType> > >, bo

ost::multi_index::ordered_non_unique<boost::multi_index::tag<
MoFEM::Composite_Name_And_Ent_mi_tag>, boost::multi_index::c

omposite_key<MoFEM::FENumeredDofEntity, boost::multi_index::
const_mem_fun<MoFEM::interface_Field<MoFEM::NumeredDofEntity>

, boost::basic_string_ref<char, std::char_traits<char> >, &MoFEM
::interface_Field<MoFEM::NumeredDofEntity>::getNameRef>,

boost::multi_index::const_mem_fun<MoFEM::interface_DofEntity<
MoFEM::NumeredDofEntity>, long unsigned int, &MoFEM::interfa

ce_DofEntity<MoFEM::NumeredDofEntity>::getEnt> > > >, std::
allocator<boost::shared_ptr<MoFEM::FENumeredDofEntity> > >, bo

ost::mpl::v_item<MoFEM::FieldName_mi_tag, boost::mpl::vector0<
mpl_::na>, 0>, boost::multi_index::detail::ordered_non_uniq

ue_tag, boost::multi_index::detail::null_augment_policy>::
iterator&)’ is ambiguous

273 indices.resize(distance(dit, hi_dit));

274 ^

275 In file included from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/bits/stl_algobase.h:66:0,

276 from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/bits/char_traits.h:39,

277 from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/ios:40,

278 from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/istream:38,




...




297 from /tmp/ia45r/spack-stage/spack-stage-GW0PLL/
mofem-cephas/mofem/src/finite_elements/impl/All.cpp:1:

298 /home/staff/ia45r/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0
/boost-1.68.0-zvw3a74qxiip2gdyaxqmjbtejjubyp3u/include/bo

ost/iterator/distance.hpp:49:9: note: candidate: constexpr
typename boost::iterators::iterator_difference<Iterator>::type

boost::iterators::distance_adl_barrier::distance(
SinglePassIterator, SinglePassIterator) [with SinglePassIterator = boos

t::multi_index::detail::bidir_node_iterator<boost::multi_index::
detail::ordered_index_node<boost::multi_index::detail::nu

ll_augment_policy, boost::multi_index::detail::
ordered_index_node<boost::multi_index::detail::null_augment_policy, boost:

:multi_index::detail::ordered_index_node<boost::multi_index::
detail::null_augment_policy, boost::multi_index::detail::ord

ered_index_node<boost::multi_index::detail::null_augment_policy,
boost::multi_index::detail::ordered_index_node<boost::mu

lti_index::detail::null_augment_policy, boost::multi_index::
detail::index_node_base<boost::shared_ptr<MoFEM::FENumeredDof

Entity>, std::allocator<boost::shared_ptr<MoFEM::
FENumeredDofEntity> > > > > > > > >; typename boost::iterators::iterator

_difference<Iterator>::type = long int]

299 distance(SinglePassIterator first, SinglePassIterator
last)

300 ^~~~~~~~

301 In file included from /tmp/ia45r/spack-stage/spack-stage-GW0PLL/
mofem-cephas/mofem/src/finite_elements/impl/All.cpp:3:0:

302 /tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/src
/finite_elements/impl/ForcesAndSourcesCore.cpp: In member

function ‘MoFEM::MoFEMErrorCode MoFEM::ForcesAndSourcesCore::
getProblemNodesIndices(const string&, const NumeredDofEnt

ity_multiIndex&, MoFEM::VectorInt&) const’:

>> 303 /tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/src
/finite_elements/impl/ForcesAndSourcesCore.cpp:838:78: er

ror: call of overloaded ‘distance(boost::multi_index::detail::
ordered_index<boost::multi_index::composite_key<MoFEM::Si

deNumber, boost::multi_index::const_mem_fun<MoFEM::SideNumber,
moab::EntityType, &MoFEM::SideNumber::getEntType>, boost::

multi_index::member<MoFEM::SideNumber, char, &MoFEM::SideNumber
::side_number> >, std::less<boost::multi_index::composite_

key_result<boost::multi_index::composite_key<MoFEM::SideNumber,
boost::multi_index::const_mem_fun<MoFEM::SideNumber, moab

::EntityType, &MoFEM::SideNumber::getEntType>, boost::
multi_index::member<MoFEM::SideNumber, char, &MoFEM::SideNumber::si

de_number> > > >, boost::multi_index::detail::nth_layer<2, boost
::shared_ptr<MoFEM::SideNumber>, boost::multi_index::inde

xed_by<boost::multi_index::hashed_unique<boost::multi_index::
member<MoFEM::SideNumber, long unsigned int, &MoFEM::SideNum

ber::ent> >, boost::multi_index::ordered_non_unique<boost::
multi_index::composite_key<MoFEM::SideNumber, boost::multi_ind

ex::const_mem_fun<MoFEM::SideNumber, moab::EntityType, &MoFEM::
SideNumber::getEntType>, boost::multi_index::member<MoFEM:

:SideNumber, char, &MoFEM::SideNumber::side_number> > >, boost::
multi_index::ordered_non_unique<boost::multi_index::const

_mem_fun<MoFEM::SideNumber, moab::EntityType, &MoFEM::SideNumber
::getEntType> > >, std::allocator<boost::shared_ptr<MoFEM

::SideNumber> > >, boost::mpl::vector0<mpl_::na>, boost::
multi_index::detail::ordered_non_unique_tag, boost::multi_index:

:detail::null_augment_policy>::iterator&, boost::multi_index::
detail::ordered_index<boost::multi_index::composite_key<MoF

EM::SideNumber, boost::multi_index::const_mem_fun<MoFEM::
SideNumber, moab::EntityType, &MoFEM::SideNumber::getEntType>, b

oost::multi_index::member<MoFEM::SideNumber, char, &MoFEM::
SideNumber::side_number> >, std::less<boost::multi_index::comp

osite_key_result<boost::multi_index::composite_key<MoFEM::
SideNumber, boost::multi_index::const_mem_fun<MoFEM::SideNumber

, moab::EntityType, &MoFEM::SideNumber::getEntType>, boost::
multi_index::member<MoFEM::SideNumber, char, &MoFEM::SideNumb

er::side_number> > > >, boost::multi_index::detail::nth_layer<2,
boost::shared_ptr<MoFEM::SideNumber>, boost::multi_index

::indexed_by<boost::multi_index::hashed_unique<boost::
multi_index::member<MoFEM::SideNumber, long unsigned int, &MoFEM::S

ideNumber::ent> >, boost::multi_index::ordered_non_unique<boost
::multi_index::composite_key<MoFEM::SideNumber, boost::mul

ti_index::const_mem_fun<MoFEM::SideNumber, moab::EntityType, &
MoFEM::SideNumber::getEntType>, boost::multi_index::member<

MoFEM::SideNumber, char, &MoFEM::SideNumber::side_number> > >,
boost::multi_index::ordered_non_unique<boost::multi_index:

:const_mem_fun<MoFEM::SideNumber, moab::EntityType, &MoFEM::
SideNumber::getEntType> > >, std::allocator<boost::shared_ptr

<MoFEM::SideNumber> > >, boost::mpl::vector0<mpl_::na>, boost::
multi_index::detail::ordered_non_unique_tag, boost::multi_

index::detail::null_augment_policy>::iterator&)’ is ambiguous

304 nodes_indices.resize((*dit)->getNbOfCoeffs() * distance
(siit, hi_siit));

305
^

306 In file included from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/bits/stl_algobase.h:66:0,

307 from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/bits/char_traits.h:39,

308 from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/ios:40,

309 from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/istream:38,




...




328 from /tmp/ia45r/spack-stage/spack-stage-GW0PLL/
mofem-cephas/mofem/src/finite_elements/impl/All.cpp:1:

329 /home/staff/ia45r/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0
/boost-1.68.0-zvw3a74qxiip2gdyaxqmjbtejjubyp3u/include/bo

ost/iterator/distance.hpp:49:9: note: candidate: constexpr
typename boost::iterators::iterator_difference<Iterator>::type

boost::iterators::distance_adl_barrier::distance(
SinglePassIterator, SinglePassIterator) [with SinglePassIterator = boos

t::multi_index::detail::bidir_node_iterator<boost::multi_index::
detail::ordered_index_node<boost::multi_index::detail::nu

ll_augment_policy, boost::multi_index::detail::
ordered_index_node<boost::multi_index::detail::null_augment_policy, boost:

:multi_index::detail::index_node_base<boost::shared_ptr<MoFEM::
SideNumber>, std::allocator<boost::shared_ptr<MoFEM::SideN

umber> > > > > >; typename boost::iterators::iterator_difference
<Iterator>::type = long int]

330 distance(SinglePassIterator first, SinglePassIterator
last)

331 ^~~~~~~~

332 In file included from /tmp/ia45r/spack-stage/spack-stage-GW0PLL/
mofem-cephas/mofem/src/finite_elements/impl/All.cpp:3:0:

333 /tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/src
/finite_elements/impl/ForcesAndSourcesCore.cpp: In member

function ‘MoFEM::MoFEMErrorCode MoFEM::ForcesAndSourcesCore::
getProblemTypeIndices(const string&, const NumeredDofEnti

ty_multiIndex&, moab::EntityType, int, MoFEM::VectorInt&) const
’:

>> 334 /tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/src
/finite_elements/impl/ForcesAndSourcesCore.cpp:880:40: er

ror: call of overloaded ‘distance(boost::multi_index::detail::
ordered_index<boost::multi_index::composite_key<MoFEM::Nu

meredDofEntity, boost::multi_index::const_mem_fun<MoFEM::
interface_Field<MoFEM::DofEntity>, boost::basic_string_ref<char,

std::char_traits<char> >, &MoFEM::interface_Field<MoFEM::
DofEntity>::getNameRef>, boost::multi_index::const_mem_fun<MoFE

M::interface_DofEntity<MoFEM::DofEntity>, long unsigned int, &
MoFEM::interface_DofEntity<MoFEM::DofEntity>::getEnt>, boos

t::multi_index::const_mem_fun<MoFEM::interface_DofEntity<MoFEM::
DofEntity>, int, &MoFEM::interface_DofEntity<MoFEM::DofEn

tity>::getEntDofIdx> >, std::less<boost::multi_index::
composite_key_result<boost::multi_index::composite_key<MoFEM::Numer

edDofEntity, boost::multi_index::const_mem_fun<MoFEM::
interface_Field<MoFEM::DofEntity>, boost::basic_string_ref<char, st

d::char_traits<char> >, &MoFEM::interface_Field<MoFEM::DofEntity
>::getNameRef>, boost::multi_index::const_mem_fun<MoFEM::

interface_DofEntity<MoFEM::DofEntity>, long unsigned int, &MoFEM
::interface_DofEntity<MoFEM::DofEntity>::getEnt>, boost::

multi_index::const_mem_fun<MoFEM::interface_DofEntity<MoFEM::
DofEntity>, int, &MoFEM::interface_DofEntity<MoFEM::DofEntit

y>::getEntDofIdx> > > >, boost::multi_index::detail::nth_layer<2
, boost::shared_ptr<MoFEM::NumeredDofEntity>, boost::mult

i_index::indexed_by<boost::multi_index::ordered_unique<boost::
multi_index::tag<MoFEM::Unique_mi_tag>, boost::multi_index:

:const_mem_fun<MoFEM::interface_DofEntity<MoFEM::DofEntity>,
const boost::multiprecision::number<boost::multiprecision::b

ackends::cpp_int_backend<128u, 128u, (boost::multiprecision::
cpp_integer_type)0u, (boost::multiprecision::cpp_int_check_t

ype)0u, void> >, &MoFEM::interface_DofEntity<MoFEM::DofEntity>::
getGlobalUniqueId> >, boost::multi_index::ordered_non_uni

que<boost::multi_index::tag<MoFEM::
Composite_Name_And_Ent_And_EntDofIdx_mi_tag>, boost::multi_index::
composite_key<MoFEM:

:NumeredDofEntity, boost::multi_index::const_mem_fun<MoFEM::
interface_Field<MoFEM::DofEntity>, boost::basic_string_ref<ch

ar, std::char_traits<char> >, &MoFEM::interface_Field<MoFEM::
DofEntity>::getNameRef>, boost::multi_index::const_mem_fun<M

oFEM::interface_DofEntity<MoFEM::DofEntity>, long unsigned int,
&MoFEM::interface_DofEntity<MoFEM::DofEntity>::getEnt>, b

oost::multi_index::const_mem_fun<MoFEM::interface_DofEntity<
MoFEM::DofEntity>, int, &MoFEM::interface_DofEntity<MoFEM::Do

fEntity>::getEntDofIdx> > >, boost::multi_index::
ordered_non_unique<boost::multi_index::tag<MoFEM::Idx_mi_tag>, boost::mu

lti_index::member<MoFEM::NumeredDofEntity, int, &MoFEM::
NumeredDofEntity::dofIdx> >, boost::multi_index::ordered_non_uniq

ue<boost::multi_index::tag<MoFEM::FieldName_mi_tag>, boost::
multi_index::const_mem_fun<MoFEM::interface_Field<MoFEM::DofE

ntity>, boost::basic_string_ref<char, std::char_traits<char> >,
&MoFEM::interface_Field<MoFEM::DofEntity>::getNameRef> >,

boost::multi_index::ordered_non_unique<boost::multi_index::tag<
MoFEM::PetscGlobalIdx_mi_tag>, boost::multi_index::member

<MoFEM::NumeredDofEntity, int, &MoFEM::NumeredDofEntity::
petscGloablDofIdx> >, boost::multi_index::ordered_non_unique<boo

st::multi_index::tag<MoFEM::PetscLocalIdx_mi_tag>, boost::
multi_index::member<MoFEM::NumeredDofEntity, int, &MoFEM::Numer

edDofEntity::petscLocalDofIdx> >, boost::multi_index::
ordered_non_unique<boost::multi_index::tag<MoFEM::Ent_mi_tag>, boos

t::multi_index::const_mem_fun<MoFEM::interface_DofEntity<MoFEM::
DofEntity>, long unsigned int, &MoFEM::interface_DofEntit

y<MoFEM::DofEntity>::getEnt> >, boost::multi_index::
ordered_non_unique<boost::multi_index::tag<MoFEM::Order_mi_tag>, boos

t::multi_index::const_mem_fun<MoFEM::interface_DofEntity<MoFEM::
DofEntity>, int, &MoFEM::interface_DofEntity<MoFEM::DofEn

tity>::getDofOrder> >, boost::multi_index::ordered_non_unique<
boost::multi_index::tag<MoFEM::Composite_Part_And_Order_mi_

tag>, boost::multi_index::composite_key<MoFEM::NumeredDofEntity,
boost::multi_index::member<MoFEM::NumeredDofEntity, unsi

gned int, &MoFEM::NumeredDofEntity::pArt>, boost::multi_index::
const_mem_fun<MoFEM::interface_DofEntity<MoFEM::DofEntity>

, int, &MoFEM::interface_DofEntity<MoFEM::DofEntity>::
getDofOrder> > >, boost::multi_index::ordered_non_unique<boost::mul

ti_index::tag<MoFEM::Composite_Name_And_Part_mi_tag>, boost::
multi_index::composite_key<MoFEM::NumeredDofEntity, boost::m

ulti_index::const_mem_fun<MoFEM::interface_Field<MoFEM::
DofEntity>, boost::basic_string_ref<char, std::char_traits<char>

>, &MoFEM::interface_Field<MoFEM::DofEntity>::getNameRef>, boost
::multi_index::member<MoFEM::NumeredDofEntity, unsigned i

nt, &MoFEM::NumeredDofEntity::pArt> > >, boost::multi_index::
ordered_non_unique<boost::multi_index::tag<MoFEM::Composite_

Name_Ent_And_Part_mi_tag>, boost::multi_index::composite_key<
MoFEM::NumeredDofEntity, boost::multi_index::const_mem_fun<M

oFEM::interface_Field<MoFEM::DofEntity>, boost::basic_string_ref
<char, std::char_traits<char> >, &MoFEM::interface_Field<

MoFEM::DofEntity>::getNameRef>, boost::multi_index::
const_mem_fun<MoFEM::interface_DofEntity<MoFEM::DofEntity>, long unsi

gned int, &MoFEM::interface_DofEntity<MoFEM::DofEntity>::getEnt
>, boost::multi_index::member<MoFEM::NumeredDofEntity, uns

igned int, &MoFEM::NumeredDofEntity::pArt> > > >, std::allocator
<boost::shared_ptr<MoFEM::NumeredDofEntity> > >, boost::m

pl::v_item<MoFEM::Composite_Name_And_Ent_And_EntDofIdx_mi_tag,
boost::mpl::vector0<mpl_::na>, 0>, boost::multi_index::det

ail::ordered_non_unique_tag, boost::multi_index::detail::
null_augment_policy>::iterator&, boost::multi_index::detail::ord

ered_index<boost::multi_index::composite_key<MoFEM::
NumeredDofEntity, boost::multi_index::const_mem_fun<MoFEM::interface_

Field<MoFEM::DofEntity>, boost::basic_string_ref<char, std::
char_traits<char> >, &MoFEM::interface_Field<MoFEM::DofEntity

>::getNameRef>, boost::multi_index::const_mem_fun<MoFEM::
interface_DofEntity<MoFEM::DofEntity>, long unsigned int, &MoFEM

::interface_DofEntity<MoFEM::DofEntity>::getEnt>, boost::
multi_index::const_mem_fun<MoFEM::interface_DofEntity<MoFEM::Dof

Entity>, int, &MoFEM::interface_DofEntity<MoFEM::DofEntity>::
getEntDofIdx> >, std::less<boost::multi_index::composite_key

_result<boost::multi_index::composite_key<MoFEM::
NumeredDofEntity, boost::multi_index::const_mem_fun<MoFEM::interface_Fie

ld<MoFEM::DofEntity>, boost::basic_string_ref<char, std::
char_traits<char> >, &MoFEM::interface_Field<MoFEM::DofEntity>::

getNameRef>, boost::multi_index::const_mem_fun<MoFEM::
interface_DofEntity<MoFEM::DofEntity>, long unsigned int, &MoFEM::i

nterface_DofEntity<MoFEM::DofEntity>::getEnt>, boost::
multi_index::const_mem_fun<MoFEM::interface_DofEntity<MoFEM::DofEnt

ity>, int, &MoFEM::interface_DofEntity<MoFEM::DofEntity>::
getEntDofIdx> > > >, boost::multi_index::detail::nth_layer<2, b

oost::shared_ptr<MoFEM::NumeredDofEntity>, boost::multi_index::
indexed_by<boost::multi_index::ordered_unique<boost::multi

_index::tag<MoFEM::Unique_mi_tag>, boost::multi_index::
const_mem_fun<MoFEM::interface_DofEntity<MoFEM::DofEntity>, const

boost::multiprecision::number<boost::multiprecision::backends::
cpp_int_backend<128u, 128u, (boost::multiprecision::cpp_in

teger_type)0u, (boost::multiprecision::cpp_int_check_type)0u,
void> >, &MoFEM::interface_DofEntity<MoFEM::DofEntity>::get

GlobalUniqueId> >, boost::multi_index::ordered_non_unique<boost
::multi_index::tag<MoFEM::Composite_Name_And_Ent_And_EntDo

fIdx_mi_tag>, boost::multi_index::composite_key<MoFEM::
NumeredDofEntity, boost::multi_index::const_mem_fun<MoFEM::interfa

ce_Field<MoFEM::DofEntity>, boost::basic_string_ref<char, std::
char_traits<char> >, &MoFEM::interface_Field<MoFEM::DofEnt

ity>::getNameRef>, boost::multi_index::const_mem_fun<MoFEM::
interface_DofEntity<MoFEM::DofEntity>, long unsigned int, &Mo

FEM::interface_DofEntity<MoFEM::DofEntity>::getEnt>, boost::
multi_index::const_mem_fun<MoFEM::interface_DofEntity<MoFEM::

DofEntity>, int, &MoFEM::interface_DofEntity<MoFEM::DofEntity>::
getEntDofIdx> > >, boost::multi_index::ordered_non_unique

<boost::multi_index::tag<MoFEM::Idx_mi_tag>, boost::multi_index
::member<MoFEM::NumeredDofEntity, int, &MoFEM::NumeredDofE

ntity::dofIdx> >, boost::multi_index::ordered_non_unique<boost::
multi_index::tag<MoFEM::FieldName_mi_tag>, boost::multi_i

ndex::const_mem_fun<MoFEM::interface_Field<MoFEM::DofEntity>,
boost::basic_string_ref<char, std::char_traits<char> >, &Mo

FEM::interface_Field<MoFEM::DofEntity>::getNameRef> >, boost::
multi_index::ordered_non_unique<boost::multi_index::tag<MoF

EM::PetscGlobalIdx_mi_tag>, boost::multi_index::member<MoFEM::
NumeredDofEntity, int, &MoFEM::NumeredDofEntity::petscGloab

lDofIdx> >, boost::multi_index::ordered_non_unique<boost::
multi_index::tag<MoFEM::PetscLocalIdx_mi_tag>, boost::multi_ind

ex::member<MoFEM::NumeredDofEntity, int, &MoFEM::
NumeredDofEntity::petscLocalDofIdx> >, boost::multi_index::ordered_non_u

nique<boost::multi_index::tag<MoFEM::Ent_mi_tag>, boost::
multi_index::const_mem_fun<MoFEM::interface_DofEntity<MoFEM::Dof

Entity>, long unsigned int, &MoFEM::interface_DofEntity<MoFEM::
DofEntity>::getEnt> >, boost::multi_index::ordered_non_uni

que<boost::multi_index::tag<MoFEM::Order_mi_tag>, boost::
multi_index::const_mem_fun<MoFEM::interface_DofEntity<MoFEM::Dof

Entity>, int, &MoFEM::interface_DofEntity<MoFEM::DofEntity>::
getDofOrder> >, boost::multi_index::ordered_non_unique<boost

::multi_index::tag<MoFEM::Composite_Part_And_Order_mi_tag>,
boost::multi_index::composite_key<MoFEM::NumeredDofEntity, bo

ost::multi_index::member<MoFEM::NumeredDofEntity, unsigned int,
&MoFEM::NumeredDofEntity::pArt>, boost::multi_index::cons

t_mem_fun<MoFEM::interface_DofEntity<MoFEM::DofEntity>, int, &
MoFEM::interface_DofEntity<MoFEM::DofEntity>::getDofOrder>

> >, boost::multi_index::ordered_non_unique<boost::multi_index::
tag<MoFEM::Composite_Name_And_Part_mi_tag>, boost::multi_

index::composite_key<MoFEM::NumeredDofEntity, boost::multi_index
::const_mem_fun<MoFEM::interface_Field<MoFEM::DofEntity>,

boost::basic_string_ref<char, std::char_traits<char> >, &MoFEM
::interface_Field<MoFEM::DofEntity>::getNameRef>, boost::m

ulti_index::member<MoFEM::NumeredDofEntity, unsigned int, &MoFEM
::NumeredDofEntity::pArt> > >, boost::multi_index::ordere

d_non_unique<boost::multi_index::tag<MoFEM::
Composite_Name_Ent_And_Part_mi_tag>, boost::multi_index::composite_key<MoFEM
:

:NumeredDofEntity, boost::multi_index::const_mem_fun<MoFEM::
interface_Field<MoFEM::DofEntity>, boost::basic_string_ref<ch

ar, std::char_traits<char> >, &MoFEM::interface_Field<MoFEM::
DofEntity>::getNameRef>, boost::multi_index::const_mem_fun<M

oFEM::interface_DofEntity<MoFEM::DofEntity>, long unsigned int,
&MoFEM::interface_DofEntity<MoFEM::DofEntity>::getEnt>, b

oost::multi_index::member<MoFEM::NumeredDofEntity, unsigned int,
&MoFEM::NumeredDofEntity::pArt> > > >, std::allocator<bo

ost::shared_ptr<MoFEM::NumeredDofEntity> > >, boost::mpl::v_item
<MoFEM::Composite_Name_And_Ent_And_EntDofIdx_mi_tag, boos

t::mpl::vector0<mpl_::na>, 0>, boost::multi_index::detail::
ordered_non_unique_tag, boost::multi_index::detail::null_augme

nt_policy>::iterator&)’ is ambiguous

335 indices.resize(distance(dit, hi_dit));

336 ^

337 In file included from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/bits/stl_algobase.h:66:0,

338 from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/bits/char_traits.h:39,

339 from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/ios:40,

340 from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/istream:38,




...




359 from /tmp/ia45r/spack-stage/spack-stage-GW0PLL/
mofem-cephas/mofem/src/finite_elements/impl/All.cpp:1:

360 /home/staff/ia45r/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0
/boost-1.68.0-zvw3a74qxiip2gdyaxqmjbtejjubyp3u/include/bo

ost/iterator/distance.hpp:49:9: note: candidate: constexpr
typename boost::iterators::iterator_difference<Iterator>::type

boost::iterators::distance_adl_barrier::distance(
SinglePassIterator, SinglePassIterator) [with SinglePassIterator = boos

t::multi_index::detail::bidir_node_iterator<boost::multi_index::
detail::ordered_index_node<boost::multi_index::detail::nu

ll_augment_policy, boost::multi_index::detail::
ordered_index_node<boost::multi_index::detail::null_augment_policy, boost:

:multi_index::detail::ordered_index_node<boost::multi_index::
detail::null_augment_policy, boost::multi_index::detail::ord

ered_index_node<boost::multi_index::detail::null_augment_policy,
boost::multi_index::detail::ordered_index_node<boost::mu

lti_index::detail::null_augment_policy, boost::multi_index::
detail::ordered_index_node<boost::multi_index::detail::null_a

ugment_policy, boost::multi_index::detail::ordered_index_node<
boost::multi_index::detail::null_augment_policy, boost::mul

ti_index::detail::ordered_index_node<boost::multi_index::detail
::null_augment_policy, boost::multi_index::detail::ordered

_index_node<boost::multi_index::detail::null_augment_policy,
boost::multi_index::detail::ordered_index_node<boost::multi_

index::detail::null_augment_policy, boost::multi_index::detail::
index_node_base<boost::shared_ptr<MoFEM::NumeredDofEntity

>, std::allocator<boost::shared_ptr<MoFEM::NumeredDofEntity> > >
> > > > > > > > > > >; typename boost::iterators::iterat

or_difference<Iterator>::type = long int]

361 distance(SinglePassIterator first, SinglePassIterator
last)

362 ^~~~~~~~

363 In file included from /tmp/ia45r/spack-stage/spack-stage-GW0PLL/
mofem-cephas/mofem/src/finite_elements/impl/All.cpp:3:0:

364 /tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/src
/finite_elements/impl/ForcesAndSourcesCore.cpp: In member

function ‘MoFEM::MoFEMErrorCode MoFEM::ForcesAndSourcesCore::
getNodesFieldData(boost::string_ref, MoFEM::FEDofEntity_m

ultiIndex&, MoFEM::VectorDouble&, MoFEM::VectorDofs&, FieldSpace
&, FieldApproximationBase&) const’:

>> 365 /tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/src
/finite_elements/impl/ForcesAndSourcesCore.cpp:957:29: er

ror: call of overloaded ‘distance(boost::multi_index::detail::
ordered_index<boost::multi_index::composite_key<MoFEM::FE

DofEntity, boost::multi_index::const_mem_fun<MoFEM::
interface_Field<MoFEM::DofEntity>, boost::basic_string_ref<char, std:

:char_traits<char> >, &MoFEM::interface_Field<MoFEM::DofEntity
>::getNameRef>, boost::multi_index::const_mem_fun<MoFEM::in

terface_RefEntity<MoFEM::DofEntity>, moab::EntityType, &MoFEM::
interface_RefEntity<MoFEM::DofEntity>::getEntType> >, std:

:less<boost::multi_index::composite_key_result<boost::
multi_index::composite_key<MoFEM::FEDofEntity, boost::multi_index::

const_mem_fun<MoFEM::interface_Field<MoFEM::DofEntity>, boost::
basic_string_ref<char, std::char_traits<char> >, &MoFEM::i

nterface_Field<MoFEM::DofEntity>::getNameRef>, boost::
multi_index::const_mem_fun<MoFEM::interface_RefEntity<MoFEM::DofEnt

ity>, moab::EntityType, &MoFEM::interface_RefEntity<MoFEM::
DofEntity>::getEntType> > > >, boost::multi_index::detail::nth

_layer<6, boost::shared_ptr<MoFEM::FEDofEntity>, boost::
multi_index::indexed_by<boost::multi_index::ordered_unique<boost:

:multi_index::tag<MoFEM::Unique_mi_tag>, boost::multi_index::
const_mem_fun<MoFEM::interface_DofEntity<MoFEM::DofEntity>,

const boost::multiprecision::number<boost::multiprecision::
backends::cpp_int_backend<128u, 128u, (boost::multiprecision::

cpp_integer_type)0u, (boost::multiprecision::cpp_int_check_type)
0u, void> >, &MoFEM::interface_DofEntity<MoFEM::DofEntity

>::getGlobalUniqueId> >, boost::multi_index::ordered_non_unique<
boost::multi_index::tag<MoFEM::Ent_mi_tag>, boost::multi_

index::const_mem_fun<MoFEM::interface_DofEntity<MoFEM::DofEntity
>, long unsigned int, &MoFEM::interface_DofEntity<MoFEM::

DofEntity>::getEnt> >, boost::multi_index::ordered_non_unique<
boost::multi_index::tag<MoFEM::FieldName_mi_tag>, boost::mu

lti_index::const_mem_fun<MoFEM::interface_Field<MoFEM::DofEntity
>, boost::basic_string_ref<char, std::char_traits<char> >

, &MoFEM::interface_Field<MoFEM::DofEntity>::getNameRef> >,
boost::multi_index::ordered_non_unique<boost::multi_index::ta

g<MoFEM::EntType_mi_tag>, boost::multi_index::const_mem_fun<
MoFEM::interface_RefEntity<MoFEM::DofEntity>, moab::EntityTyp

e, &MoFEM::interface_RefEntity<MoFEM::DofEntity>::getEntType> >,
boost::multi_index::ordered_non_unique<boost::multi_inde

x::tag<MoFEM::Composite_Name_Type_And_Side_Number_mi_tag>, boost
::multi_index::composite_key<MoFEM::FEDofEntity, boost::m

ulti_index::const_mem_fun<MoFEM::interface_Field<MoFEM::
DofEntity>, boost::basic_string_ref<char, std::char_traits<char>

>, &MoFEM::interface_Field<MoFEM::DofEntity>::getNameRef>, boost
::multi_index::const_mem_fun<MoFEM::interface_RefEntity<M

oFEM::DofEntity>, moab::EntityType, &MoFEM::interface_RefEntity<
MoFEM::DofEntity>::getEntType>, MoFEM::KeyFromKey<boost::

multi_index::member<MoFEM::SideNumber, char, &MoFEM::SideNumber
::side_number>, boost::multi_index::member<MoFEM::BaseFEDo

fEntity, boost::shared_ptr<MoFEM::SideNumber>, &MoFEM::
BaseFEDofEntity::sideNumberPtr> > > >, boost::multi_index::ordered

_non_unique<boost::multi_index::tag<MoFEM::
Composite_Name_And_Type_mi_tag>, boost::multi_index::composite_key<MoFEM::
FEDo

fEntity, boost::multi_index::const_mem_fun<MoFEM::
interface_Field<MoFEM::DofEntity>, boost::basic_string_ref<char, std::c

har_traits<char> >, &MoFEM::interface_Field<MoFEM::DofEntity>::
getNameRef>, boost::multi_index::const_mem_fun<MoFEM::inte

rface_RefEntity<MoFEM::DofEntity>, moab::EntityType, &MoFEM::
interface_RefEntity<MoFEM::DofEntity>::getEntType> > >, boos

t::multi_index::ordered_non_unique<boost::multi_index::tag<MoFEM
::Composite_Name_And_Ent_mi_tag>, boost::multi_index::com

posite_key<MoFEM::FEDofEntity, boost::multi_index::const_mem_fun
<MoFEM::interface_Field<MoFEM::DofEntity>, boost::basic_s

tring_ref<char, std::char_traits<char> >, &MoFEM::
interface_Field<MoFEM::DofEntity>::getNameRef>, boost::multi_index::con

st_mem_fun<MoFEM::interface_DofEntity<MoFEM::DofEntity>, long
unsigned int, &MoFEM::interface_DofEntity<MoFEM::DofEntity>

::getEnt> > >, boost::multi_index::ordered_non_unique<boost::
multi_index::tag<MoFEM::Composite_EntType_and_Space_mi_tag>,

boost::multi_index::composite_key<MoFEM::FEDofEntity, boost::
multi_index::const_mem_fun<MoFEM::interface_RefEntity<MoFEM

::DofEntity>, moab::EntityType, &MoFEM::interface_RefEntity<
MoFEM::DofEntity>::getEntType>, boost::multi_index::const_mem

_fun<MoFEM::interface_Field<MoFEM::DofEntity>, FieldSpace, &
MoFEM::interface_Field<MoFEM::DofEntity>::getSpace> > > >, st

d::allocator<boost::shared_ptr<MoFEM::FEDofEntity> > >, boost::
mpl::v_item<MoFEM::Composite_Name_And_Type_mi_tag, boost::

mpl::vector0<mpl_::na>, 0>, boost::multi_index::detail::
ordered_non_unique_tag, boost::multi_index::detail::null_augment_

policy>::iterator&, boost::multi_index::detail::ordered_index<
boost::multi_index::composite_key<MoFEM::FEDofEntity, boost

::multi_index::const_mem_fun<MoFEM::interface_Field<MoFEM::
DofEntity>, boost::basic_string_ref<char, std::char_traits<cha

r> >, &MoFEM::interface_Field<MoFEM::DofEntity>::getNameRef>,
boost::multi_index::const_mem_fun<MoFEM::interface_RefEntit

y<MoFEM::DofEntity>, moab::EntityType, &MoFEM::
interface_RefEntity<MoFEM::DofEntity>::getEntType> >, std::less<boost::mul

ti_index::composite_key_result<boost::multi_index::composite_key
<MoFEM::FEDofEntity, boost::multi_index::const_mem_fun<Mo

FEM::interface_Field<MoFEM::DofEntity>, boost::basic_string_ref<
char, std::char_traits<char> >, &MoFEM::interface_Field<M

oFEM::DofEntity>::getNameRef>, boost::multi_index::const_mem_fun
<MoFEM::interface_RefEntity<MoFEM::DofEntity>, moab::Enti

tyType, &MoFEM::interface_RefEntity<MoFEM::DofEntity>::
getEntType> > > >, boost::multi_index::detail::nth_layer<6, boost:

:shared_ptr<MoFEM::FEDofEntity>, boost::multi_index::indexed_by<
boost::multi_index::ordered_unique<boost::multi_index::ta

g<MoFEM::Unique_mi_tag>, boost::multi_index::const_mem_fun<MoFEM
::interface_DofEntity<MoFEM::DofEntity>, const boost::mul

tiprecision::number<boost::multiprecision::backends::
cpp_int_backend<128u, 128u, (boost::multiprecision::cpp_integer_type

)0u, (boost::multiprecision::cpp_int_check_type)0u, void> >, &
MoFEM::interface_DofEntity<MoFEM::DofEntity>::getGlobalUniq

ueId> >, boost::multi_index::ordered_non_unique<boost::
multi_index::tag<MoFEM::Ent_mi_tag>, boost::multi_index::const_mem

_fun<MoFEM::interface_DofEntity<MoFEM::DofEntity>, long unsigned
int, &MoFEM::interface_DofEntity<MoFEM::DofEntity>::getE

nt> >, boost::multi_index::ordered_non_unique<boost::multi_index
::tag<MoFEM::FieldName_mi_tag>, boost::multi_index::const

_mem_fun<MoFEM::interface_Field<MoFEM::DofEntity>, boost::
basic_string_ref<char, std::char_traits<char> >, &MoFEM::interf

ace_Field<MoFEM::DofEntity>::getNameRef> >, boost::multi_index::
ordered_non_unique<boost::multi_index::tag<MoFEM::EntType

_mi_tag>, boost::multi_index::const_mem_fun<MoFEM::
interface_RefEntity<MoFEM::DofEntity>, moab::EntityType, &MoFEM::inter

face_RefEntity<MoFEM::DofEntity>::getEntType> >, boost::
multi_index::ordered_non_unique<boost::multi_index::tag<MoFEM::Co

mposite_Name_Type_And_Side_Number_mi_tag>, boost::multi_index::
composite_key<MoFEM::FEDofEntity, boost::multi_index::cons

t_mem_fun<MoFEM::interface_Field<MoFEM::DofEntity>, boost::
basic_string_ref<char, std::char_traits<char> >, &MoFEM::inter

face_Field<MoFEM::DofEntity>::getNameRef>, boost::multi_index::
const_mem_fun<MoFEM::interface_RefEntity<MoFEM::DofEntity>

, moab::EntityType, &MoFEM::interface_RefEntity<MoFEM::DofEntity
>::getEntType>, MoFEM::KeyFromKey<boost::multi_index::mem

ber<MoFEM::SideNumber, char, &MoFEM::SideNumber::side_number>,
boost::multi_index::member<MoFEM::BaseFEDofEntity, boost::

shared_ptr<MoFEM::SideNumber>, &MoFEM::BaseFEDofEntity::
sideNumberPtr> > > >, boost::multi_index::ordered_non_unique<boos

t::multi_index::tag<MoFEM::Composite_Name_And_Type_mi_tag>,
boost::multi_index::composite_key<MoFEM::FEDofEntity, boost::

multi_index::const_mem_fun<MoFEM::interface_Field<MoFEM::
DofEntity>, boost::basic_string_ref<char, std::char_traits<char>

>, &MoFEM::interface_Field<MoFEM::DofEntity>::getNameRef>,
boost::multi_index::const_mem_fun<MoFEM::interface_RefEntity<

MoFEM::DofEntity>, moab::EntityType, &MoFEM::interface_RefEntity
<MoFEM::DofEntity>::getEntType> > >, boost::multi_index::

ordered_non_unique<boost::multi_index::tag<MoFEM::
Composite_Name_And_Ent_mi_tag>, boost::multi_index::composite_key<MoFEM

::FEDofEntity, boost::multi_index::const_mem_fun<MoFEM::
interface_Field<MoFEM::DofEntity>, boost::basic_string_ref<char,

std::char_traits<char> >, &MoFEM::interface_Field<MoFEM::
DofEntity>::getNameRef>, boost::multi_index::const_mem_fun<MoFEM

::interface_DofEntity<MoFEM::DofEntity>, long unsigned int, &
MoFEM::interface_DofEntity<MoFEM::DofEntity>::getEnt> > >, b

oost::multi_index::ordered_non_unique<boost::multi_index::tag<
MoFEM::Composite_EntType_and_Space_mi_tag>, boost::multi_in

dex::composite_key<MoFEM::FEDofEntity, boost::multi_index::
const_mem_fun<MoFEM::interface_RefEntity<MoFEM::DofEntity>, mo

ab::EntityType, &MoFEM::interface_RefEntity<MoFEM::DofEntity>::
getEntType>, boost::multi_index::const_mem_fun<MoFEM::inte

rface_Field<MoFEM::DofEntity>, FieldSpace, &MoFEM::
interface_Field<MoFEM::DofEntity>::getSpace> > > >, std::allocator<boo

st::shared_ptr<MoFEM::FEDofEntity> > >, boost::mpl::v_item<MoFEM
::Composite_Name_And_Type_mi_tag, boost::mpl::vector0<mpl

_::na>, 0>, boost::multi_index::detail::ordered_non_unique_tag,
boost::multi_index::detail::null_augment_policy>::iterato

r&)’ is ambiguous

366 if (distance(dit, hi_dit) != max_nb_dofs) {

367 ^

368 In file included from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/bits/stl_algobase.h:66:0,

369 from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/bits/char_traits.h:39,

370 from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/ios:40,

371 from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/istream:38,




...




389 from /tmp/ia45r/spack-stage/spack-stage-GW0PLL/
mofem-cephas/mofem/src/finite_elements/impl/DataStructure

s.cpp:21,

390 from /tmp/ia45r/spack-stage/spack-stage-GW0PLL/
mofem-cephas/mofem/src/finite_elements/impl/All.cpp:1:

391 /home/staff/ia45r/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0
/boost-1.68.0-zvw3a74qxiip2gdyaxqmjbtejjubyp3u/include/bo

ost/iterator/distance.hpp:49:9: note: candidate: constexpr
typename boost::iterators::iterator_difference<Iterator>::type

boost::iterators::distance_adl_barrier::distance(
SinglePassIterator, SinglePassIterator) [with SinglePassIterator = boos

t::multi_index::detail::bidir_node_iterator<boost::multi_index::
detail::ordered_index_node<boost::multi_index::detail::nu

ll_augment_policy, boost::multi_index::detail::
ordered_index_node<boost::multi_index::detail::null_augment_policy, boost:

:multi_index::detail::ordered_index_node<boost::multi_index::
detail::null_augment_policy, boost::multi_index::detail::ind

ex_node_base<boost::shared_ptr<MoFEM::FEDofEntity>, std::
allocator<boost::shared_ptr<MoFEM::FEDofEntity> > > > > > >; typ

ename boost::iterators::iterator_difference<Iterator>::type =
long int]

392 distance(SinglePassIterator first, SinglePassIterator
last)

393 ^~~~~~~~

394 In file included from /tmp/ia45r/spack-stage/spack-stage-GW0PLL/
mofem-cephas/mofem/src/finite_elements/impl/All.cpp:3:0:

>> 395 /tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/src
/finite_elements/impl/ForcesAndSourcesCore.cpp:962:38: er

ror: call of overloaded ‘distance(boost::multi_index::detail::
ordered_index<boost::multi_index::composite_key<MoFEM::FE

DofEntity, boost::multi_index::const_mem_fun<MoFEM::
interface_Field<MoFEM::DofEntity>, boost::basic_string_ref<char, std:

:char_traits<char> >, &MoFEM::interface_Field<MoFEM::DofEntity
>::getNameRef>, boost::multi_index::const_mem_fun<MoFEM::in

terface_RefEntity<MoFEM::DofEntity>, moab::EntityType, &MoFEM::
interface_RefEntity<MoFEM::DofEntity>::getEntType> >, std:

:less<boost::multi_index::composite_key_result<boost::
multi_index::composite_key<MoFEM::FEDofEntity, boost::multi_index::

const_mem_fun<MoFEM::interface_Field<MoFEM::DofEntity>, boost::
basic_string_ref<char, std::char_traits<char> >, &MoFEM::i

nterface_Field<MoFEM::DofEntity>::getNameRef>, boost::
multi_index::const_mem_fun<MoFEM::interface_RefEntity<MoFEM::DofEnt

ity>, moab::EntityType, &MoFEM::interface_RefEntity<MoFEM::
DofEntity>::getEntType> > > >, boost::multi_index::detail::nth

_layer<6, boost::shared_ptr<MoFEM::FEDofEntity>, boost::
multi_index::indexed_by<boost::multi_index::ordered_unique<boost:

:multi_index::tag<MoFEM::Unique_mi_tag>, boost::multi_index::
const_mem_fun<MoFEM::interface_DofEntity<MoFEM::DofEntity>,

const boost::multiprecision::number<boost::multiprecision::
backends::cpp_int_backend<128u, 128u, (boost::multiprecision::

cpp_integer_type)0u, (boost::multiprecision::cpp_int_check_type)
0u, void> >, &MoFEM::interface_DofEntity<MoFEM::DofEntity

>::getGlobalUniqueId> >, boost::multi_index::ordered_non_unique<
boost::multi_index::tag<MoFEM::Ent_mi_tag>, boost::multi_

index::const_mem_fun<MoFEM::interface_DofEntity<MoFEM::DofEntity
>, long unsigned int, &MoFEM::interface_DofEntity<MoFEM::

DofEntity>::getEnt> >, boost::multi_index::ordered_non_unique<
boost::multi_index::tag<MoFEM::FieldName_mi_tag>, boost::mu

lti_index::const_mem_fun<MoFEM::interface_Field<MoFEM::DofEntity
>, boost::basic_string_ref<char, std::char_traits<char> >

, &MoFEM::interface_Field<MoFEM::DofEntity>::getNameRef> >,
boost::multi_index::ordered_non_unique<boost::multi_index::ta

g<MoFEM::EntType_mi_tag>, boost::multi_index::const_mem_fun<
MoFEM::interface_RefEntity<MoFEM::DofEntity>, moab::EntityTyp

e, &MoFEM::interface_RefEntity<MoFEM::DofEntity>::getEntType> >,
boost::multi_index::ordered_non_unique<boost::multi_inde

x::tag<MoFEM::Composite_Name_Type_And_Side_Number_mi_tag>, boost
::multi_index::composite_key<MoFEM::FEDofEntity, boost::m

ulti_index::const_mem_fun<MoFEM::interface_Field<MoFEM::
DofEntity>, boost::basic_string_ref<char, std::char_traits<char>

>, &MoFEM::interface_Field<MoFEM::DofEntity>::getNameRef>, boost
::multi_index::const_mem_fun<MoFEM::interface_RefEntity<M

oFEM::DofEntity>, moab::EntityType, &MoFEM::interface_RefEntity<
MoFEM::DofEntity>::getEntType>, MoFEM::KeyFromKey<boost::

multi_index::member<MoFEM::SideNumber, char, &MoFEM::SideNumber
::side_number>, boost::multi_index::member<MoFEM::BaseFEDo

fEntity, boost::shared_ptr<MoFEM::SideNumber>, &MoFEM::
BaseFEDofEntity::sideNumberPtr> > > >, boost::multi_index::ordered

_non_unique<boost::multi_index::tag<MoFEM::
Composite_Name_And_Type_mi_tag>, boost::multi_index::composite_key<MoFEM::
FEDo

fEntity, boost::multi_index::const_mem_fun<MoFEM::
interface_Field<MoFEM::DofEntity>, boost::basic_string_ref<char, std::c

har_traits<char> >, &MoFEM::interface_Field<MoFEM::DofEntity>::
getNameRef>, boost::multi_index::const_mem_fun<MoFEM::inte

rface_RefEntity<MoFEM::DofEntity>, moab::EntityType, &MoFEM::
interface_RefEntity<MoFEM::DofEntity>::getEntType> > >, boos

t::multi_index::ordered_non_unique<boost::multi_index::tag<MoFEM
::Composite_Name_And_Ent_mi_tag>, boost::multi_index::com

posite_key<MoFEM::FEDofEntity, boost::multi_index::const_mem_fun
<MoFEM::interface_Field<MoFEM::DofEntity>, boost::basic_s

tring_ref<char, std::char_traits<char> >, &MoFEM::
interface_Field<MoFEM::DofEntity>::getNameRef>, boost::multi_index::con

st_mem_fun<MoFEM::interface_DofEntity<MoFEM::DofEntity>, long
unsigned int, &MoFEM::interface_DofEntity<MoFEM::DofEntity>

::getEnt> > >, boost::multi_index::ordered_non_unique<boost::
multi_index::tag<MoFEM::Composite_EntType_and_Space_mi_tag>,

boost::multi_index::composite_key<MoFEM::FEDofEntity, boost::
multi_index::const_mem_fun<MoFEM::interface_RefEntity<MoFEM

::DofEntity>, moab::EntityType, &MoFEM::interface_RefEntity<
MoFEM::DofEntity>::getEntType>, boost::multi_index::const_mem

_fun<MoFEM::interface_Field<MoFEM::DofEntity>, FieldSpace, &
MoFEM::interface_Field<MoFEM::DofEntity>::getSpace> > > >, st

d::allocator<boost::shared_ptr<MoFEM::FEDofEntity> > >, boost::
mpl::v_item<MoFEM::Composite_Name_And_Type_mi_tag, boost::

mpl::vector0<mpl_::na>, 0>, boost::multi_index::detail::
ordered_non_unique_tag, boost::multi_index::detail::null_augment_

policy>::iterator&, boost::multi_index::detail::ordered_index<
boost::multi_index::composite_key<MoFEM::FEDofEntity, boost

::multi_index::const_mem_fun<MoFEM::interface_Field<MoFEM::
DofEntity>, boost::basic_string_ref<char, std::char_traits<cha

r> >, &MoFEM::interface_Field<MoFEM::DofEntity>::getNameRef>,
boost::multi_index::const_mem_fun<MoFEM::interface_RefEntit

y<MoFEM::DofEntity>, moab::EntityType, &MoFEM::
interface_RefEntity<MoFEM::DofEntity>::getEntType> >, std::less<boost::mul

ti_index::composite_key_result<boost::multi_index::composite_key
<MoFEM::FEDofEntity, boost::multi_index::const_mem_fun<Mo

FEM::interface_Field<MoFEM::DofEntity>, boost::basic_string_ref<
char, std::char_traits<char> >, &MoFEM::interface_Field<M

oFEM::DofEntity>::getNameRef>, boost::multi_index::const_mem_fun
<MoFEM::interface_RefEntity<MoFEM::DofEntity>, moab::Enti

tyType, &MoFEM::interface_RefEntity<MoFEM::DofEntity>::
getEntType> > > >, boost::multi_index::detail::nth_layer<6, boost:

:shared_ptr<MoFEM::FEDofEntity>, boost::multi_index::indexed_by<
boost::multi_index::ordered_unique<boost::multi_index::ta

g<MoFEM::Unique_mi_tag>, boost::multi_index::const_mem_fun<MoFEM
::interface_DofEntity<MoFEM::DofEntity>, const boost::mul

tiprecision::number<boost::multiprecision::backends::
cpp_int_backend<128u, 128u, (boost::multiprecision::cpp_integer_type

)0u, (boost::multiprecision::cpp_int_check_type)0u, void> >, &
MoFEM::interface_DofEntity<MoFEM::DofEntity>::getGlobalUniq

ueId> >, boost::multi_index::ordered_non_unique<boost::
multi_index::tag<MoFEM::Ent_mi_tag>, boost::multi_index::const_mem

_fun<MoFEM::interface_DofEntity<MoFEM::DofEntity>, long unsigned
int, &MoFEM::interface_DofEntity<MoFEM::DofEntity>::getE

nt> >, boost::multi_index::ordered_non_unique<boost::multi_index
::tag<MoFEM::FieldName_mi_tag>, boost::multi_index::const

_mem_fun<MoFEM::interface_Field<MoFEM::DofEntity>, boost::
basic_string_ref<char, std::char_traits<char> >, &MoFEM::interf

ace_Field<MoFEM::DofEntity>::getNameRef> >, boost::multi_index::
ordered_non_unique<boost::multi_index::tag<MoFEM::EntType

_mi_tag>, boost::multi_index::const_mem_fun<MoFEM::
interface_RefEntity<MoFEM::DofEntity>, moab::EntityType, &MoFEM::inter

face_RefEntity<MoFEM::DofEntity>::getEntType> >, boost::
multi_index::ordered_non_unique<boost::multi_index::tag<MoFEM::Co

mposite_Name_Type_And_Side_Number_mi_tag>, boost::multi_index::
composite_key<MoFEM::FEDofEntity, boost::multi_index::cons

t_mem_fun<MoFEM::interface_Field<MoFEM::DofEntity>, boost::
basic_string_ref<char, std::char_traits<char> >, &MoFEM::inter

face_Field<MoFEM::DofEntity>::getNameRef>, boost::multi_index::
const_mem_fun<MoFEM::interface_RefEntity<MoFEM::DofEntity>

, moab::EntityType, &MoFEM::interface_RefEntity<MoFEM::DofEntity
>::getEntType>, MoFEM::KeyFromKey<boost::multi_index::mem

ber<MoFEM::SideNumber, char, &MoFEM::SideNumber::side_number>,
boost::multi_index::member<MoFEM::BaseFEDofEntity, boost::

shared_ptr<MoFEM::SideNumber>, &MoFEM::BaseFEDofEntity::
sideNumberPtr> > > >, boost::multi_index::ordered_non_unique<boos

t::multi_index::tag<MoFEM::Composite_Name_And_Type_mi_tag>,
boost::multi_index::composite_key<MoFEM::FEDofEntity, boost::

multi_index::const_mem_fun<MoFEM::interface_Field<MoFEM::
DofEntity>, boost::basic_string_ref<char, std::char_traits<char>

>, &MoFEM::interface_Field<MoFEM::DofEntity>::getNameRef>,
boost::multi_index::const_mem_fun<MoFEM::interface_RefEntity<

MoFEM::DofEntity>, moab::EntityType, &MoFEM::interface_RefEntity
<MoFEM::DofEntity>::getEntType> > >, boost::multi_index::

ordered_non_unique<boost::multi_index::tag<MoFEM::
Composite_Name_And_Ent_mi_tag>, boost::multi_index::composite_key<MoFEM

::FEDofEntity, boost::multi_index::const_mem_fun<MoFEM::
interface_Field<MoFEM::DofEntity>, boost::basic_string_ref<char,

std::char_traits<char> >, &MoFEM::interface_Field<MoFEM::
DofEntity>::getNameRef>, boost::multi_index::const_mem_fun<MoFEM

::interface_DofEntity<MoFEM::DofEntity>, long unsigned int, &
MoFEM::interface_DofEntity<MoFEM::DofEntity>::getEnt> > >, b

oost::multi_index::ordered_non_unique<boost::multi_index::tag<
MoFEM::Composite_EntType_and_Space_mi_tag>, boost::multi_in

dex::composite_key<MoFEM::FEDofEntity, boost::multi_index::
const_mem_fun<MoFEM::interface_RefEntity<MoFEM::DofEntity>, mo

ab::EntityType, &MoFEM::interface_RefEntity<MoFEM::DofEntity>::
getEntType>, boost::multi_index::const_mem_fun<MoFEM::inte

rface_Field<MoFEM::DofEntity>, FieldSpace, &MoFEM::
interface_Field<MoFEM::DofEntity>::getSpace> > > >, std::allocator<boo

st::shared_ptr<MoFEM::FEDofEntity> > >, boost::mpl::v_item<MoFEM
::Composite_Name_And_Type_mi_tag, boost::mpl::vector0<mpl

_::na>, 0>, boost::multi_index::detail::ordered_non_unique_tag,
boost::multi_index::detail::null_augment_policy>::iterato

r&)’ is ambiguous

396 int size = distance(dit, hi_dit);

397 ^

398 In file included from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/bits/stl_algobase.h:66:0,

399 from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/bits/char_traits.h:39,

400 from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/ios:40,

401 from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/istream:38,




...




420 from /tmp/ia45r/spack-stage/spack-stage-GW0PLL/
mofem-cephas/mofem/src/finite_elements/impl/All.cpp:1:

421 /home/staff/ia45r/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0
/boost-1.68.0-zvw3a74qxiip2gdyaxqmjbtejjubyp3u/include/bo

ost/iterator/distance.hpp:49:9: note: candidate: constexpr
typename boost::iterators::iterator_difference<Iterator>::type

boost::iterators::distance_adl_barrier::distance(
SinglePassIterator, SinglePassIterator) [with SinglePassIterator = boos

t::multi_index::detail::bidir_node_iterator<boost::multi_index::
detail::ordered_index_node<boost::multi_index::detail::nu

ll_augment_policy, boost::multi_index::detail::
ordered_index_node<boost::multi_index::detail::null_augment_policy, boost:

:multi_index::detail::ordered_index_node<boost::multi_index::
detail::null_augment_policy, boost::multi_index::detail::ind

ex_node_base<boost::shared_ptr<MoFEM::FEDofEntity>, std::
allocator<boost::shared_ptr<MoFEM::FEDofEntity> > > > > > >; typ

ename boost::iterators::iterator_difference<Iterator>::type =
long int]

422 distance(SinglePassIterator first, SinglePassIterator
last)

423 ^~~~~~~~

424 In file included from /tmp/ia45r/spack-stage/spack-stage-GW0PLL/
mofem-cephas/mofem/src/finite_elements/impl/All.cpp:3:0:

425 /tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/src
/finite_elements/impl/ForcesAndSourcesCore.cpp: In member

function ‘MoFEM::MoFEMErrorCode MoFEM::ForcesAndSourcesCore::
getNoFieldFieldData(boost::string_ref, MoFEM::FEDofEntity

_multiIndex&, MoFEM::VectorDouble&, MoFEM::VectorDofs&) const’:

>> 426 /tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/src
/finite_elements/impl/ForcesAndSourcesCore.cpp:1138:34: e

rror: call of overloaded ‘distance(boost::multi_index::detail::
ordered_index<boost::multi_index::const_mem_fun<MoFEM::i

nterface_Field<MoFEM::DofEntity>, boost::basic_string_ref<char,
std::char_traits<char> >, &MoFEM::interface_Field<MoFEM::

DofEntity>::getNameRef>, std::less<boost::basic_string_ref<char,
std::char_traits<char> > >, boost::multi_index::detail::

nth_layer<3, boost::shared_ptr<MoFEM::FEDofEntity>, boost::
multi_index::indexed_by<boost::multi_index::ordered_unique<boo

st::multi_index::tag<MoFEM::Unique_mi_tag>, boost::multi_index::
const_mem_fun<MoFEM::interface_DofEntity<MoFEM::DofEntity

>, const boost::multiprecision::number<boost::multiprecision::
backends::cpp_int_backend<128u, 128u, (boost::multiprecisio

n::cpp_integer_type)0u, (boost::multiprecision::
cpp_int_check_type)0u, void> >, &MoFEM::interface_DofEntity<MoFEM::DofEnt

ity>::getGlobalUniqueId> >, boost::multi_index::
ordered_non_unique<boost::multi_index::tag<MoFEM::Ent_mi_tag>, boost::mul

ti_index::const_mem_fun<MoFEM::interface_DofEntity<MoFEM::
DofEntity>, long unsigned int, &MoFEM::interface_DofEntity<MoFE

M::DofEntity>::getEnt> >, boost::multi_index::ordered_non_unique
<boost::multi_index::tag<MoFEM::FieldName_mi_tag>, boost:

:multi_index::const_mem_fun<MoFEM::interface_Field<MoFEM::
DofEntity>, boost::basic_string_ref<char, std::char_traits<char

> >, &MoFEM::interface_Field<MoFEM::DofEntity>::getNameRef> >,
boost::multi_index::ordered_non_unique<boost::multi_index:

:tag<MoFEM::EntType_mi_tag>, boost::multi_index::const_mem_fun<
MoFEM::interface_RefEntity<MoFEM::DofEntity>, moab::Entity

Type, &MoFEM::interface_RefEntity<MoFEM::DofEntity>::getEntType>
>, boost::multi_index::ordered_non_unique<boost::multi_i

ndex::tag<MoFEM::Composite_Name_Type_And_Side_Number_mi_tag>,
boost::multi_index::composite_key<MoFEM::FEDofEntity, boost

::multi_index::const_mem_fun<MoFEM::interface_Field<MoFEM::
DofEntity>, boost::basic_string_ref<char, std::char_traits<cha

r> >, &MoFEM::interface_Field<MoFEM::DofEntity>::getNameRef>,
boost::multi_index::const_mem_fun<MoFEM::interface_RefEntit

y<MoFEM::DofEntity>, moab::EntityType, &MoFEM::
interface_RefEntity<MoFEM::DofEntity>::getEntType>, MoFEM::KeyFromKey<boos

t::multi_index::member<MoFEM::SideNumber, char, &MoFEM::
SideNumber::side_number>, boost::multi_index::member<MoFEM::BaseF

EDofEntity, boost::shared_ptr<MoFEM::SideNumber>, &MoFEM::
BaseFEDofEntity::sideNumberPtr> > > >, boost::multi_index::orde

red_non_unique<boost::multi_index::tag<MoFEM::
Composite_Name_And_Type_mi_tag>, boost::multi_index::composite_key<MoFEM::F

EDofEntity, boost::multi_index::const_mem_fun<MoFEM::
interface_Field<MoFEM::DofEntity>, boost::basic_string_ref<char, std

::char_traits<char> >, &MoFEM::interface_Field<MoFEM::DofEntity
>::getNameRef>, boost::multi_index::const_mem_fun<MoFEM::i

nterface_RefEntity<MoFEM::DofEntity>, moab::EntityType, &MoFEM::
interface_RefEntity<MoFEM::DofEntity>::getEntType> > >, b

oost::multi_index::ordered_non_unique<boost::multi_index::tag<
MoFEM::Composite_Name_And_Ent_mi_tag>, boost::multi_index::

composite_key<MoFEM::FEDofEntity, boost::multi_index::
const_mem_fun<MoFEM::interface_Field<MoFEM::DofEntity>, boost::basi

c_string_ref<char, std::char_traits<char> >, &MoFEM::
interface_Field<MoFEM::DofEntity>::getNameRef>, boost::multi_index::

const_mem_fun<MoFEM::interface_DofEntity<MoFEM::DofEntity>, long
unsigned int, &MoFEM::interface_DofEntity<MoFEM::DofEnti

ty>::getEnt> > >, boost::multi_index::ordered_non_unique<boost::
multi_index::tag<MoFEM::Composite_EntType_and_Space_mi_ta

g>, boost::multi_index::composite_key<MoFEM::FEDofEntity, boost
::multi_index::const_mem_fun<MoFEM::interface_RefEntity<Mo

FEM::DofEntity>, moab::EntityType, &MoFEM::interface_RefEntity<
MoFEM::DofEntity>::getEntType>, boost::multi_index::const_

mem_fun<MoFEM::interface_Field<MoFEM::DofEntity>, FieldSpace, &
MoFEM::interface_Field<MoFEM::DofEntity>::getSpace> > > >,

std::allocator<boost::shared_ptr<MoFEM::FEDofEntity> > >, boost
::mpl::v_item<MoFEM::FieldName_mi_tag, boost::mpl::vector

0<mpl_::na>, 0>, boost::multi_index::detail::
ordered_non_unique_tag, boost::multi_index::detail::null_augment_policy>::it


erator&, boost::multi_index::detail::ordered_index<boost::
multi_index::const_mem_fun<MoFEM::interface_Field<MoFEM::DofEnt

ity>, boost::basic_string_ref<char, std::char_traits<char> >, &
MoFEM::interface_Field<MoFEM::DofEntity>::getNameRef>, std

::less<boost::basic_string_ref<char, std::char_traits<char> > >,
boost::multi_index::detail::nth_layer<3, boost::shared_p

tr<MoFEM::FEDofEntity>, boost::multi_index::indexed_by<boost::
multi_index::ordered_unique<boost::multi_index::tag<MoFEM::

Unique_mi_tag>, boost::multi_index::const_mem_fun<MoFEM::
interface_DofEntity<MoFEM::DofEntity>, const boost::multiprecisi

on::number<boost::multiprecision::backends::cpp_int_backend<128u
, 128u, (boost::multiprecision::cpp_integer_type)0u, (boo

st::multiprecision::cpp_int_check_type)0u, void> >, &MoFEM::
interface_DofEntity<MoFEM::DofEntity>::getGlobalUniqueId> >,

boost::multi_index::ordered_non_unique<boost::multi_index::tag<
MoFEM::Ent_mi_tag>, boost::multi_index::const_mem_fun<MoFE

M::interface_DofEntity<MoFEM::DofEntity>, long unsigned int, &
MoFEM::interface_DofEntity<MoFEM::DofEntity>::getEnt> >, bo

ost::multi_index::ordered_non_unique<boost::multi_index::tag<
MoFEM::FieldName_mi_tag>, boost::multi_index::const_mem_fun<

MoFEM::interface_Field<MoFEM::DofEntity>, boost::
basic_string_ref<char, std::char_traits<char> >, &MoFEM::interface_Field

<MoFEM::DofEntity>::getNameRef> >, boost::multi_index::
ordered_non_unique<boost::multi_index::tag<MoFEM::EntType_mi_tag>,

boost::multi_index::const_mem_fun<MoFEM::interface_RefEntity<
MoFEM::DofEntity>, moab::EntityType, &MoFEM::interface_RefE

ntity<MoFEM::DofEntity>::getEntType> >, boost::multi_index::
ordered_non_unique<boost::multi_index::tag<MoFEM::Composite_N

ame_Type_And_Side_Number_mi_tag>, boost::multi_index::
composite_key<MoFEM::FEDofEntity, boost::multi_index::const_mem_fun

<MoFEM::interface_Field<MoFEM::DofEntity>, boost::
basic_string_ref<char, std::char_traits<char> >, &MoFEM::interface_Fiel

d<MoFEM::DofEntity>::getNameRef>, boost::multi_index::
const_mem_fun<MoFEM::interface_RefEntity<MoFEM::DofEntity>, moab::E

ntityType, &MoFEM::interface_RefEntity<MoFEM::DofEntity>::
getEntType>, MoFEM::KeyFromKey<boost::multi_index::member<MoFEM

::SideNumber, char, &MoFEM::SideNumber::side_number>, boost::
multi_index::member<MoFEM::BaseFEDofEntity, boost::shared_pt

r<MoFEM::SideNumber>, &MoFEM::BaseFEDofEntity::sideNumberPtr> >
> >, boost::multi_index::ordered_non_unique<boost::multi_

index::tag<MoFEM::Composite_Name_And_Type_mi_tag>, boost::
multi_index::composite_key<MoFEM::FEDofEntity, boost::multi_ind

ex::const_mem_fun<MoFEM::interface_Field<MoFEM::DofEntity>,
boost::basic_string_ref<char, std::char_traits<char> >, &MoFE

M::interface_Field<MoFEM::DofEntity>::getNameRef>, boost::
multi_index::const_mem_fun<MoFEM::interface_RefEntity<MoFEM::Do

fEntity>, moab::EntityType, &MoFEM::interface_RefEntity<MoFEM::
DofEntity>::getEntType> > >, boost::multi_index::ordered_n

on_unique<boost::multi_index::tag<MoFEM::
Composite_Name_And_Ent_mi_tag>, boost::multi_index::composite_key<MoFEM::
FEDofEn

tity, boost::multi_index::const_mem_fun<MoFEM::interface_Field<
MoFEM::DofEntity>, boost::basic_string_ref<char, std::char

_traits<char> >, &MoFEM::interface_Field<MoFEM::DofEntity>::
getNameRef>, boost::multi_index::const_mem_fun<MoFEM::interfa

ce_DofEntity<MoFEM::DofEntity>, long unsigned int, &MoFEM::
interface_DofEntity<MoFEM::DofEntity>::getEnt> > >, boost::mul

ti_index::ordered_non_unique<boost::multi_index::tag<MoFEM::
Composite_EntType_and_Space_mi_tag>, boost::multi_index::comp

osite_key<MoFEM::FEDofEntity, boost::multi_index::const_mem_fun<
MoFEM::interface_RefEntity<MoFEM::DofEntity>, moab::Entit

yType, &MoFEM::interface_RefEntity<MoFEM::DofEntity>::getEntType
>, boost::multi_index::const_mem_fun<MoFEM::interface_Fie

ld<MoFEM::DofEntity>, FieldSpace, &MoFEM::interface_Field<MoFEM
::DofEntity>::getSpace> > > >, std::allocator<boost::share

d_ptr<MoFEM::FEDofEntity> > >, boost::mpl::v_item<MoFEM::
FieldName_mi_tag, boost::mpl::vector0<mpl_::na>, 0>, boost::mult

i_index::detail::ordered_non_unique_tag, boost::multi_index::
detail::null_augment_policy>::iterator&)’ is ambiguous

427 int size = distance(dit, hi_dit);

428 ^

429 In file included from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/bits/stl_algobase.h:66:0,

430 from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/bits/char_traits.h:39,

431 from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/ios:40,

432 from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/istream:38,




...




451 from /tmp/ia45r/spack-stage/spack-stage-GW0PLL/
mofem-cephas/mofem/src/finite_elements/impl/All.cpp:1:

452 /home/staff/ia45r/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0
/boost-1.68.0-zvw3a74qxiip2gdyaxqmjbtejjubyp3u/include/bo

ost/iterator/distance.hpp:49:9: note: candidate: constexpr
typename boost::iterators::iterator_difference<Iterator>::type

boost::iterators::distance_adl_barrier::distance(
SinglePassIterator, SinglePassIterator) [with SinglePassIterator = boos

t::multi_index::detail::bidir_node_iterator<boost::multi_index::
detail::ordered_index_node<boost::multi_index::detail::nu

ll_augment_policy, boost::multi_index::detail::
ordered_index_node<boost::multi_index::detail::null_augment_policy, boost:

:multi_index::detail::ordered_index_node<boost::multi_index::
detail::null_augment_policy, boost::multi_index::detail::ord

ered_index_node<boost::multi_index::detail::null_augment_policy,
boost::multi_index::detail::ordered_index_node<boost::mu

lti_index::detail::null_augment_policy, boost::multi_index::
detail::ordered_index_node<boost::multi_index::detail::null_a

ugment_policy, boost::multi_index::detail::index_node_base<boost
::shared_ptr<MoFEM::FEDofEntity>, std::allocator<boost::s

hared_ptr<MoFEM::FEDofEntity> > > > > > > > > >; typename boost
::iterators::iterator_difference<Iterator>::type = long in

t]

453 distance(SinglePassIterator first, SinglePassIterator
last)

454 ^~~~~~~~

455 In file included from /tmp/ia45r/spack-stage/spack-stage-GW0PLL/
mofem-cephas/mofem/src/finite_elements/impl/All.cpp:3:0:

456 /tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/src
/finite_elements/impl/ForcesAndSourcesCore.cpp: In member

function ‘MoFEM::MoFEMErrorCode MoFEM::ForcesAndSourcesCore::
getFaceTriNodes(MoFEM::DataForcesAndSourcesCore&) const?

?:

>> 457 /tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/src
/finite_elements/impl/ForcesAndSourcesCore.cpp:1255:29: e

rror: call of overloaded ‘distance(boost::multi_index::detail::
ordered_index<boost::multi_index::composite_key<MoFEM::S

ideNumber, boost::multi_index::const_mem_fun<MoFEM::SideNumber,
moab::EntityType, &MoFEM::SideNumber::getEntType>, boost:

:multi_index::member<MoFEM::SideNumber, char, &MoFEM::SideNumber
::side_number> >, std::less<boost::multi_index::composite

_key_result<boost::multi_index::composite_key<MoFEM::SideNumber,
boost::multi_index::const_mem_fun<MoFEM::SideNumber, moa

b::EntityType, &MoFEM::SideNumber::getEntType>, boost::
multi_index::member<MoFEM::SideNumber, char, &MoFEM::SideNumber::s

ide_number> > > >, boost::multi_index::detail::nth_layer<2,
boost::shared_ptr<MoFEM::SideNumber>, boost::multi_index::ind

exed_by<boost::multi_index::hashed_unique<boost::multi_index::
member<MoFEM::SideNumber, long unsigned int, &MoFEM::SideNu

mber::ent> >, boost::multi_index::ordered_non_unique<boost::
multi_index::composite_key<MoFEM::SideNumber, boost::multi_in

dex::const_mem_fun<MoFEM::SideNumber, moab::EntityType, &MoFEM::
SideNumber::getEntType>, boost::multi_index::member<MoFEM

::SideNumber, char, &MoFEM::SideNumber::side_number> > >, boost
::multi_index::ordered_non_unique<boost::multi_index::cons

t_mem_fun<MoFEM::SideNumber, moab::EntityType, &MoFEM::
SideNumber::getEntType> > >, std::allocator<boost::shared_ptr<MoFE

M::SideNumber> > >, boost::mpl::vector0<mpl_::na>, boost::
multi_index::detail::ordered_non_unique_tag, boost::multi_index

::detail::null_augment_policy>::iterator&, boost::multi_index::
detail::ordered_index<boost::multi_index::composite_key<Mo

FEM::SideNumber, boost::multi_index::const_mem_fun<MoFEM::
SideNumber, moab::EntityType, &MoFEM::SideNumber::getEntType>,

boost::multi_index::member<MoFEM::SideNumber, char, &MoFEM::
SideNumber::side_number> >, std::less<boost::multi_index::com

posite_key_result<boost::multi_index::composite_key<MoFEM::
SideNumber, boost::multi_index::const_mem_fun<MoFEM::SideNumbe

r, moab::EntityType, &MoFEM::SideNumber::getEntType>, boost::
multi_index::member<MoFEM::SideNumber, char, &MoFEM::SideNum

ber::side_number> > > >, boost::multi_index::detail::nth_layer<2
, boost::shared_ptr<MoFEM::SideNumber>, boost::multi_inde

x::indexed_by<boost::multi_index::hashed_unique<boost::
multi_index::member<MoFEM::SideNumber, long unsigned int, &MoFEM::

SideNumber::ent> >, boost::multi_index::ordered_non_unique<boost
::multi_index::composite_key<MoFEM::SideNumber, boost::mu

lti_index::const_mem_fun<MoFEM::SideNumber, moab::EntityType, &
MoFEM::SideNumber::getEntType>, boost::multi_index::member

<MoFEM::SideNumber, char, &MoFEM::SideNumber::side_number> > >,
boost::multi_index::ordered_non_unique<boost::multi_index

::const_mem_fun<MoFEM::SideNumber, moab::EntityType, &MoFEM::
SideNumber::getEntType> > >, std::allocator<boost::shared_pt

r<MoFEM::SideNumber> > >, boost::mpl::vector0<mpl_::na>, boost::
multi_index::detail::ordered_non_unique_tag, boost::multi

_index::detail::null_augment_policy>::iterator&)’ is ambiguous

458 if (distance(siit, hi_siit) != 4) {

459 ^

460 In file included from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/bits/stl_algobase.h:66:0,

461 from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/bits/char_traits.h:39,

462 from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/ios:40,

463 from /software/compilers/gcc/6.4.0/include/c++/
6.4.0/istream:38,




...




480 from /tmp/ia45r/spack-stage/spack-stage-GW0PLL/
mofem-cephas/mofem/include/Includes.hpp:73,

481 from /tmp/ia45r/spack-stage/spack-stage-GW0PLL/
mofem-cephas/mofem/src/finite_elements/impl/DataStructure

s.cpp:21,

482 from /tmp/ia45r/spack-stage/spack-stage-GW0PLL/
mofem-cephas/mofem/src/finite_elements/impl/All.cpp:1:

483 /home/staff/ia45r/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0
/boost-1.68.0-zvw3a74qxiip2gdyaxqmjbtejjubyp3u/include/bo

ost/iterator/distance.hpp:49:9: note: candidate: constexpr
typename boost::iterators::iterator_difference<Iterator>::type

boost::iterators::distance_adl_barrier::distance(
SinglePassIterator, SinglePassIterator) [with SinglePassIterator = boos

t::multi_index::detail::bidir_node_iterator<boost::multi_index::
detail::ordered_index_node<boost::multi_index::detail::nu

ll_augment_policy, boost::multi_index::detail::
ordered_index_node<boost::multi_index::detail::null_augment_policy, boost:

:multi_index::detail::index_node_base<boost::shared_ptr<MoFEM::
SideNumber>, std::allocator<boost::shared_ptr<MoFEM::SideN

umber> > > > > >; typename boost::iterators::iterator_difference
<Iterator>::type = long int]

484 distance(SinglePassIterator first, SinglePassIterator
last)

485 ^~~~~~~~

>> 486 make[2]: *** [src/finite_elements/CMakeFiles/
mofem_finite_elements.dir/impl/All.cpp.o] Error 1

487 make[2]: Leaving directory `/tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/spack-build'


>> 488 make[1]: ***
[src/finite_elements/CMakeFiles/mofem_finite_elements.dir/all] Error 2

489 make[1]: *** Waiting for unfinished jobs....

490 [ 50%] Building C object
src/approximation/CMakeFiles/mofem_approx.dir/c_impl/base_functions.c.o

491 cd
/tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/spack-build/src/approximation
&& /home/staff/ia45r/spack/opt/sp


ack/linux-centos7-x86_64/gcc-6.4.0/openmpi-3.1.2-nn3qworcrs4gh6klta2ijpxmhnr55rhx/bin/mpicc
-DBLAS_FOUND -DMETIS -DMOAB_H

DF5_ENABLED -DPARMETIS -DWITH_ADOL_C -DWITH_MED -DWITH_TETGEN
-Drestrict=__restrict__ -I/tmp/ia45r/spack-stage/spack-stag

e-GW0PLL/mofem-cephas/mofem/src/petsc
-I/tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/src/finite_elements



-I/tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/src/interfaces
-I/tmp/ia45r/spack-stage/spack-stage-GW0PLL

/mofem-cephas/mofem/src/multi_indices
-I/tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/src/ftensor/src
-I/t


mp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/src/approximation/c
-I/tmp/ia45r/spack-stage/spack-stage-GW0PL

L/mofem-cephas/mofem/src/approximation
-I/tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/third_party/cblas
-


I/tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/third_party
-I/tmp/ia45r/spack-stage/spack-stage-GW0PLL/mof

em-cephas/mofem/include
-I/tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/spack-build/include
-I/home/staff/ia45r/


spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0/parmetis-4.0.3-lyeeigo5i6cucgyfw65spezptjrdrstk/include
-I/home/staff/ia45


r/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0/metis-5.1.0-ibbuh42smfog5zmdebhsku25zoqlfnal/include
-I/home/staff/ia45r


/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0/boost-1.68.0-zvw3a74qxiip2gdyaxqmjbtejjubyp3u/include
-I/include -I/home/


staff/ia45r/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0/petsc-3.9.3-tejpk5fn2d7niep7z7aiy5howbhp5sb7/include
-I/home/s


taff/ia45r/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0/hdf5-1.8.19-zv63itx62rmigqmhmeo3udknnpyfxskd
-I/home/staff/ia45


r/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0/hdf5-1.8.19-zv63itx62rmigqmhmeo3udknnpyfxskd/include
-I/home/staff/ia45r


/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0/moab-5.0.2-n647wff5pple2lhszd43q5kceqk5zzbm/include
-I/home/staff/ia45r/s


pack/opt/spack/linux-centos7-x86_64/gcc-6.4.0/med-3.2.0-i5nh2p2lf74wumvhwnhzirwohbo6k5cn/include
-I/home/staff/ia45r/spac


k/opt/spack/linux-centos7-x86_64/gcc-6.4.0/tetgen-1.5.0-7covxhqacumfgrvvrtzlslbxbrn2ld4e/include
-I/home/staff/ia45r/spac


k/opt/spack/linux-centos7-x86_64/gcc-6.4.0/adol-c-2.5.2-fd5jxdqvwbuthbtdjp5epj7idmdivwmb/include
-O2 -g -DNDEBUG -o CM

akeFiles/mofem_approx.dir/c_impl/base_functions.c.o -c
/tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/src

/approximation/c_impl/base_functions.c

492 [ 53%] Building C object
src/approximation/CMakeFiles/mofem_approx.dir/c_impl/fem_tools.c.o

493 cd
/tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/spack-build/src/approximation
&& /home/staff/ia45r/spack/opt/sp


ack/linux-centos7-x86_64/gcc-6.4.0/openmpi-3.1.2-nn3qworcrs4gh6klta2ijpxmhnr55rhx/bin/mpicc
-DBLAS_FOUND -DMETIS -DMOAB_H

DF5_ENABLED -DPARMETIS -DWITH_ADOL_C -DWITH_MED -DWITH_TETGEN
-Drestrict=__restrict__ -I/tmp/ia45r/spack-stage/spack-stag

e-GW0PLL/mofem-cephas/mofem/src/petsc
-I/tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/src/finite_elements



-I/tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/src/interfaces
-I/tmp/ia45r/spack-stage/spack-stage-GW0PLL

/mofem-cephas/mofem/src/multi_indices
-I/tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/src/ftensor/src
-I/t


mp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/src/approximation/c
-I/tmp/ia45r/spack-stage/spack-stage-GW0PL

L/mofem-cephas/mofem/src/approximation
-I/tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/third_party/cblas
-


I/tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/third_party
-I/tmp/ia45r/spack-stage/spack-stage-GW0PLL/mof

em-cephas/mofem/include
-I/tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/spack-build/include
-I/home/staff/ia45r/


spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0/parmetis-4.0.3-lyeeigo5i6cucgyfw65spezptjrdrstk/include
-I/home/staff/ia45


r/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0/metis-5.1.0-ibbuh42smfog5zmdebhsku25zoqlfnal/include
-I/home/staff/ia45r


/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0/boost-1.68.0-zvw3a74qxiip2gdyaxqmjbtejjubyp3u/include
-I/include -I/home/


staff/ia45r/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0/petsc-3.9.3-tejpk5fn2d7niep7z7aiy5howbhp5sb7/include
-I/home/s


taff/ia45r/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0/hdf5-1.8.19-zv63itx62rmigqmhmeo3udknnpyfxskd
-I/home/staff/ia45


r/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0/hdf5-1.8.19-zv63itx62rmigqmhmeo3udknnpyfxskd/include
-I/home/staff/ia45r


/spack/opt/spack/linux-centos7-x86_64/gcc-6.4.0/moab-5.0.2-n647wff5pple2lhszd43q5kceqk5zzbm/include
-I/home/staff/ia45r/s


pack/opt/spack/linux-centos7-x86_64/gcc-6.4.0/med-3.2.0-i5nh2p2lf74wumvhwnhzirwohbo6k5cn/include
-I/home/staff/ia45r/spac


k/opt/spack/linux-centos7-x86_64/gcc-6.4.0/tetgen-1.5.0-7covxhqacumfgrvvrtzlslbxbrn2ld4e/include
-I/home/staff/ia45r/spac


k/opt/spack/linux-centos7-x86_64/gcc-6.4.0/adol-c-2.5.2-fd5jxdqvwbuthbtdjp5epj7idmdivwmb/include
-O2 -g -DNDEBUG -o CM

akeFiles/mofem_approx.dir/c_impl/fem_tools.c.o -c
/tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/mofem/src/appr

oximation/c_impl/fem_tools.c

494 [ 57%] Building C object
src/approximation/CMakeFiles/mofem_approx.dir/c_impl/h1.c.o




...




509 cd
/tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/spack-build/src/multi_indices
&& /home/staff/ia45r/spack/opt/sp


ack/linux-centos7-x86_64/gcc-6.4.0/cmake-3.12.1-xsx46qaqtcddtdnhlbwdnxxltjgt4cya/bin/cmake
-E cmake_link_script CMakeFile

s/mofem_multi_indices.dir/link.txt --verbose=1

510 /usr/bin/ar qc libmofem_multi_indices.a
CMakeFiles/mofem_multi_indices.dir/impl/All.cpp.o

511 /usr/bin/ranlib libmofem_multi_indices.a

512 make[2]: Leaving directory `/tmp/ia45r/spack-stage/spack-stage-
GW0PLL/mofem-cephas/spack-build'

513 [ 67%] Built target mofem_multi_indices

514 make[1]: Leaving directory
`/tmp/ia45r/spack-stage/spack-stage-GW0PLL/mofem-cephas/spack-build'

>> 515 make: *** [all] Error 2




Thank you,
Ignatios

Lukasz Kaczmraczyk

unread,
Sep 5, 2018, 8:27:00 AM9/5/18
to mofem Group
Ignatios,

This is the problem with new boost-1.68. I solve the problem by setting a temporary mofem dependency to boost not higher than boot-1.67.

To run the installation, update mofem and kick installation as follows,
cd spack
git pull
spack install
-j4 -v mofem-users-modules

Lukasz

ignat...@gmail.com

unread,
Sep 5, 2018, 9:12:15 AM9/5/18
to mofem Group
Hi Lukasz,

Thank you for this, it now runs fine.

Ignatios
Reply all
Reply to author
Forward
0 new messages