- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to compile the latest version of a large code, Vasp 6.5.0. The installation tools include a makefile for compiling with the oneapi compiler of which I have 2025.0.4 installed. The ipx compiler seems to fail to open up a standard c library header and based upon the link below, the problem would seem to be with a mismatch between the gcc and oneapi installations. Any suggestions as to what to try next?
referenced Intel link
icx -D YY_parse_DEBUG=1 -c lex.yy.c -o lex.yy.o
locproj.l:2:10: fatal error: 'iostream' file not found
2 | #include <iostream>
| ^~~~~~~~~~
My current gcc and g++ installation(s) are below:
yum list installed | grep -i gcc-c++
gcc-c++.x86_64 11.5.0-2.el9 @appstream
gcc-toolset-12-gcc-c++.x86_64 12.2.1-7.7.el9_4 @appstream
gcc-toolset-13-gcc-c++.x86_64 13.3.1-2.1.el9_4 @appstream
paulfons@neutrino:/data/Software/Vasp/vasp.6.5.0>yum list installed | grep -i gcc
gcc.x86_64 11.5.0-2.el9 @appstream
gcc-c++.x86_64 11.5.0-2.el9 @appstream
gcc-gfortran.x86_64 11.5.0-2.el9 @appstream
gcc-plugin-annobin.x86_64 11.5.0-2.el9 @appstream
gcc-toolset-12-binutils.x86_64 2.38-19.el9 @appstream
gcc-toolset-12-binutils-gold.x86_64 2.38-19.el9 @appstream
gcc-toolset-12-gcc.x86_64 12.2.1-7.7.el9_4 @appstream
gcc-toolset-12-gcc-c++.x86_64 12.2.1-7.7.el9_4 @appstream
gcc-toolset-12-libstdc++-devel.x86_64 12.2.1-7.7.el9_4 @appstream
gcc-toolset-12-runtime.x86_64 12.0-6.el9 @appstream
gcc-toolset-13-binutils.x86_64 2.40-21.el9 @appstream
gcc-toolset-13-binutils-gold.x86_64 2.40-21.el9 @appstream
gcc-toolset-13-gcc.x86_64 13.3.1-2.1.el9_4 @appstream
gcc-toolset-13-gcc-c++.x86_64 13.3.1-2.1.el9_4 @appstream
gcc-toolset-13-libstdc++-devel.x86_64 13.3.1-2.1.el9_4 @appstream
gcc-toolset-13-runtime.x86_64 13.0-2.el9 @appstream
libgcc.x86_64 11.5.0-2.el9
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @paul312,
<iostream> is a header file that is part of the C++ standard library so using icpx instead of icx might help here.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page