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

[OpenFOAM.org] Current directory is not $WM_PROJECT_DIR

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 8, 2016, 13:32
Exclamation Current directory is not $WM_PROJECT_DIR
  #1
Member
 
Jack_Landis's Avatar
 
Join Date: Feb 2016
Posts: 32
Rep Power: 10
Jack_Landis is on a distinguished road
Dear all,

I'm trying to install OpenFOAM-2.2.1 from source on Ubuntu 15.10 (I have to use a code extension developed for that version of OpenFOAM). When I try to launch ./Allwmake I get this error:

Code:
./Allwmake: 4: ./Allwmake: wmakeCheckPwd: not found
Error: Current directory is not $WM_PROJECT_DIR
    The environment variables are inconsistent with the installation.
    Check the OpenFOAM entries in your dot-files and source them.
I know this question has already been answered but that answers didn't help me

Has someone any idea?

Thank you a lot!

Jacopo
__________________
Omnia per ipsum facta sunt,
et sine ipso factum est nihil,
quod factum est


Jack_Landis is offline   Reply With Quote

Old   June 8, 2016, 14:06
Default
  #2
Member
 
Jack_Landis's Avatar
 
Join Date: Feb 2016
Posts: 32
Rep Power: 10
Jack_Landis is on a distinguished road
I solved the problem. I had to add a line to source the bashrc in the bashrc of Home and not in the one of OpenFOAM and then cancel the command end-of-file in the bashrc of OpenFOAM. Now it is compiling, I'm hoping it will be succesfull!
__________________
Omnia per ipsum facta sunt,
et sine ipso factum est nihil,
quod factum est


Jack_Landis is offline   Reply With Quote

Reply

Tags
installation by sources, openfoam 2.1.1, problem, problems, source pack


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
[swak4Foam] Installation Problem with OF 6 version Aurel OpenFOAM Community Contributions 14 November 18, 2020 17:18
[OpenFOAM.org] Current directory is not $WM_PROJECT_DIR imani OpenFOAM Installation 17 September 6, 2020 09:19
Ansys Licence Serve on Ubuntu 16.04 LTS david.pasquale ANSYS 2 January 20, 2017 12:52
Re : Problem Installing OpenFOAM on Centos -5.3 mohanphy OpenFOAM Installation 1 February 7, 2010 20:09
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' mfiandor OpenFOAM Installation 2 January 25, 2010 10:50


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