- Contrassegnare come Nuovo
- Preferito
- Iscriversi
- Disattiva notifiche
- Iscriversi a feed RSS
- Evidenziare
- Stampare
- Segnalare contenuto inappropriato
Hey everybody, I am using Ubuntu on a 32 bit system. I just got all the way through the install of the Compiler 11.1.072. Whenever I try to use ifort, i get the message
ifort: command not found
from what I have read I need to be in root, then open up .bashrc and attach a PATH at the end of the file. However I can't get it right.
Any help would be greatly appreciated. Thanks everyone
ifort: command not found
from what I have read I need to be in root, then open up .bashrc and attach a PATH at the end of the file. However I can't get it right.
Any help would be greatly appreciated. Thanks everyone
Link copiato
2 Risposte
- Contrassegnare come Nuovo
- Preferito
- Iscriversi
- Disattiva notifiche
- Iscriversi a feed RSS
- Evidenziare
- Stampare
- Segnalare contenuto inappropriato
You don't need to become root ---just make sure that the compiler's directory (usually, /opt/intel) can be accessed by everyone:
[bash]$ sudo chown -R root:root /opt/intel && sudo chmod -R a+rX /opt/intel[/bash]
After that, simply add the following at the bottom of your ~/.bashrc file:
[bash]. /opt/intel/Compiler/11.1/072/bin/ifortvars.sh ia32[/bash]Close and reopen the (gnome-)terminal and you're good to go.
- Contrassegnare come Nuovo
- Preferito
- Iscriversi
- Disattiva notifiche
- Iscriversi a feed RSS
- Evidenziare
- Stampare
- Segnalare contenuto inappropriato
so i type the first 1 into terminal and the 2nd into .bashrc
Thanks, it worked perfectly
Thanks, it worked perfectly
Rispondere
Opzioni discussione
- Iscriversi a feed RSS
- Contrassegnare la discussione come nuova
- Contrassegnare la discussione come letta
- Sposta questo Discussione per l'utente corrente
- Preferito
- Iscriversi
- Pagina in versione di stampa