|
[Sponsors] |
October 20, 2011, 07:32 |
OpenFOAM installation problem:
|
#1 |
New Member
y
Join Date: Oct 2011
Posts: 2
Rep Power: 0 |
Hi,
I m trying to install OpenFOAM2.0.X in Centos5.5_X86, I have followed these steps: 1) yum install gcc gcc-c++ bison ncurses-devel tix.x86_64 glibc-devel flex flex-devel zlib-devel libXt-devel 2) tar -xvf /opt/OpenFOAM/OpenFOAM-2.0.x.tar.gz 3)chmod -R 755 /opt/OpenFOAM 4) added this line in .bashrc file ( as non root user ) alias OF20=". /opt/OpenFOAM/OpenFOAM/OpenFOAM-2.0.x/etc/bashrc" 5). ~/.bashrc (restarted the terminal) 6) if run this command OF20 bash: /opt/software/OpenFOAM/OpenFOAM-2.0.x/bin/foamEtcFile: No such file or directory bash: /opt/software/OpenFOAM/OpenFOAM-2.0.x/bin/foamCleanPath: No such file or directory bash: /opt/software/OpenFOAM/OpenFOAM-2.0.x/bin/foamCleanPath: No such file or directory bash: /opt/software/OpenFOAM/OpenFOAM-2.0.x/bin/foamCleanPath: No such file or directory bash: /opt/software/OpenFOAM/OpenFOAM-2.0.x/etc/config/settings.sh: No such file or directory bash: /opt/software/OpenFOAM/OpenFOAM-2.0.x/etc/config/aliases.sh: No such file or directory bash: /opt/software/OpenFOAM/OpenFOAM-2.0.x/bin/foamEtcFile: No such file or directory bash: /opt/software/OpenFOAM/OpenFOAM-2.0.x/bin/foamEtcFile: No such file or directory bash: /opt/software/OpenFOAM/OpenFOAM-2.0.x/bin/foamCleanPath: No such file or directory bash: /opt/software/OpenFOAM/OpenFOAM-2.0.x/bin/foamCleanPath: No such file or directory bash: /opt/software/OpenFOAM/OpenFOAM-2.0.x/bin/foamCleanPath: No such file or directory 7) which gcc-> /usr/bin/gcc please help me in solving this issue. |
|
October 20, 2011, 09:41 |
|
#2 | ||
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
Hi
Quote:
Quote:
you have to edit the OF /etc/bashrc file to point to the correct path. Best
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|||
October 21, 2011, 02:52 |
OF
|
#3 |
New Member
y
Join Date: Oct 2011
Posts: 2
Rep Power: 0 |
HI,
Can you please tell me where i have to give the correct path in /etc/bashrc file, im confused and im doing this for the first time, I will be very greatful if you can help me on this, |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFoam 2.0.0 installation | Jan_Peters | OpenFOAM Installation | 86 | April 27, 2012 06:32 |
Openfoam installation problem | jose soto | OpenFOAM Installation | 4 | August 9, 2011 02:29 |
OpenFOAM 1.7.0 installation problem | stevek | OpenFOAM | 14 | December 1, 2010 16:30 |
Problem in installation of OpenFOAM | sachin | OpenFOAM Installation | 7 | January 22, 2008 02:40 |
Installation problem with GCC | Norma McKee (Mckee) | OpenFOAM Installation | 10 | March 4, 2007 08:09 |