CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Dear All (https://www.cfd-online.com/Forums/openfoam-installation/79674-dear-all.html)

kurne August 31, 2010 03:23

Dear All
 
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.

val46 August 31, 2010 04:01

Hi,

what linux distribution do you have?

What happens if you type

Code:

cd $WM_PROJECT_DIR

Regards,
Toni

wyldckat August 31, 2010 06:53

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

kurne September 1, 2010 00:19

OPEN FOAM INSTALlATION
 
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

gwierink September 1, 2010 05:26

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?

val46 September 1, 2010 05:28

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

kurne September 1, 2010 14:01

Oepn foam installation
 
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 September 1, 2010 14:09

Oepn foam installation
 
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

wyldckat September 1, 2010 17:36

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


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