- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am tring to run ifortvars.csh script i am getting this error i am not unable to run this command ifort
can any one please help me.
/opt/intel/Compiler/11.1/069/bin/ifortvars.csh intel64
/opt/intel/Compiler/11.1/069/bin/ifortvars.csh: line 10: syntax error near unexpected token `"$1"'
can any one please help me.
/opt/intel/Compiler/11.1/069/bin/ifortvars.csh intel64
/opt/intel/Compiler/11.1/069/bin/ifortvars.csh: line 10: syntax error near unexpected token `"$1"'
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your shell may not be cshell.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You also need "source" at the beginning of the line. See your other thread.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can confirm your shell with:
echo $0
and then if it is csh or tcsh, use this:
source ..../ifortvars.csh intel64
if bash, then
source ..../ifortvars.sh intel64
And you know that "...." is shorthand for your full path - use the full path, not 4 dots.
echo $0
and then if it is csh or tcsh, use this:
source ..../ifortvars.csh intel64
if bash, then
source ..../ifortvars.sh intel64
And you know that "...." is shorthand for your full path - use the full path, not 4 dots.
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