[Trilinos-Users] [EXTERNAL] error in compiling trilinos

Bradley, Andrew Michael ambradl at sandia.gov
Thu Aug 4 11:16:54 EDT 2016

Hi Kwai,

This part of the error message: "usr/include/c++/4.4.7" means that Intel is using system header files corresponding to gcc 4.4.7. The minimum version supported (because of C++11) is 4.7.2. ?This is referred to as gcc compatibility. Run icpc -v to see the compatibility. To change it, make a more recent header directory available. On a system with modules, running something like these commands can work:

    $ module clear

    $ module load compilers/intel/16.3.210 compilers/gcc/4.7.2


From: Trilinos-Users <trilinos-users-bounces at trilinos.org> on behalf of kwong <kwong at utk.edu>
Sent: Tuesday, July 26, 2016 5:20 PM
To: trilinos-users at trilinos.org
Cc: kwong
Subject: [EXTERNAL] [Trilinos-Users] error in compiling trilinos

I got the following error in compiling version 12.6.4 using intel-compilers/2016.3.210. I wonder if it is a problem on my side or else?


/usr/include/c++/4.4.7/bits/stl_pair.h(90): error: a value of type "int" cannot be used to initialize an entity of type "fei::ctg_set<int> *"
        second(std::forward<_U2>(__y)) { }
          detected during:
            instantiation of "std::pair<_T1, _T2>::pair(_U1 &&, _U2 &&) [with _T1=int, _T2=fei::ctg_set<int> *, _U1=int, _U2=int]" at line 85 of "/lustre/medusa/kwong/TRILINOS/trilinos-12.6.4-Source/packages/fei/base/snl_fei_MapContig.hpp"
            instantiation of "snl_fei::MapContig<VAL_TYPE>::value_type snl_fei::MapContig<VAL_TYPE>::iterator::operator*() [with VAL_TYPE=fei::ctg_set<int> *]" at line 37 of "/lustre/medusa/kwong/TRILINOS/trilinos-12.6.4-Source/packages/fei/base/snl_fei_RaggedTable_specialize.hpp"

compilation aborted for /lustre/medusa/kwong/TRILINOS/trilinos-12.6.4-Source/packages/fei/base/snl_fei_Factory.cpp (code 2)
make[2]: *** [packages/fei/base/CMakeFiles/fei_base.dir/snl_fei_Factory.cpp.o] Error 2

Kwai Wong, Ph.D.
Joint Institute for Computational Sciences, UTK/ORNL
Director, CFD Laboratory, Research Assistant Professor
Mechanical, Aerospace, Biomedical Engineering
University of Tennessee, Knoxville, TN 37996-2030
cfdlab.utk.edu, 865-974-8833
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20160804/63858cc0/attachment.html>

More information about the Trilinos-Users mailing list