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

Error in the path definition?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 2, 2009, 06:24
Default Error in the path definition?
  #1
New Member
 
Robert
Join Date: May 2009
Posts: 15
Rep Power: 8
ral007 is on a distinguished road
I have managed to install the base configuration ok (OFv1.5 on Ubuntu 9.04).
However, the installation test comes back with one critical error in the path definition of icoFoam.

icoFoam
WARNING: Conflicting installations:
OpenFOAM settings : /home/rlee/OpenFOAM/OpenFOAM-1.5/applications/bin/linuxGccSPOpt/icoFoam
current path : /home/rlee/OpenFOAM/rlee-1.5/applications/bin/linuxGccSPOpt/icoFoam
CRITICAL ERROR

Can someone point me to the right direction to look ?... I am getting confused with the various directories in the OpenFOAM directory structure.
ral007 is offline   Reply With Quote

Old   May 3, 2009, 11:48
Default Never mind... I think I found it.
  #2
New Member
 
Robert
Join Date: May 2009
Posts: 15
Rep Power: 8
ral007 is on a distinguished road
To install applications to my own dir, simply set the env variable FOAM_APPBIN to the same place as $FOAM_USER_APPBIN and the critical error from foamInstallationTest goes away. Is this correct?... If so, why not put a comment in the settings.sh for new installers?... Take it as just a suggestion from a new user.
ral007 is offline   Reply With Quote

Old   May 4, 2009, 03:21
Default
  #3
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 9
gwierink is on a distinguished road
Hi Robert,

If you want to compile your own applications you can copy the relevant tutorial to your ~/OpenFOAM/<your_user_name-1.5>/applications and change "FOAM_APPBIN" into "FOAM_USER_APPBIN" in icoFoam/Make/files. There you can also change the name of the solver if you like. Then, compile the solver with wmake (with first wclean, if you need to). Is this what you mean?

Regards,

Gijsbert
gwierink is offline   Reply With Quote

Old   May 4, 2009, 22:52
Cool I figured it out...
  #4
New Member
 
Robert
Join Date: May 2009
Posts: 15
Rep Power: 8
ral007 is on a distinguished road
Thanks for replying.

Yes, I have compiled my the code to my own user directory.
I have recompiled the source code. I have also downloaded Qt and recompiled paraView. However, as I read the user document, I can just translate the output data to vtk and use the standard paraview distribution.
It took a weekend to figure it all out, and it was a good learning experience. Now I can play with the cases, and develop my own applications. This is where the fun begins...

Cheers !...
ral007 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
path lines seeta FLUENT 1 September 4, 2011 01:07
how to draw the path line in 3D? qing hao FLUENT 1 October 8, 2010 16:01
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
One critical error while compiling lam711 billpeace OpenFOAM Installation 0 October 30, 2006 05:41
Different PATH and OpenFOAM 11 ds2taieb OpenFOAM Installation 0 January 25, 2006 14:15


All times are GMT -4. The time now is 23:24.