- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello all!
I'm super sorry if this is a redundant question asked many times. But I would really be thankful for some guidance.
I recently installed parallel studio 2020 update 1 on my Mac running macOS Catalina 10.15. I have icc/icpc compiler errors such as
- /Library/Developer/CommandLineTools/usr/include/c++/v1/stdio.h(107): catastrophic error: cannot open source file "stdio.h"
I made sure to perform source /opt/intel/bin/compilervars.sh intel64 as soon as I installed it. I also deleted and reinstalled Xcode command line tools.
I am a little lost as to what I can do next and it would really go a long way if anyone has any inputs/guidance. Thanks in advance.
Best regards,
Sanath
- Tags:
- CC++
- Development Tools
- General Support
- Intel® C++ Compiler
- Intel® Parallel Studio XE
- Intel® System Studio
- Optimization
- Parallel Computing
- Vectorization
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have the same issue. But you can resolve it for now by explicitly providing the correct `dir` to be searched by `-Idir`:
icc -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include
icpc -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include
or
icc main.c -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
icpc main.cpp -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
Where you should have already installed the command line tools in macOS by:
xcode-select --install
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sanath,
Kindly, follow these links below:
Parallel Studio release notes for Mac OS: https://software.intel.com/content/www/us/en/develop/articles/intel-c-compiler-191-for-macos-release-notes-for-intel-parallel-studio-xe-2020.html
Getting started guide for Mac OS: https://software.intel.com/content/www/us/en/develop/documentation/get-started-with-cpp-compiler-for-macos/top.html
Let me know if it helps.
--Rahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Rahul,
Thanks for your quick reply.
I had already followed these instructions and I still have this problem. I am just trying to use the compiler from the command line. I have Xcode command line tools installed. And I sourced the compilervars.sh file too.
Best,
Sanath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is a subversion of macOS Catalina 10.15.# you have?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Viet Hoang,
Currently, I'm on macOS Catalina10.15.5. Please let me know if I can provide any further information for you!
Best,
Sanath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
macOS Catalina10.15.5 just released this month but IPSXE2020 Update 1 released back in April-1. If you still see the same issue with older macOS Catalina10.15 (ex. update 1), then let us know. Otherwise, it could be an issue with macOS Catalina10.15.5, because we couldn't validate this subversion with IPSXE2020 Update 1 at the time we released the compiler.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Viet Hoang,
Thanks for your quick reply. Unfortunately, I don't have the freedom to go back to the previous version of Catalina. In the meantime, all I can do is wait for the next IPSXE2020 Update and hope it solves the issue.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have the same issue. But you can resolve it for now by explicitly providing the correct `dir` to be searched by `-Idir`:
icc -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include
icpc -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include
or
icc main.c -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
icpc main.cpp -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
Where you should have already installed the command line tools in macOS by:
xcode-select --install
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi and thanks for your guidance, but when I enter the following command I face this on terminal:
icc: command line error: no files specified; for help type "icc -help"
and I don't have any idea what should I do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Source file was missing. e.g $icc -c helloworld.c -O3
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Let us know if this is still an issue. Otherwise, we will close it.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We will no longer respond to this thread.
If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only.
Thanks,
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page