计算化学公社

 找回密码 Forget password
 注册 Register
Views: 462|回复 Reply: 1
打印 Print 上一主题 Last thread 下一主题 Next thread

[VASP] vasp编译错误identifier "__builtin_fabsf128" is undefined

[复制链接 Copy URL]

1

帖子

0

威望

11

eV
积分
12

Level 1 能力者

跳转到指定楼层 Go to specific reply
楼主
试着在办公室用manjaro编译了5.4.4和6.3.2都报错了,gcc版本太高的原因吗?
intel2022和2023 l_HPC和l_Base都试过了。。不太行
请问有人试过吗?

sudo make all                                                                                                                ✔  
if [ ! -d build/std ] ; then mkdir -p build/std  ; fi
cp src/makefile src/.objects src/makedeps.awk makefile.include build/std  
make -C build/std VERSION=std check
make[1]: 进入目录“/home/lee/soft/vasp.6.3.2/build/std”
exit 0
make[1]: 离开目录“/home/lee/soft/vasp.6.3.2/build/std”
make -C build/std VERSION=std cleandependencies -j1
make[1]: 进入目录“/home/lee/soft/vasp.6.3.2/build/std”
rm -f .depend
make[1]: 离开目录“/home/lee/soft/vasp.6.3.2/build/std”
make -C build/std VERSION=std all
make[1]: 进入目录“/home/lee/soft/vasp.6.3.2/build/std”
rsync -ru ../../src/lib .
cp makefile.include lib
make -C lib -j1
make[2]: 进入目录“/home/lee/soft/vasp.6.3.2/build/std/lib”
make libdmy.a
make[3]: 进入目录“/home/lee/soft/vasp.6.3.2/build/std/lib”
make[3]: “libdmy.a”已是最新。
make[3]: 离开目录“/home/lee/soft/vasp.6.3.2/build/std/lib”
make[2]: 离开目录“/home/lee/soft/vasp.6.3.2/build/std/lib”
rsync -ru ../../src/parser .
cp makefile.include parser
make -C parser -j1
make[2]: 进入目录“/home/lee/soft/vasp.6.3.2/build/std/parser”
make libparser.a
make[3]: 进入目录“/home/lee/soft/vasp.6.3.2/build/std/parser”
icpc -D YY_parse_DEBUG=1 -c sites.cpp -o sites.o
In file included from /usr/include/c++/13.2.1/bits/stl_pair.h(60),
                 from /usr/include/c++/13.2.1/bits/stl_algobase.h(64),
                 from /usr/include/c++/13.2.1/vector(62),
                 from sites.hpp(4),
                 from sites.cpp(1):
/usr/include/c++/13.2.1/type_traits(3363): error: type name is not allowed
    inline constexpr bool is_convertible_v = __is_convertible(_From, _To);
                                                              ^

In file included from /usr/include/c++/13.2.1/bits/stl_pair.h(60),
                 from /usr/include/c++/13.2.1/bits/stl_algobase.h(64),
                 from /usr/include/c++/13.2.1/vector(62),
                 from sites.hpp(4),
                 from sites.cpp(1):
/usr/include/c++/13.2.1/type_traits(3363): error: type name is not allowed
    inline constexpr bool is_convertible_v = __is_convertible(_From, _To);
                                                                     ^

In file included from /usr/include/c++/13.2.1/bits/stl_pair.h(60),
                 from /usr/include/c++/13.2.1/bits/stl_algobase.h(64),
                 from /usr/include/c++/13.2.1/vector(62),
                 from sites.hpp(4),
                 from sites.cpp(1):
/usr/include/c++/13.2.1/type_traits(3363): error: identifier "__is_convertible" is undefined
    inline constexpr bool is_convertible_v = __is_convertible(_From, _To);
                                             ^

In file included from /usr/include/c++/13.2.1/cwchar(44),
                 from /usr/include/c++/13.2.1/bits/postypes.h(40),
                 from /usr/include/c++/13.2.1/iosfwd(42),
                 from /usr/include/c++/13.2.1/ios(40),
                 from /usr/include/c++/13.2.1/ostream(40),
                 from /usr/include/c++/13.2.1/iostream(41),
                 from sites.cpp(2):
