- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi every one,
I have some problem with mkl libriries, I had some help from Tim (thank), but I am not able to work it out. I am totally new with bash file linking ecc..
So I start to read carefully the mkl installtion guide, and here I have some problem.
At the beginnig the guide says to:
Scripts to Set Environment Variables:
I run both:
intel64/mklvars_intel64.csh intel64
intel64/mklvars_intel64.sh intel64
but I have the folowing error:
[bash]/opt/intel/composerxe-2011.0.084/mkl/bin/mklvars.sh: 12: Bad substitution [/bash]is this a problem?
After that I would like to do this "Automating the Process of Setting Environment Variables"
I suppose that I have to change the bash.bashrc (ubuntu 11.04), how can I do?
Do I have to simpli copy and paste:
/opt/intel/composerxe-2011.0.084/mkl/bin/mklvars.sh $* intel64
thank you
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
this is what I have done:
in the bash.bashrc file I have put:
[bash]########################################################################################################## PATH="/opt/intel/composerxe-2011.0.084/mkl/bin/intel64$PATH" source /opt/intel/composerxe-2011.0.084/mkl/bin/mklvars.sh intel64 mod export PATH ##########################################################################################################[/bash]
I hope that it will work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, I have the same problem, so, did it work?
1 ##########################################################################################################
2 PATH="/opt/intel/composerxe-2011.0.084/mkl/bin/intel64$PATH"
3 source /opt/intel/composerxe-2011.0.084/mkl/bin/mklvars.sh intel64 mod
4 export PATH
5 #######################################################################################################
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
I thinks so. Now in my bash I put:
PATH="/opt/intel/bin/compilervars.sh intel64$PATH"
source /opt/intel/bin/compilervars.sh intel64
source /opt/intel/mkl/bin/mklvars.sh intel64 mod lp64
export PATH
it is simpler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You've got a typo there.
PATH="/opt/intel/composerxe-2011.0.084/mkl/bin/intel64:$PATH
but you shouldn't need that in addition to
source /opt/intel/bin/compilervars.sh intel64
as the compilervars sets mklvars as well.

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