CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation

GIT Compile of 15x on OpenSUSE 11 problems

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   January 30, 2009, 12:09
Default Hi, I'm really new to Linux
  #1
New Member
 
Chris Davies
Join Date: Mar 2009
Posts: 4
Rep Power: 8
chrisd is on a distinguished road
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
chrisd is offline   Reply With Quote

Old   January 30, 2009, 12:37
Default In the etc/bashrc file, remove
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: http://olesenm.github.io/
Posts: 777
Rep Power: 18
olesen will become famous soon enough
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.
olesen is offline   Reply With Quote

Old   January 30, 2009, 13:25
Default Yep, thanks a lot I uncomme
  #3
New Member
 
Chris Davies
Join Date: Mar 2009
Posts: 4
Rep Power: 8
chrisd is on a distinguished road
Yep, thanks a lot

I uncommented it and updated the variables and that seems to have solved the problem.
chrisd is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile problems on ubuntu 810 with gcc432 deepblue17 OpenFOAM Bugs 10 March 2, 2009 08:32
Star-CCM+ running in openSUSE Thiago CD-adapco 6 January 20, 2009 10:23
Problems while compiling OpenFOAM15 with OpenSuse 103 coompressor OpenFOAM Installation 3 November 7, 2008 01: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 08:54


All times are GMT -4. The time now is 13:25.