OpenFOAM-1.6.x on 64 bit machine
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 |
Greetings Kyungrock,
Please run the following command: Code:
echo $WM_PROJECT_DIR 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 |
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 :) |
Thanks for the reply.
my output is /storage/kkim/OpenFOAM/OpenFOAM-1.6.x It looks strange. Best wishes Kyungrock |
Hi
In redhat linux case, will that way be availabe? Thanks Kyungrock |
similar problem
Quote:
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 |
Quote:
|
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 |
All times are GMT -4. The time now is 02:46. |