|
[Sponsors] |
January 21, 2009, 23:44 |
I've installed 1.5 on my syste
|
#1 |
Member
Scott Ripplinger
Join Date: Mar 2009
Posts: 30
Rep Power: 17 |
I've installed 1.5 on my system (Ubuntu 8.04). When trying to source the 1.5.x bashrc file I get several messages saying that files are missing, all of them from a $HOME/OpenFOAM/OpenFOAM-dev directory. The 1.5.x files were all obtained through the git repository as per the instructions on the main website. Why is it looking for files in this directory?
|
|
January 22, 2009, 05:04 |
This looks like a minor error
|
#2 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
This looks like a minor error in the patches sent to the git update (ie, not your fault).
You have two possible ways to get it working: 1) In the first few lines of the bashrc file, simply uncomment the following line: Old: # export WM_PROJECT_VERSION=1.5.x New: export WM_PROJECT_VERSION=1.5.x 2) As an alternative, you can also simply set export WM_PROJECT_VERSION=1.5.x *before* sourcing the bashrc file. You might even find this preferrable. Note that the bashrc file also respects the setting of the FOAM_INST_DIR environment variable. You could thus write something like this for a relocatable and failsafe method of sourcing the OpenFOAM files: # point to the base of all the OpenFOAM versions: export FOAM_INST_DIR=$HOME/OpenFOAM # locate the newest (best?) OpenFOAM for version in 1.5.x 1.5 do foamrc=$FOAM_INST_DIR/OpenFOAM-$version/etc/bashrc if [ -r "$foamrc" ] then export WM_PROJECT_VERSION=$version . $foamrc break fi done |
|
January 22, 2009, 12:36 |
Thanks! I went with the first
|
#3 |
Member
Scott Ripplinger
Join Date: Mar 2009
Posts: 30
Rep Power: 17 |
Thanks! I went with the first option there and it seems to have worked fine. Hopefully I don't have any issues compiling now ;)
|
|
January 22, 2009, 19:04 |
I tried to compile 1.5.x today
|
#4 |
Member
Scott Ripplinger
Join Date: Mar 2009
Posts: 30
Rep Power: 17 |
I tried to compile 1.5.x today using Allwmake. This was unsuccessful. The original compile took several hours, but I don't seem to have any solvers or utilities available. I tried compiling again and recorded the output into a log. I've uploaded the log to rapidshare at:
http://rapidshare.com/files/187910101/make.log.html I'm really baffled here and I'm starting to wonder if my system isn't set up right, or if the git update is still screwy. |
|
January 22, 2009, 21:23 |
Here is a hint from your logfi
|
#5 |
Senior Member
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 22 |
Here is a hint from your logfile:
/bin/sh: flex: not found Martin |
|
April 7, 2009, 15:06 |
|
#6 |
New Member
Bill Rosemurgy
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 20
Rep Power: 17 |
I'm having trouble with the git repository as well, not sure if its the same problem as Scott or not.
/Volumes/openFOAM/OpenFOAM-1.5.x -> git pull Updating ac96a58..e08258f error: Entry 'etc/bashrc' not uptodate. Cannot merge. Any suggestions? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDS trouble | Jenny | FLUENT | 0 | July 7, 2008 04:27 |
UDS trouble | Jenny | FLUENT | 0 | July 6, 2008 05:09 |
Bashrc for PS3 Fedora 6 and IBM sdk 21 | mgarcia | OpenFOAM Installation | 0 | November 2, 2007 14:24 |
How to compile OpenFOAM from scratch bashrc and cshrc | danieltourde | OpenFOAM Installation | 2 | December 15, 2006 10:30 |
udf trouble | Eric | FLUENT | 1 | July 6, 2004 15:49 |