/usr/include/wchar.h(422): error: identifier "_Float32" is undefined
  extern _Float32 wcstof32 (const wchar_t *__restrict __nptr,
         ^

In file included from /usr/include/c++/13.2.1/cwchar(44),
                 from /usr/include/c++/13.2.1/bits/postypes.h(40),
                 from /usr/include/c++/13.2.1/iosfwd(42),
                 from /usr/include/c++/13.2.1/ios(40),
                 from /usr/include/c++/13.2.1/ostream(40),
                 from /usr/include/c++/13.2.1/iostream(41),
                 from sites.cpp(2):
/usr/include/wchar.h(427): error: identifier "_Float64" is undefined
  extern _Float64 wcstof64 (const wchar_t *__restrict __nptr,
         ^

In file included from /usr/include/c++/13.2.1/cwchar(44),
                 from /usr/include/c++/13.2.1/bits/postypes.h(40),
                 from /usr/include/c++/13.2.1/iosfwd(42),
                 from /usr/include/c++/13.2.1/ios(40),
                 from /usr/include/c++/13.2.1/ostream(40),
                 from /usr/include/c++/13.2.1/iostream(41),
                 from sites.cpp(2):
/usr/include/wchar.h(432): error: identifier "_Float128" is undefined
  extern _Float128 wcstof128 (const wchar_t *__restrict __nptr,
         ^

In file included from /usr/include/c++/13.2.1/cwchar(44),
                 from /usr/include/c++/13.2.1/bits/postypes.h(40),
                 from /usr/include/c++/13.2.1/iosfwd(42),
                 from /usr/include/c++/13.2.1/ios(40),
                 from /usr/include/c++/13.2.1/ostream(40),
                 from /usr/include/c++/13.2.1/iostream(41),
                 from sites.cpp(2):
/usr/include/wchar.h(437): error: identifier "_Float32x" is undefined
  extern _Float32x wcstof32x (const wchar_t *__restrict __nptr,
         ^

In file included from /usr/include/c++/13.2.1/cwchar(44),
                 from /usr/include/c++/13.2.1/bits/postypes.h(40),
                 from /usr/include/c++/13.2.1/iosfwd(42),
                 from /usr/include/c++/13.2.1/ios(40),
                 from /usr/include/c++/13.2.1/ostream(40),
                 from /usr/include/c++/13.2.1/iostream(41),
                 from sites.cpp(2):
/usr/include/wchar.h(442): error: identifier "_Float64x" is undefined
  extern _Float64x wcstof64x (const wchar_t *__restrict __nptr,
         ^

In file included from /usr/include/c++/13.2.1/cwchar(44),
                 from /usr/include/c++/13.2.1/bits/postypes.h(40),
                 from /usr/include/c++/13.2.1/iosfwd(42),
                 from /usr/include/c++/13.2.1/ios(40),
                 from /usr/include/c++/13.2.1/ostream(40),
                 from /usr/include/c++/13.2.1/iostream(41),
                 from sites.cpp(2):
/usr/include/wchar.h(649): error: identifier "_Float32" is undefined
  extern _Float32 wcstof32_l (const wchar_t *__restrict __nptr,
         ^

In file included from /usr/include/c++/13.2.1/cwchar(44),
                 from /usr/include/c++/13.2.1/bits/postypes.h(40),
                 from /usr/include/c++/13.2.1/iosfwd(42),
                 from /usr/include/c++/13.2.1/ios(40),
                 from /usr/include/c++/13.2.1/ostream(40),
                 from /usr/include/c++/13.2.1/iostream(41),
                 from sites.cpp(2):
/usr/include/wchar.h(655): error: identifier "_Float64" is undefined
  extern _Float64 wcstof64_l (const wchar_t *__restrict __nptr,
         ^

In file included from /usr/include/c++/13.2.1/cwchar(44),
                 from /usr/include/c++/13.2.1/bits/postypes.h(40),
                 from /usr/include/c++/13.2.1/iosfwd(42),
                 from /usr/include/c++/13.2.1/ios(40),
                 from /usr/include/c++/13.2.1/ostream(40),
                 from /usr/include/c++/13.2.1/iostream(41),
                 from sites.cpp(2):
/usr/include/wchar.h(661): error: identifier "_Float128" is undefined
  extern _Float128 wcstof128_l (const wchar_t *__restrict __nptr,
         ^

In file included from /usr/include/c++/13.2.1/cwchar(44),
                 from /usr/include/c++/13.2.1/bits/postypes.h(40),
                 from /usr/include/c++/13.2.1/iosfwd(42),
                 from /usr/include/c++/13.2.1/ios(40),
                 from /usr/include/c++/13.2.1/ostream(40),
                 from /usr/include/c++/13.2.1/iostream(41),
                 from sites.cpp(2):
/usr/include/wchar.h(667): error: identifier "_Float32x" is undefined
  extern _Float32x wcstof32x_l (const wchar_t *__restrict __nptr,
         ^

In file included from /usr/include/c++/13.2.1/cwchar(44),
                 from /usr/include/c++/13.2.1/bits/postypes.h(40),
                 from /usr/include/c++/13.2.1/iosfwd(42),
                 from /usr/include/c++/13.2.1/ios(40),
                 from /usr/include/c++/13.2.1/ostream(40),
                 from /usr/include/c++/13.2.1/iostream(41),
                 from sites.cpp(2):
/usr/include/wchar.h(673): error: identifier "_Float64x" is undefined
  extern _Float64x wcstof64x_l (const wchar_t *__restrict __nptr,
         ^

In file included from /usr/include/c++/13.2.1/cstdlib(79),
                 from /usr/include/c++/13.2.1/ext/string_conversions.h(43),
                 from /usr/include/c++/13.2.1/bits/basic_string.h(4097),
                 from /usr/include/c++/13.2.1/string(54),
                 from /usr/include/c++/13.2.1/bits/locale_classes.h(40),
                 from /usr/include/c++/13.2.1/bits/ios_base.h(41),
                 from /usr/include/c++/13.2.1/ios(44),
                 from /usr/include/c++/13.2.1/ostream(40),
                 from /usr/include/c++/13.2.1/iostream(41),
                 from sites.cpp(2):
/usr/include/stdlib.h(141): error: identifier "_Float32" is undefined
  extern _Float32 strtof32 (const char *__restrict __nptr,
         ^

In file included from /usr/include/c++/13.2.1/cstdlib(79),
                 from /usr/include/c++/13.2.1/ext/string_conversions.h(43),
                 from /usr/include/c++/13.2.1/bits/basic_string.h(4097),
                 from /usr/include/c++/13.2.1/string(54),
                 from /usr/include/c++/13.2.1/bits/locale_classes.h(40),
                 from /usr/include/c++/13.2.1/bits/ios_base.h(41),
                 from /usr/include/c++/13.2.1/ios(44),
                 from /usr/include/c++/13.2.1/ostream(40),
                 from /usr/include/c++/13.2.1/iostream(41),
                 from sites.cpp(2):
/usr/include/stdlib.h(147): error: identifier "_Float64" is undefined
  extern _Float64 strtof64 (const char *__restrict __nptr,
         ^

In file included from /usr/include/c++/13.2.1/cstdlib(79),
                 from /usr/include/c++/13.2.1/ext/string_conversions.h(43),
                 from /usr/include/c++/13.2.1/bits/basic_string.h(4097),
                 from /usr/include/c++/13.2.1/string(54),
                 from /usr/include/c++/13.2.1/bits/locale_classes.h(40),
                 from /usr/include/c++/13.2.1/bits/ios_base.h(41),
                 from /usr/include/c++/13.2.1/ios(44),
                 from /usr/include/c++/13.2.1/ostream(40),
                 from /usr/include/c++/13.2.1/iostream(41),
                 from sites.cpp(2):
/usr/include/stdlib.h(153): error: identifier "_Float128" is undefined
  extern _Float128 strtof128 (const char *__restrict __nptr,
         ^

In file included from /usr/include/c++/13.2.1/cstdlib(79),
                 from /usr/include/c++/13.2.1/ext/string_conversions.h(43),
                 from /usr/include/c++/13.2.1/bits/basic_string.h(4097),
                 from /usr/include/c++/13.2.1/string(54),
                 from /usr/include/c++/13.2.1/bits/locale_classes.h(40),
                 from /usr/include/c++/13.2.1/bits/ios_base.h(41),
                 from /usr/include/c++/13.2.1/ios(44),
                 from /usr/include/c++/13.2.1/ostream(40),
                 from /usr/include/c++/13.2.1/iostream(41),
                 from sites.cpp(2):
/usr/include/stdlib.h(159): error: identifier "_Float32x" is undefined
  extern _Float32x strtof32x (const char *__restrict __nptr,
         ^

In file included from /usr/include/c++/13.2.1/cstdlib(79),
                 from /usr/include/c++/13.2.1/ext/string_conversions.h(43),
                 from /usr/include/c++/13.2.1/bits/basic_string.h(4097),
                 from /usr/include/c++/13.2.1/string(54),
                 from /usr/include/c++/13.2.1/bits/locale_classes.h(40),
                 from /usr/include/c++/13.2.1/bits/ios_base.h(41),
                 from /usr/include/c++/13.2.1/ios(44),
                 from /usr/include/c++/13.2.1/ostream(40),
                 from /usr/include/c++/13.2.1/iostream(41),
                 from sites.cpp(2):
/usr/include/stdlib.h(165): error: identifier "_Float64x" is undefined
  extern _Float64x strtof64x (const char *__restrict __nptr,
         ^

In file included from /usr/include/c++/13.2.1/cstdlib(79),
                 from /usr/include/c++/13.2.1/ext/string_conversions.h(43),
                 from /usr/include/c++/13.2.1/bits/basic_string.h(4097),
                 from /usr/include/c++/13.2.1/string(54),
                 from /usr/include/c++/13.2.1/bits/locale_classes.h(40),
                 from /usr/include/c++/13.2.1/bits/ios_base.h(41),
                 from /usr/include/c++/13.2.1/ios(44),
                 from /usr/include/c++/13.2.1/ostream(40),
                 from /usr/include/c++/13.2.1/iostream(41),
                 from sites.cpp(2):
/usr/include/stdlib.h(299): error: identifier "_Float32" is undefined
                       _Float32 __f)
                       ^

In file included from /usr/include/c++/13.2.1/cstdlib(79),
                 from /usr/include/c++/13.2.1/ext/string_conversions.h(43),
                 from /usr/include/c++/13.2.1/bits/basic_string.h(4097),
                 from /usr/include/c++/13.2.1/string(54),
                 from /usr/include/c++/13.2.1/bits/locale_classes.h(40),
                 from /usr/include/c++/13.2.1/bits/ios_base.h(41),
                 from /usr/include/c++/13.2.1/ios(44),
                 from /usr/include/c++/13.2.1/ostream(40),
                 from /usr/include/c++/13.2.1/iostream(41),
                 from sites.cpp(2):
/usr/include/stdlib.h(305): error: identifier "_Float64" is undefined
                       _Float64 __f)
                       ^

In file included from /usr/include/c++/13.2.1/cstdlib(79),
                 from /usr/include/c++/13.2.1/ext/string_conversions.h(43),
                 from /usr/include/c++/13.2.1/bits/basic_string.h(4097),
                 from /usr/include/c++/13.2.1/string(54),
                 from /usr/include/c++/13.2.1/bits/locale_classes.h(40),
                 from /usr/include/c++/13.2.1/bits/ios_base.h(41),
                 from /usr/include/c++/13.2.1/ios(44),
                 from /usr/include/c++/13.2.1/ostream(40),
                 from /usr/include/c++/13.2.1/iostream(41),
                 from sites.cpp(2):
/usr/include/stdlib.h(311): error: identifier "_Float128" is undefined
                        _Float128 __f)
                        ^

In file included from /usr/include/c++/13.2.1/cstdlib(79),
                 from /usr/include/c++/13.2.1/ext/string_conversions.h(43),
                 from /usr/include/c++/13.2.1/bits/basic_string.h(4097),
                 from /usr/include/c++/13.2.1/string(54),
                 from /usr/include/c++/13.2.1/bits/locale_classes.h(40),
                 from /usr/include/c++/13.2.1/bits/ios_base.h(41),
                 from /usr/include/c++/13.2.1/ios(44),
                 from /usr/include/c++/13.2.1/ostream(40),
                 from /usr/include/c++/13.2.1/iostream(41),
                 from sites.cpp(2):
/usr/include/stdlib.h(317): error: identifier "_Float32x" is undefined
                        _Float32x __f)
                        ^

In file included from /usr/include/c++/13.2.1/cstdlib(79),
                 from /usr/include/c++/13.2.1/ext/string_conversions.h(43),
                 from /usr/include/c++/13.2.1/bits/basic_string.h(4097),
                 from /usr/include/c++/13.2.1/string(54),
                 from /usr/include/c++/13.2.1/bits/locale_classes.h(40),
                 from /usr/include/c++/13.2.1/bits/ios_base.h(41),
                 from /usr/include/c++/13.2.1/ios(44),
                 from /usr/include/c++/13.2.1/ostream(40),
                 from /usr/include/c++/13.2.1/iostream(41),
                 from sites.cpp(2):
/usr/include/stdlib.h(323): error: identifier "_Float64x" is undefined
                        _Float64x __f)
                        ^

In file included from /usr/include/c++/13.2.1/cstdlib(79),
                 from /usr/include/c++/13.2.1/ext/string_conversions.h(43),
                 from /usr/include/c++/13.2.1/bits/basic_string.h(4097),
                 from /usr/include/c++/13.2.1/string(54),
                 from /usr/include/c++/13.2.1/bits/locale_classes.h(40),
                 from /usr/include/c++/13.2.1/bits/ios_base.h(41),
                 from /usr/include/c++/13.2.1/ios(44),
                 from /usr/include/c++/13.2.1/ostream(40),
                 from /usr/include/c++/13.2.1/iostream(41),
                 from sites.cpp(2):
/usr/include/stdlib.h(436): error: identifier "_Float32" is undefined
  extern _Float32 strtof32_l (const char *__restrict __nptr,
         ^

In file included from /usr/include/c++/13.2.1/cstdlib(79),
                 from /usr/include/c++/13.2.1/ext/string_conversions.h(43),
                 from /usr/include/c++/13.2.1/bits/basic_string.h(4097),
                 from /usr/include/c++/13.2.1/string(54),
                 from /usr/include/c++/13.2.1/bits/locale_classes.h(40),
                 from /usr/include/c++/13.2.1/bits/ios_base.h(41),
                 from /usr/include/c++/13.2.1/ios(44),
                 from /usr/include/c++/13.2.1/ostream(40),
                 from /usr/include/c++/13.2.1/iostream(41),
                 from sites.cpp(2):
/usr/include/stdlib.h(443): error: identifier "_Float64" is undefined
  extern _Float64 strtof64_l (const char *__restrict __nptr,
         ^

In file included from /usr/include/c++/13.2.1/cstdlib(79),
                 from /usr/include/c++/13.2.1/ext/string_conversions.h(43),
                 from /usr/include/c++/13.2.1/bits/basic_string.h(4097),
                 from /usr/include/c++/13.2.1/string(54),
                 from /usr/include/c++/13.2.1/bits/locale_classes.h(40),
                 from /usr/include/c++/13.2.1/bits/ios_base.h(41),
                 from /usr/include/c++/13.2.1/ios(44),
                 from /usr/include/c++/13.2.1/ostream(40),
                 from /usr/include/c++/13.2.1/iostream(41),
                 from sites.cpp(2):
/usr/include/stdlib.h(450): error: identifier "_Float128" is undefined
  extern _Float128 strtof128_l (const char *__restrict __nptr,
         ^

In file included from /usr/include/c++/13.2.1/cstdlib(79),
                 from /usr/include/c++/13.2.1/ext/string_conversions.h(43),
                 from /usr/include/c++/13.2.1/bits/basic_string.h(4097),
                 from /usr/include/c++/13.2.1/string(54),
                 from /usr/include/c++/13.2.1/bits/locale_classes.h(40),
                 from /usr/include/c++/13.2.1/bits/ios_base.h(41),
                 from /usr/include/c++/13.2.1/ios(44),
                 from /usr/include/c++/13.2.1/ostream(40),
                 from /usr/include/c++/13.2.1/iostream(41),
                 from sites.cpp(2):
/usr/include/stdlib.h(457): error: identifier "_Float32x" is undefined
  extern _Float32x strtof32x_l (const char *__restrict __nptr,
         ^

In file included from /usr/include/c++/13.2.1/cstdlib(79),
                 from /usr/include/c++/13.2.1/ext/string_conversions.h(43),
                 from /usr/include/c++/13.2.1/bits/basic_string.h(4097),
                 from /usr/include/c++/13.2.1/string(54),
                 from /usr/include/c++/13.2.1/bits/locale_classes.h(40),
                 from /usr/include/c++/13.2.1/bits/ios_base.h(41),
                 from /usr/include/c++/13.2.1/ios(44),
                 from /usr/include/c++/13.2.1/ostream(40),
                 from /usr/include/c++/13.2.1/iostream(41),
                 from sites.cpp(2):
/usr/include/stdlib.h(464): error: identifier "_Float64x" is undefined
  extern _Float64x strtof64x_l (const char *__restrict __nptr,
         ^

In file included from /usr/include/c++/13.2.1/cstdlib(81),
                 from /usr/include/c++/13.2.1/ext/string_conversions.h(43),
                 from /usr/include/c++/13.2.1/bits/basic_string.h(4097),
                 from /usr/include/c++/13.2.1/string(54),
                 from /usr/include/c++/13.2.1/bits/locale_classes.h(40),
                 from /usr/include/c++/13.2.1/bits/ios_base.h(41),
                 from /usr/include/c++/13.2.1/ios(44),
                 from /usr/include/c++/13.2.1/ostream(40),
                 from /usr/include/c++/13.2.1/iostream(41),
                 from sites.cpp(2):
/usr/include/c++/13.2.1/bits/std_abs.h(142): error: identifier "__builtin_fabsf128" is undefined
      return __builtin_fabsf128(__x);
             ^

compilation aborted for sites.cpp (code 2)
make[3]: *** [makefile:31:sites.o] 错误 2
make[3]: 离开目录“/home/lee/soft/vasp.6.3.2/build/std/parser”
make[2]: *** [makefile:12:all] 错误 2
make[2]: 离开目录“/home/lee/soft/vasp.6.3.2/build/std/parser”
make[1]: *** [makefile:145:parser] 错误 2
make[1]: 离开目录“/home/lee/soft/vasp.6.3.2/build/std”
make: *** [makefile:17:std] 错误 2



4

帖子

0

威望

33

eV
积分
37

Level 2 能力者

2#
发表于 Post on 2024-5-17 10:52:42 | 只看该作者 Only view this author
本帖最后由 zhaohs 于 2024-5-17 10:53 编辑

See here for the related discussion.



本版积分规则 Credits rule

手机版 Mobile version|北京科音自然科学研究中心 Beijing Kein Research Center for Natural Sciences|京公网安备 11010502035419号|计算化学公社 — 北京科音旗下高水平计算化学交流论坛 ( 京ICP备14038949号-1 )|网站地图

GMT+8, 2024-11-24 14:12 , Processed in 0.383506 second(s), 28 queries , Gzip On.

快速回复 返回顶部 返回列表 Return to list