Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

icpc: command line remark #10010

Jose-Luis_Loffreda
607 Views
I have installed Intel C++ Compilers v11.1 and abaqus6.9 on my SLES 11 Workstation, unfortunately it is not possible to compile anymore with abaqus make command.
on my "old" SLES 9 Workstatoin with Intel C++ Compilers v10 it was no problem.
i allready tried to compile after installing the older Version of the compiler on my SLES11 PC, but same error appered.

any hints?

here the error message i got:

chutest6: abaqus make job=CTOOLS_main.cpp
Abaqus JOB CTOOLS_main
Begin Compiling User Post-Processing Program
Mon 09 Nov 2009 02:12:07 PM CET
Compiling: /tmp/CTOOLS_V_1_2/CTOOLS_main.cpp
icpc: command line remark #10010: option '-cxxlib-gcc' is deprecated and will be removed in a future release. See '-help deprecated'
/usr/include/c++/4.3/x86_64-suse-linux/bits/c++config.h(1642): error: expected a "{"
_GLIBCXX_BEGIN_NAMESPACE(std)
^

/usr/include/c++/4.3/bits/stringfwd.h(46): error: expected a "{"
_GLIBCXX_BEGIN_NAMESPACE(std)
^

/usr/include/c++/4.3/cstddef(54): error: expected a "{"
_GLIBCXX_BEGIN_NAMESPACE(std)
^

/usr/include/c++/4.3/cwchar(70): error: expected a "{"
_GLIBCXX_BEGIN_NAMESPACE(std)
^

/usr/include/c++/4.3/cwchar(144): error: expected a "{"
_GLIBCXX_BEGIN_NAMESPACE(std)
^

/usr/include/c++/4.3/cwchar(246): error: expected a "{"
_GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
^

/usr/include/c++/4.3/cwchar(268): error: expected a "{"
_GLIBCXX_BEGIN_NAMESPACE(std)
^

/usr/include/c++/4.3/cwchar(270): error: name followed by "::" must be a class or namespace name
using ::__gnu_cxx::wcstold;
^

/usr/include/c++/4.3/cwchar(271): error: name followed by "::" must be a class or namespace name
using ::__gnu_cxx::wcstoll;
^

/usr/include/c++/4.3/cwchar(272): error: name followed by "::" must be a class or namespace name
using ::__gnu_cxx::wcstoull;
^

/usr/include/c++/4.3/bits/postypes.h(53): error: expected a "{"
_GLIBCXX_BEGIN_NAMESPACE(std)
^

/usr/include/c++/4.3/iosfwd(49): error: expected a "{"
_GLIBCXX_BEGIN_NAMESPACE(std)
^

/usr/include/c++/4.3/iosfwd(51): error: char_traits is not a template
template >
^

/usr/include/c++/4.3/iosfwd(54): error: char_traits is not a template
template >
^

/usr/include/c++/4.3/iosfwd(57): error: char_traits is not a template
template >
^

/usr/include/c++/4.3/iosfwd(60): error: char_traits is not a template
template >
^

/usr/include/c++/4.3/iosfwd(63): error: char_traits is not a template
template >
^

/usr/include/c++/4.3/iosfwd(66): error: char_traits is not a template
template,
^

/usr/include/c++/4.3/iosfwd(67): error: allocator is not a template
typename _Alloc = allocator<_CharT> >
^

/usr/include/c++/4.3/iosfwd(70): error: char_traits is not a template
template,
^

/usr/include/c++/4.3/iosfwd(71): error: allocator is not a template
typename _Alloc = allocator<_CharT> >
^

/usr/include/c++/4.3/iosfwd(74): error: char_traits is not a template
template,
^

/usr/include/c++/4.3/iosfwd(75): error: allocator is not a template
typename _Alloc = allocator<_CharT> >
^

/usr/include/c++/4.3/iosfwd(78): error: char_traits is not a template
template,
^

/usr/include/c++/4.3/iosfwd(79): error: allocator is not a template
typename _Alloc = allocator<_CharT> >
^

/usr/include/c++/4.3/iosfwd(82): error: char_traits is not a template
template >
^

/usr/include/c++/4.3/iosfwd(85): error: char_traits is not a template
template >
^

/usr/include/c++/4.3/iosfwd(88): error: char_traits is not a template
template >
^

/usr/include/c++/4.3/iosfwd(91): error: char_traits is not a template
template >
^

/usr/include/c++/4.3/iosfwd(94): error: char_traits is not a template
template >
^

/usr/include/c++/4.3/iosfwd(97): error: char_traits is not a template
template >
^

/usr/include/c++/4.3/exception(115): error: expected a "{"
_GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
^

/usr/include/c++/4.3/bits/functexcept.h(44): error: expected a "{"
_GLIBCXX_BEGIN_NAMESPACE(std)
^

