- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using Intel Fortran Compiler, last version, on my Arch Linux x86_64.
After I installed, I did the command:
source /opt/intel/bin/compilervars.sh intel64
But always that I want to use the ifort, I have to do once before the source command
There's any way of not having to do this all the time I work with ifort?
Thanks!
After I installed, I did the command:
source /opt/intel/bin/compilervars.sh intel64
But always that I want to use the ifort, I have to do once before the source command
There's any way of not having to do this all the time I work with ifort?
Thanks!
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Put the source command in the .profile or .bash_profile file (whichever one you currently have) in your home directory. Then the command will be executed for you every time you login.
[Some ways of using X windows never open a login shell and thus never execute the commands in your .profile or .bash_profile file. If you run into this problem, you may have to use your .bashrc file instead. (The commands in the .bashrc file are executed for all shells, not just login shells, so using .bashrc imposes the cost of executing source command more often, but on most machines these days, that is not a major concern.)]
-Kurt
[Some ways of using X windows never open a login shell and thus never execute the commands in your .profile or .bash_profile file. If you run into this problem, you may have to use your .bashrc file instead. (The commands in the .bashrc file are executed for all shells, not just login shells, so using .bashrc imposes the cost of executing source command more often, but on most machines these days, that is not a major concern.)]
-Kurt

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