Hi forum,
I am new to Linux and I have a rather simple question. To be able to run the Intel Fortran Compiler (main reason for installing Linux for me) I need to run those commands in terminal each time I open the terminal (GNOME, openSUSE 11.0):
source /opt/intel/fce/10.1.015/bin/ifortvars.sh
source /opt/intel/idbe/10.1.015/bin/idbvars.sh
To speed up the process I wanted to created a script that would just source those two scripts and I thought something as simple as that would work:
#!/bin/bash
source /opt/intel/fce/10.1.015/bin/ifortvars.sh
source /opt/intel/idbe/10.1.015/bin/idbvars.sh
However, it does not work (those two scripts set the PATH and LD_LIBRARY_PATH).
My question thus is: how can I create a script/use any other method that would source those two scripts at startup?
Any help will be greatly appreciated,
Cheers,
Tomasz