|
[Sponsors] |
January 30, 2009, 11:09 |
Hi,
I'm really new to Linux
|
#1 |
New Member
Chris Davies
Join Date: Mar 2009
Posts: 4
Rep Power: 17 |
Hi,
I'm really new to Linux and I have been trying to compile the GIT version (on OpenSUSE v11.0 x64) I have installed the binary version to check it all works – The tutorial and paraView run fine I then download the GIT version using the command: git clone git://repo.or.cz/OpenFOAM-1.5.x.git Then place the OpenFOAM-1.5.x directory into my /home/chris/OpenFOAM directory Change the entry in $HOME/.bashrc From . $HOME/OpenFOAM/OpenFOAM-1.5/etc/bashrc To . $HOME/OpenFOAM/OpenFOAM-1.5.x/etc/bashrc Update the update the environment variables using: . $HOME/.bashrc At this point there is no error and the shell prompt appears (although it does not create a chris-1.5.x directory like it does for the binary install – I'm not sure if it is supposed to) After a machine restart – upon opening the terminal I get the following errors before the prompt. bash: /home/chris/OpenFOAM/OpenFOAM-dev/bin/foamCleanPath: No such file or directory bash: /home/chris/OpenFOAM/OpenFOAM-dev/bin/foamCleanPath: No such file or directory bash: /home/chris/OpenFOAM/OpenFOAM-dev/bin/foamCleanPath: No such file or directory bash: /home/chris/OpenFOAM/OpenFOAM-dev/etc/settings.sh: No such file or directory bash: /home/chris/OpenFOAM/OpenFOAM-dev/etc/aliases.sh: No such file or directory bash: /home/chris/OpenFOAM/OpenFOAM-dev/etc/apps/paraview3/bashrc: No such file or directory bash: /home/chris/OpenFOAM/OpenFOAM-dev/etc/apps/cint/bashrc: No such file or directory bash: /home/chris/OpenFOAM/OpenFOAM-dev/bin/foamCleanPath: No such file or directory bash: /home/chris/OpenFOAM/OpenFOAM-dev/bin/foamCleanPath: No such file or directory bash: /home/chris/OpenFOAM/OpenFOAM-dev/bin/foamCleanPath: No such file or directory I have tried running the ./Allwmake script (which compiles ok) before restarting – but it still gives the same terminal error after a restart and non of the OpenFOAM commands work Thanks in advance for any help |
|
January 30, 2009, 11:37 |
In the etc/bashrc file, remove
|
#2 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40 |
In the etc/bashrc file, remove the '#' comment character so the line reads:
export WM_PROJECT_VERSION=1.5.x Alternatively, export this before sourcing the file. Maybe you should submit a bug report. |
|
January 30, 2009, 12:25 |
Yep, thanks a lot
I uncomme
|
#3 |
New Member
Chris Davies
Join Date: Mar 2009
Posts: 4
Rep Power: 17 |
Yep, thanks a lot
I uncommented it and updated the variables and that seems to have solved the problem. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compile problems on ubuntu 810 with gcc432 | deepblue17 | OpenFOAM Bugs | 10 | March 2, 2009 07:32 |
Star-CCM+ running in openSUSE | Thiago | Siemens | 6 | January 20, 2009 09:23 |
Problems while compiling OpenFOAM15 with OpenSuse 103 | coompressor | OpenFOAM Installation | 3 | November 7, 2008 00:57 |
Fluent does not work on openSUSE 11.0 | Stanislav Sviderek | FLUENT | 1 | July 28, 2008 17:21 |
OpenSuSE maybe OT | alberto | OpenFOAM | 13 | December 13, 2006 07:54 |