- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I installed the Intel C++ compiler as root. When I try to use it to compile anything I get this error:
icc: internal error: error generating temporary file name, check disk space and permissions (shared/driver/hostutil.c, line 901)
The disk is not full, so I assume it is a permissions issue. Where do I need to change permissions?
icc: internal error: error generating temporary file name, check disk space and permissions (shared/driver/hostutil.c, line 901)
The disk is not full, so I assume it is a permissions issue. Where do I need to change permissions?
Link Copied
7 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
do you see the tmp or temp environment variable? if not, it's needed.
Jennifer
Jennifer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you please clarify your response? Are you asking me to SET an environment variable? Doesn't the iccvars script set all of the environment variables it needs?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
the "tmp" or "temp" are set by the OS. In most case they're there. But there're cases they're removed.
it's a guess that maybe the tmp|temp are not defined so the compiler error. if they're defined, it would besomething else.
Jennifer
it's a guess that maybe the tmp|temp are not defined so the compiler error. if they're defined, it would besomething else.
Jennifer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you are asking whether there is a directory called /tmp, then yes it is there and is world writable.
I tried to read between the lines in your previous post and set the environment variables as follows:
export TMP=/tmp
export TEMP=/tmp
export tmp=/tmp
export temp=/tmp
But I still got the same error message. Do you have any concrete suggestions for what else I might try?
I tried to read between the lines in your previous post and set the environment variables as follows:
export TMP=/tmp
export TEMP=/tmp
export tmp=/tmp
export temp=/tmp
But I still got the same error message. Do you have any concrete suggestions for what else I might try?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am sorry. I now see that the /tmp directory was actually not world writeable. Making it world writeable resolved the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
FYI.
we've filed a bug report regarding the "internal error". it should emit an error msg instead.
Thanks,
Jennifer
we've filed a bug report regarding the "internal error". it should emit an error msg instead.
Thanks,
Jennifer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This issue is fixedand it displaysplain old error message now instead of the compiler failing catastrophically.
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