/usr/include/c++/4.3/bits/cpp_type_traits.h(74): error: expected a "{"
_GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
^

/usr/include/c++/4.3/bits/cpp_type_traits.h(81): error: expected a "{"
_GLIBCXX_BEGIN_NAMESPACE(std)
^

/usr/include/c++/4.3/bits/cpp_type_traits.h(299): error: name followed by "::" must be a class or namespace name
struct __is_normal_iterator< __gnu_cxx::__normal_iterator<_Iterator,
^

/usr/include/c++/4.3/bits/cpp_type_traits.h(299): error: too many arguments for class template "::__is_normal_iterator"
struct __is_normal_iterator< __gnu_cxx::__normal_iterator<_Iterator,
^

/usr/include/c++/4.3/ext/type_traits.h(43): error: expected a "{"
_GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
^

/usr/include/c++/4.3/ext/type_traits.h(70): error: namespace "std" has no member "__is_integer"
typedef __enable_if<:__IS_INTEGER><_Tp>::__value, _Tp> __if_type;
^

/usr/include/c++/4.3/ext/type_traits.h(70): error: type name is not allowed
typedef __enable_if<:__IS_INTEGER><_Tp>::__value, _Tp> __if_type;
^

/usr/include/c++/4.3/ext/type_traits.h(70): error: too few arguments for class template "::__enable_if"
typedef __enable_if<:__IS_INTEGER><_Tp>::__value, _Tp> __if_type;
^

/usr/include/c++/4.3/ext/type_traits.h(70): error #303: explicit type is missing ("int" assumed)
typedef __enable_if<:__IS_INTEGER><_Tp>::__value, _Tp> __if_type;
^

/usr/include/c++/4.3/ext/type_traits.h(70): error #303: explicit type is missing ("int" assumed)
typedef __enable_if<:__IS_INTEGER><_Tp>::__value, _Tp> __if_type;
^

/usr/include/c++/4.3/ext/type_traits.h(70): error: expected a ";"
typedef __enable_if<:__IS_INTEGER><_Tp>::__value, _Tp> __if_type;
^

/usr/include/c++/4.3/ext/type_traits.h(73): error: name followed by "::" must be a class or namespace name
typedef typename __if_type::__type __type;
^

/usr/include/c++/4.3/ext/type_traits.h(113): error: namespace "std" has no member "__is_integer"
typedef __enable_if<:__IS_INTEGER><_Tp>::__value, _Tp> __if_type;
^

/usr/include/c++/4.3/ext/type_traits.h(113): error: type name is not allowed
typedef __enable_if<:__IS_INTEGER><_Tp>::__value, _Tp> __if_type;
^

/usr/include/c++/4.3/ext/type_traits.h(113): error: too few arguments for class template "::__enable_if"
typedef __enable_if<:__IS_INTEGER><_Tp>::__value, _Tp> __if_type;
^

/usr/include/c++/4.3/ext/type_traits.h(113): error #303: explicit type is missing ("int" assumed)
typedef __enable_if<:__IS_INTEGER><_Tp>::__value, _Tp> __if_type;
^

/usr/include/c++/4.3/ext/type_traits.h(113): error #303: explicit type is missing ("int" assumed)
typedef __enable_if<:__IS_INTEGER><_Tp>::__value, _Tp> __if_type;
^

/usr/include/c++/4.3/ext/type_traits.h(113): error: expected a ";"
typedef __enable_if<:__IS_INTEGER><_Tp>::__value, _Tp> __if_type;
^

/usr/include/c++/4.3/ext/type_traits.h(116): error: name followed by "::" must be a class or namespace name
typedef typename __if_type::__type __type;
^

/usr/include/c++/4.3/ext/type_traits.h(164): error: namespace "std" has no member "__is_integer"
template::__value>
^

/usr/include/c++/4.3/ext/type_traits.h(164): error: type name is not allowed
template::__value>
^

/usr/include/c++/4.3/ext/type_traits.h(164): error: the global scope has no "__value"
template::__value>
^

/usr/include/c++/4.3/ext/type_traits.h(169): error: a template argument list is not allowed in a declaration of a primary template
struct __promote<_Tp, false>
^

/usr/include/c++/4.3/ext/type_traits.h(176): error: name followed by "::" must be a class or namespace name
typedef typename __promote<_Tp>::__type __type1;
^

/usr/include/c++/4.3/ext/type_traits.h(177): error: name followed by "::" must be a class or namespace name
typedef typename __promote<_Up>::__type __type2;
^

/usr/include/c++/4.3/ext/type_traits.h(187): error: name followed by "::" must be a class or namespace name
typedef typename __promote<_Tp>::__type __type1;
^

