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

OpenFOAM-1.6.x on 64 bit machine

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 9, 2010, 16:42
Default OpenFOAM-1.6.x on 64 bit machine
  #1
New Member
 
Kyungrock Kim
Join Date: Jun 2009
Posts: 20
Rep Power: 9
Kr_kim is on a distinguished road
Dear Formers

git version for OpenFOAM-1.6.x is compiled successfully in 32 bit version
However, It's not compiled on 64 bit machine. I just followed the procedure below
http://openfoamwiki.net/index.php/Howto_install_OpenFOAM-1.6.x_(git_repository_version)

But I got a error below at the last step, ./Allwmake in OpenFOAM-1.6.x


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

Do you have any idea for this problem?

Thanks in advance

Kyungrock
Kr_kim is offline   Reply With Quote

Old   February 11, 2010, 07:28
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,658
Blog Entries: 39
Rep Power: 99
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Kyungrock,

Please run the following command:
Code:
echo $WM_PROJECT_DIR
It will either output nothing or it will output a path that is different than the one your running ./Allwmake from. Usually $WM_PROJECT_DIR is $HOME/OpenFOAM/OpenFOAM-1.6.x for OpenFOAM-1.6.x ...

So, in can it does output something and is different from your installed path, then you can either edit the OpenFOAM-1.6.x/etc/bashrc script and adapt to your installation settings, or vice-versa, i.e., move or symbolically link your current set-up to the folder hierarchy defined in the bashrc script.

If the echo outputs nothing, than something is very wrong... because if you managed to build properly the ThirdParty tools, then how is it not allowing the building of OpenFOAM?

Best regards,
Bruno Santos
wyldckat is offline   Reply With Quote

Old   February 12, 2010, 12:04
Default
  #3
Member
 
Join Date: Jun 2009
Location: Germany
Posts: 38
Rep Power: 9
suitup is on a distinguished road
or just try the script from Mads, can be found here http://www.cfd-online.com/Forums/ope...-cookbook.html

should be the easiest way

good luck
suitup is offline   Reply With Quote

Old   February 12, 2010, 14:55
Default
  #4
New Member
 
Kyungrock Kim
Join Date: Jun 2009
Posts: 20
Rep Power: 9
Kr_kim is on a distinguished road
Thanks for the reply.

my output is /storage/kkim/OpenFOAM/OpenFOAM-1.6.x

It looks strange.

Best wishes

Kyungrock
Kr_kim is offline   Reply With Quote

Old   February 12, 2010, 14:56
Default
  #5
New Member
 
Kyungrock Kim
Join Date: Jun 2009
Posts: 20
Rep Power: 9
Kr_kim is on a distinguished road
Hi

In redhat linux case, will that way be availabe?

Thanks

Kyungrock
Kr_kim is offline   Reply With Quote

Old   August 22, 2016, 08:14
Default similar problem
  #6
New Member
 
Jenna Vergeynst
Join Date: Aug 2016
Posts: 2
Rep Power: 0
jenna is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Greetings Kyungrock,

Please run the following command:
Code:
echo $WM_PROJECT_DIR
It will either output nothing or it will output a path that is different than the one your running ./Allwmake from. Usually $WM_PROJECT_DIR is $HOME/OpenFOAM/OpenFOAM-1.6.x for OpenFOAM-1.6.x ...

So, in can it does output something and is different from your installed path, then you can either edit the OpenFOAM-1.6.x/etc/bashrc script and adapt to your installation settings, or vice-versa, i.e., move or symbolically link your current set-up to the folder hierarchy defined in the bashrc script.

If the echo outputs nothing, than something is very wrong... because if you managed to build properly the ThirdParty tools, then how is it not allowing the building of OpenFOAM?

Best regards,
Bruno Santos
Hi,

I've got the same error message with OpenFOAM-2.2.2 on Mac Ox X El Capitan, when sourcing the bashrc file. I think I built the ThirdParty tools, but echo outputs nothing in my case...

Any idea?
Thanks,

Jenna
jenna is offline   Reply With Quote

Old   August 24, 2016, 20:52
Default
  #7
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,658
Blog Entries: 39
Rep Power: 99
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Quote:
Originally Posted by jenna View Post
I've got the same error message with OpenFOAM-2.2.2 on Mac Ox X El Capitan, when sourcing the bashrc file. I think I built the ThirdParty tools, but echo outputs nothing in my case...
Quick questions:
  1. Which installation instructions are you following?
  2. What is the full path to where you have OpenFOAM's source code?
  3. What commands are you using for sourcing OpenFOAM's "etc/bashrc" file?
__________________
wyldckat is offline   Reply With Quote

Old   August 25, 2016, 02:40
Default
  #8
New Member
 
Jenna Vergeynst
Join Date: Aug 2016
Posts: 2
Rep Power: 0
jenna is on a distinguished road
1. Installation instructions: https://openfoamwiki.net/index.php/I...OpenFOAM_2.2.2
2. I had to create a sparse-image which is in my homefolder, and then created a symlink to this sparse-image, where I put the dowloaded source code.
3. Sourcing the bash/file was given to be following command:
. etc/bashrc
jenna 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
OpenFOAM 1.6.x - CentOS 5.3 x86_64 linnemann OpenFOAM Installation 68 April 22, 2013 11:03
OpenFOAM-1.6 install cookbook MadsR OpenFOAM Installation 372 November 20, 2010 12:57
Random machine freezes when running several OpenFoam jobs simultaneously 2bias OpenFOAM Installation 5 July 2, 2010 07:40
OpenFOAM 1.6 virtual machine mahaputra OpenFOAM Installation 4 October 30, 2009 04:01
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25


All times are GMT -4. The time now is 20:32.