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

Dear All

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 31, 2010, 03:23
Default Dear All
  #1
Member
 
Kurne
Join Date: Aug 2010
Location: Pune, INDIA
Posts: 88
Rep Power: 15
kurne is on a distinguished road
I am facing the problem with the installation of OpenFOAM 1.7.1. I have gone up to the step of extracting the file but I am unable to Setting environment variables.
I have gone through the procedure but i am getting the following error.

Error: Current directory is not $WM_PROJECT_DIR
The environment variable are not consistent with the installation.
Check the OpenFOAM entries in your dot-files and source them

Will anybody explain the procedure of Setting environment variables once to me(Step by Step) since i am not getting it.HELP ME PLEASE I AM TRYING FOR IT FROM A WEEK.
kurne is offline   Reply With Quote

Old   August 31, 2010, 04:01
Default
  #2
Member
 
Join Date: Nov 2009
Location: Germany
Posts: 96
Rep Power: 16
val46 is on a distinguished road
Hi,

what linux distribution do you have?

What happens if you type

Code:
cd $WM_PROJECT_DIR

Regards,
Toni
val46 is offline   Reply With Quote

Old   August 31, 2010, 06:53
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all! And kurne, welcome to the forum

In addition to Toni's question, I've got a few more questions:
  • What Linux distribution are you using? And is it 32 or 64bit?
  • In what folder did you install OpenFOAM? Was it "$HOME/OpenFOAM"? Does "$HOME/OpenFOAM" have the folders OpenFOAM-1.7.1 and ThirdParty-1.7.1?
  • What does it look like in the end of the file "$HOME/.bashrc"? I'm asking you this, because I don't if you've already tried to install any other version of OpenFOAM, and/or if the file "$HOME/.bashrc" is actually working well or not.
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   September 1, 2010, 00:19
Default OPEN FOAM INSTALlATION
  #4
Member
 
Kurne
Join Date: Aug 2010
Location: Pune, INDIA
Posts: 88
Rep Power: 15
kurne is on a distinguished road
Thanks a lot for replying Toni and Bruno.I am new to the open FOAM & Ubuntu too.I am trying to install with root login and I am unable understand the procedure of installation given in the OPENFOAM website.Now I am starting the new installation will anybody explain the procedure in other way to me.In the previuos installation i have done lot of mistake.

Best Regards,

Kurne
kurne is offline   Reply With Quote

Old   September 1, 2010, 05:26
Default
  #5
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
Hi Kurne,

In addition to the above, I think it is not a good idea to install OpenFOAM as root. It would be better to login as your own user.
Also, are you unpacking "standard packages" from OpenCFD or compiling?
__________________
Regards, Gijs
gwierink is offline   Reply With Quote

Old   September 1, 2010, 05:28
Default
  #6
Member
 
Join Date: Nov 2009
Location: Germany
Posts: 96
Rep Power: 16
val46 is on a distinguished road
Hi Kurne,

my guess is you are using Ubuntu 10.04.
For this version a step-by-step installation guide exists:

http://www.openfoam.com/download/ubuntu.php

If you have problems with it let us know at which point you get stuck.


Regards,
Toni
val46 is offline   Reply With Quote

Old   September 1, 2010, 14:01
Default Oepn foam installation
  #7
Member
 
Kurne
Join Date: Aug 2010
Location: Pune, INDIA
Posts: 88
Rep Power: 15
kurne is on a distinguished road
Thank You ALL
I have started new installation and I get up to the ./Allwmake.When I am running ./Allwmake I am getting the following error but installation is going on.

make: *** [/home/azim/OpenFOAM/OpenFOAM-1.7.1/lib/linuxGccDPOpt/libutilityFunctionObjects.so] Error 1

make: *** [/home/azim/OpenFOAM/OpenFOAM-1.7.1/lib/linuxGccDPOpt/libsystemCall.so] Error 1

make: *** [/home/azim/OpenFOAM/OpenFOAM-1.7.1/lib/linuxGccDPOpt/libconversion.so] Error 1

and So on.
How much it will take time to run the ./Allwmake my this run is running from the 1 hr and getting the above error.
Will it will create the problem when i am run the OpenFOAM .
Will anybody help me.

Best Regards
Kurne
kurne is offline   Reply With Quote

Old   September 1, 2010, 14:09
Default Oepn foam installation
  #8
Member
 
Kurne
Join Date: Aug 2010
Location: Pune, INDIA
Posts: 88
Rep Power: 15
kurne is on a distinguished road
Thank You ALL
I have started new installation and I get up to the ./Allwmake.When I am running ./Allwmake I am getting the following error but installation is going on.

make: *** [/home/azim/OpenFOAM/OpenFOAM-1.7.1/lib/linuxGccDPOpt/libutilityFunctionObjects.so] Error 1

make: *** [/home/azim/OpenFOAM/OpenFOAM-1.7.1/lib/linuxGccDPOpt/libsystemCall.so] Error 1

make: *** [/home/azim/OpenFOAM/OpenFOAM-1.7.1/lib/linuxGccDPOpt/libconversion.so] Error 1

and So on.
How much it will take time to run the ./Allwmake my this run is running from the 1 hr and getting the above error.
Will it will create the problem when i am run the OpenFOAM .
Will anybody help me.

Best Regards
Kurne
kurne is offline   Reply With Quote

Old   September 1, 2010, 17:36
Default
  #9
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Kurne,

OK, installing from source in Ubuntu, before you start compiling, you need to install the packages listed on this post: http://www.cfd-online.com/Forums/ope...tml#post268828

After that, it should be as simple as following the instructions in http://www.openfoam.com/download/source.php

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dear Professors -Trainning in CFD- under boycast scheme mani1496 Main CFD Forum 0 October 26, 2009 03:06
Dear Members Dr.K.Thiruvenkatasamy Main CFD Forum 1 June 23, 2007 12:52
Dear Jonas, it seems to me We have a small problem Michail CFD-Wiki 3 December 10, 2005 17:43
i want to find my dear friend ... kevin FLUENT 0 February 28, 2002 20:15
Find a my dear friend ..... kevin FLUENT 0 February 25, 2002 21:28


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