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

[OpenFOAM.com] OpenFOAM-1.6.x on 64 bit machine

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

Reply
 
LinkBack Thread Tools Search this Thread 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: 16
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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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 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: 16
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: 16
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: 16
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, 09:14
Default similar problem
  #6
New Member
 
Jenna Vergeynst
Join Date: Aug 2016
Posts: 10
Rep Power: 9
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, 21:52
Default
  #7
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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
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, 03:40
Default
  #8
New Member
 
Jenna Vergeynst
Join Date: Aug 2016
Posts: 10
Rep Power: 9
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 Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] view OpenFOAM result in ParaView on another machine base0 ParaView 0 November 12, 2015 20:29
OpenFOAM on a 32 bit machine samiam1000 OpenFOAM Installation 5 December 8, 2013 17:41
anyway to install 32 bit fortran on 64 bit machine HaKu Main CFD Forum 4 July 22, 2011 08:30
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 08:40


All times are GMT -4. The time now is 07:18.