- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
When I execute ictvars.sh (and consequently his friends) I see that the same path is added many times. For example:
CPATH=/opt/intel/composerxe-2011.0.084/mkl/include:/opt/intel/composerxe-2011.0.084/mkl/include:/opt/intel/composerxe-2011.0.084/mkl/include
or
LIBRARY_PATH=/opt/intel/composerxe-2011.0.084/compiler/lib/intel64:/opt/intel/composerxe-2011.0.084/mkl/lib/intel64:/opt/intel/composerxe-2011.0.084/compiler/lib/intel64:/opt/intel/composerxe-2011.0.084/compiler/lib/intel64:/opt/intel/composerxe-2011.0.084/mkl/lib/intel64:/opt/intel/composerxe-2011.0.084/compiler/lib/intel64:/opt/intel/composerxe-2011.0.084/compiler/lib/intel64:/opt/intel/composerxe-2011.0.084/mkl/lib/intel64
Is it a bug or a feature ? ;)
I'm writing module file to modify our cluster environment in order that the users don't have to use the ictvars.sh. So I would like to know if I have to had 3 times the same path for CPATH for example.
Best regards
When I execute ictvars.sh (and consequently his friends) I see that the same path is added many times. For example:
CPATH=/opt/intel/composerxe-2011.0.084/mkl/include:/opt/intel/composerxe-2011.0.084/mkl/include:/opt/intel/composerxe-2011.0.084/mkl/include
or
LIBRARY_PATH=/opt/intel/composerxe-2011.0.084/compiler/lib/intel64:/opt/intel/composerxe-2011.0.084/mkl/lib/intel64:/opt/intel/composerxe-2011.0.084/compiler/lib/intel64:/opt/intel/composerxe-2011.0.084/compiler/lib/intel64:/opt/intel/composerxe-2011.0.084/mkl/lib/intel64:/opt/intel/composerxe-2011.0.084/compiler/lib/intel64:/opt/intel/composerxe-2011.0.084/compiler/lib/intel64:/opt/intel/composerxe-2011.0.084/mkl/lib/intel64
Is it a bug or a feature ? ;)
I'm writing module file to modify our cluster environment in order that the users don't have to use the ictvars.sh. So I would like to know if I have to had 3 times the same path for CPATH for example.
Best regards
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Guillaume,
Of cause this is a feature! :-)
ictvars.sh just run a few other xxxvars.sh scripts for compilers, mkl, mpi and so on. And each of them can add the same directory to an environment variable. If you can create a script which will include one directory only once feel free to do it - it's not so difficult.
Having a module file is a good idea!
Regards!
Dmitry
Of cause this is a feature! :-)
ictvars.sh just run a few other xxxvars.sh scripts for compilers, mkl, mpi and so on. And each of them can add the same directory to an environment variable. If you can create a script which will include one directory only once feel free to do it - it's not so difficult.
Having a module file is a good idea!
Regards!
Dmitry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thx Dmitry!

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