/usr/include/c++/4.3/ext/type_traits.h(188): error: name followed by "::" must be a class or namespace name
typedef typename __promote<_Up>::__type __type2;
^

/usr/include/c++/4.3/ext/type_traits.h(189): error: name followed by "::" must be a class or namespace name
typedef typename __promote<_Vp>::__type __type3;
^

/usr/include/c++/4.3/ext/type_traits.h(199): error: name followed by "::" must be a class or namespace name
typedef typename __promote<_Tp>::__type __type1;
^

/usr/include/c++/4.3/ext/type_traits.h(200): error: name followed by "::" must be a class or namespace name
typedef typename __promote<_Up>::__type __type2;
^

/usr/include/c++/4.3/ext/type_traits.h(201): error: name followed by "::" must be a class or namespace name
typedef typename __promote<_Vp>::__type __type3;
^

/usr/include/c++/4.3/ext/type_traits.h(202): error: name followed by "::" must be a class or namespace name
typedef typename __promote<_Wp>::__type __type4;
^

/usr/include/c++/4.3/ext/numeric_traits.h(43): error: expected a "{"
_GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
^

/usr/include/c++/4.3/ext/numeric_traits.h(107): error: namespace "std" has no member "__are_same"
static const int __max_digits10 = __glibcxx_max_digits10(_Value);
^

/usr/include/c++/4.3/ext/numeric_traits.h(107): error: type name is not allowed
static const int __max_digits10 = __glibcxx_max_digits10(_Value);
^

/usr/include/c++/4.3/ext/numeric_traits.h(107): error: this operator is not allowed in a constant expression
static const int __max_digits10 = __glibcxx_max_digits10(_Value);
^

/usr/include/c++/4.3/ext/numeric_traits.h(107): error: the global scope has no "__value"
static const int __max_digits10 = __glibcxx_max_digits10(_Value);
^

/usr/include/c++/4.3/ext/numeric_traits.h(111): error: namespace "std" has no member "__are_same"
static const int __digits10 = __glibcxx_digits10(_Value);
^

/usr/include/c++/4.3/ext/numeric_traits.h(111): error: type name is not allowed
static const int __digits10 = __glibcxx_digits10(_Value);
^

/usr/include/c++/4.3/ext/numeric_traits.h(111): error: this operator is not allowed in a constant expression
static const int __digits10 = __glibcxx_digits10(_Value);
^

/usr/include/c++/4.3/ext/numeric_traits.h(111): error: the global scope has no "__value"
static const int __digits10 = __glibcxx_digits10(_Value);
^

/usr/include/c++/4.3/ext/numeric_traits.h(112): error: namespace "std" has no member "__are_same"
static const int __max_exponent10 = __glibcxx_max_exponent10(_Value);
^

/usr/include/c++/4.3/ext/numeric_traits.h(112): error: type name is not allowed
static const int __max_exponent10 = __glibcxx_max_exponent10(_Value);
^

/usr/include/c++/4.3/ext/numeric_traits.h(112): error: this operator is not allowed in a constant expression
static const int __max_exponent10 = __glibcxx_max_exponent10(_Value);
^

/usr/include/c++/4.3/ext/numeric_traits.h(112): error: the global scope has no "__value"
static const int __max_exponent10 = __glibcxx_max_exponent10(_Value);
^

/usr/include/c++/4.3/ext/numeric_traits.h(129): error: namespace "std" has no member "__is_integer"
: public __conditional_type<:__IS_INTEGER><_Value>::__value,
^

/usr/include/c++/4.3/ext/numeric_traits.h(129): error: type name is not allowed
: public __conditional_type<:__IS_INTEGER><_Value>::__value,
^

/usr/include/c++/4.3/ext/numeric_traits.h(129): error: name followed by "::" must be a class or namespace name
: public __conditional_type<:__IS_INTEGER><_Value>::__value,
^

/usr/include/c++/4.3/ext/numeric_traits.h(129): error: not a class or struct name
: public __conditional_type<:__IS_INTEGER><_Value>::__value,
^

/usr/include/c++/4.3/ext/numeric_traits.h(131): error: class or struct definition is missing
__numeric_traits_floating<_Value> >::__type
^

/usr/include/c++/4.3/bits/stl_move.h(70): error: expected a "{"
_GLIBCXX_BEGIN_NAMESPACE(std)
^

/usr/include/c++/4.3/bits/stl_pair.h(68): error: expected a "{"
_GLIBCXX_BEGIN_NAMESPACE(std)
^

/usr/include/c++/4.3/bits/stl_iterator_base_types.h(73): error: expected a "{"
_GLIBCXX_BEGIN_NAMESPACE(std)
^

