- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am trying to compile a Hello world code using openAPI on Ubuntu
My compile line is:
icpx -std=c++14 -qopenmp -qmkl=parallel HelloWorld.cpp -o a.out -liomp5 -lpthread -lm -ldl
I get the following error:
HelloWorld.cpp:5:10: fatal error: 'iostream' file not found
#include <iostream>
1 error generated.
g++ --version
g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Any pointers to what would be the reason?
Thanks
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page