|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
MT
Join Date: Mar 2010
Location: USA
Posts: 20
Rep Power: 5 ![]() |
I am currently running OpenFOAM on a Fedora 12 64-bit computer in a remote location I followed the instructions and inputted the following:
. $HOME/OpenFOAM/OpenFOAM-1.6/etc/bashrc and then: . $HOME/.bashrc I can run OpenFOAM fine when i am physically on the remote computer but once i go off-site and try to get into it using the NX Client the desktop appears black. So; after many hours... I deleted the line . $HOME/OpenFOAM/OpenFOAM-1.6/etc/bashrc from the .bashrc file and then . $HOME/.bashrc miraculously afterward i used the NX Client and it connected right to the desktop. But i can't run the code ![]() Is there a work around for using this OpenFOAM bashrc file?? MT |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: Denmark
Posts: 383
Rep Power: 10 ![]() |
Hi
You could try creating an alias for OF in your $HOME/.bashrc file like so Code:
alias OF=". $HOME/OpenFOAM/OpenFOAM-1.6/etc/bashrc"
__________________
Linnemann |
|
|
|
|
|
|
|
|
#3 |
|
New Member
MT
Join Date: Mar 2010
Location: USA
Posts: 20
Rep Power: 5 ![]() |
Do i have to run: . $HOME/.bashrc after i call OF in the terminal?
|
|
|
|
|
|
|
|
|
#4 |
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,306
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
Hello again MechE,
The script $HOME/.bashrc is always called when you start a new terminal/console. Now, if you have changed the script and want the changes to be applied, then you can either:
![]() If it does goes dark again, then it's really weird! The only justification I can think of would be if you were running a single remote terminal without X windows (Gnome, KDE, etc...). The other idea, is if it goes black right after you launch Paraview/paraFoam... Keep us posted on new developments ![]() Best regards, Bruno |
|
|
|
|
|
|
|
|
#5 |
|
New Member
MT
Join Date: Mar 2010
Location: USA
Posts: 20
Rep Power: 5 ![]() |
Thank you very much for your help... I am now up and running!!
MT |
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|