/usr/include/c++/4.3/bits/stl_iterator_base_funcs.h(71): error: expected a "{"
_GLIBCXX_BEGIN_NAMESPACE(std)
^

/usr/include/c++/4.3/bits/stl_iterator_base_funcs.h(74): error: iterator_traits is not a template
inline typename iterator_traits<_InputIterator>::difference_type
^

/usr/include/c++/4.3/bits/stl_iterator_base_funcs.h(76): error: identifier "input_iterator_tag" is undefined
input_iterator_tag)
^

/usr/include/c++/4.3/bits/stl_iterator_base_funcs.h(91): error: iterator_traits is not a template
inline typename iterator_traits<_RandomAccessIterator>::difference_type
^

/usr/include/c++/4.3/bits/stl_iterator_base_funcs.h(93): error: identifier "random_access_iterator_tag" is undefined
random_access_iterator_tag)
^

/usr/include/c++/4.3/bits/stl_iterator_base_funcs.h(92): error: function template "::__distance" has already been defined
__distance(_RandomAccessIterator __first, _RandomAccessIterator __last,
^

/usr/include/c++/4.3/bits/stl_iterator_base_funcs.h(114): error: iterator_traits is not a template
inline typename iterator_traits<_InputIterator>::difference_type
^

/usr/include/c++/4.3/bits/stl_iterator_base_funcs.h(124): error: identifier "input_iterator_tag" is undefined
__advance(_InputIterator& __i, _Distance __n, input_iterator_tag)
^

/usr/include/c++/4.3/bits/stl_iterator_base_funcs.h(135): error: identifier "bidirectional_iterator_tag" is undefined
bidirectional_iterator_tag)
^

/usr/include/c++/4.3/bits/stl_iterator_base_funcs.h(134): error: function template "::__advance" has already been defined
__advance(_BidirectionalIterator& __i, _Distance __n,
^

/usr/include/c++/4.3/bits/stl_iterator_base_funcs.h(151): error: identifier "random_access_iterator_tag" is undefined
random_access_iterator_tag)
^

/usr/include/c++/4.3/bits/stl_iterator_base_funcs.h(150): error: function template "::__advance" has already been defined
__advance(_RandomAccessIterator& __i, _Distance __n,
^

/usr/include/c++/4.3/bits/stl_iterator.h(73): error: expected a "{"
_GLIBCXX_BEGIN_NAMESPACE(std)
^

/usr/include/c++/4.3/bits/stl_iterator.h(96): error: a class or namespace qualified name is required
: public iterator<_Iterator>::iterator_category,
^

compilation aborted for /tmp/CTOOLS_V_1_2/CTOOLS_main.cpp (code 4)
Abaqus Error: Problem during compilation - /tmp/CTOOLS_V_1_2/CTOOLS_main.cpp
The Abaqus Make execution procedure exited with errors


0 Kudos
2 Replies
TimP
Honored Contributor III
607 Views
As you guessed, using a newer installation of icpc than the one supported by your Abaqus build script may be a problem. If you have a current license for Abaqus support, you should get advice from the software vendor as to whether they can support SLES11; if so, with which versions of icpc and g++.
Another problem is that your version of icpc appears not to accept the C++ headers of your version of g++. If you don't have a current version of icpc, this might be helped by an update (not by an older icpc).
In order to use an older icpc, you would have to install a corresponding older g++; evidently, this doesn't guarantee success.
0 Kudos
Jose-Luis_Loffreda
607 Views
the following package from Intel has been installed:
l_cproc_p_11.1.046_intel64.tgz

and here a list of the installed libstdc and gcc packages:
# rpm -qa |grep libstdc
libstdc++43-devel-4.3.3_20081022-11.18
libstdc++43-devel-32bit-4.3.3_20081022-11.18
libstdc++33-3.3.3-11.9
libstdc++43-4.3.3_20081022-11.18
libstdc++43-32bit-4.3.3_20081022-11.18
libstdc++-devel-4.3-62.198
libstdc++43-doc-4.3.3_20081022-11.18
libstdc++33-32bit-3.3.3-11.9


# rpm -qa |grep gcc
gcc43-info-4.3.3_20081022-11.18
gcc-32bit-4.3-62.198
gcc43-fortran-4.3.3_20081022-11.18
gcc-c++-4.3-62.198
gcc43-c++-4.3.3_20081022-11.18
gcc-info-4.3-62.198
gcc-4.3-62.198
gcc-java-4.3-62.198
gcc43-4.3.3_20081022-11.18
gcc-fortran-4.3-62.198
libgcc43-4.3.3_20081022-11.18
libgcc43-32bit-4.3.3_20081022-11.18
gcc43-32bit-4.3.3_20081022-11.18
gcc43-java-4.3.3_20081022-11.18

0 Kudos
Reply