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

installtion error for OF210 source pack

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 14, 2012, 15:44
Default installtion error for OF210 source pack
  #1
New Member
 
Nitin Suryawanshi
Join Date: Mar 2009
Location: Pune, India
Posts: 28
Rep Power: 17
suryawanshi_nitin is on a distinguished road
hi
i m facing issue in installing of210 source pack. for envoirmental settings, i have added the lines at end of the .bashrc file as follow

alias of201='source /opt/openfoam201/etc/bashrc'
alias of210='source $HOME/openFOAM/OpenFOAM-2.1.0/etc/bashrc'


but when i m running ./Allwmake through i m getting following error msg

administrator@ubuntu:~/openFOAM/OpenFOAM-2.1.0$ ./Allwmake
./Allwmake: 9: 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.

My machine is lenova 32 bit, allready OF201 debian pack is there in machine working properly,

plz help me on this thanks in advance
Nitin
suryawanshi_nitin is offline   Reply With Quote

Old   May 14, 2012, 16:47
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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 Nitin,

I was going to say that you had forgotten to run "of210" in the terminal, but now I noticed that you missed an important letter:
  • You have this:
    Quote:
    alias of210='source $HOME/openFOAM/OpenFOAM-2.1.0/etc/bashrc'
  • When you should have this:
    Code:
    alias of210='source $HOME/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc'
It's "OpenFOAM", not "openFOAM"


Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   May 16, 2012, 01:02
Default
  #3
New Member
 
Nitin Suryawanshi
Join Date: Mar 2009
Location: Pune, India
Posts: 28
Rep Power: 17
suryawanshi_nitin is on a distinguished road
Dear Bruno thanks for your reply, as per your suggestions i have changed the folder name from openFOAM to OpenFOAM, also accordingly changed path in .bashrc file as below
alias of201='source /opt/openfoam201/etc/bashrc'
alias of210='source $HOME/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc'

but when i m getting for compilation of for gettting source code to work follwing msg is shown in terminal

administrator@ubuntu:~/OpenFOAM/OpenFOAM-2.1.0$ ./Allwmake
./Allwmake: 9: 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.

kindly waiting for reply.. thanks in advance
suryawanshi_nitin is offline   Reply With Quote

Old   May 16, 2012, 16:24
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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
Hi Nitin,
  1. Start a new terminal.
  2. Run:
    Code:
    echo $WM_PROJECT_DIR
    It shouldn't output anything. If it does output anything, then your .bashrc file is contaminated with an OpenFOAM related line that isn't using "alias" at the beginning of that line.
  3. If all OK, run:
    Code:
    of210
  4. Run:
    Code:
    cd $WM_PROJECT_DIR
  5. Where did you land? If you landed in the correct folder, now you can run Allwmake.
Here is some more reading material on this subject: Advanced tips for working with the OpenFOAM shell environment

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   May 17, 2012, 06:42
Default
  #5
New Member
 
Nitin Suryawanshi
Join Date: Mar 2009
Location: Pune, India
Posts: 28
Rep Power: 17
suryawanshi_nitin is on a distinguished road
Hi Bruno,
As you said i started with new terminal and with correct working directory that is the folder in which OpenFoam2.1.0 is extracted and now i m able to compile source code by using ./Allwmake.

Thanks alot Bruno its working now with your valuable suggestions...
Nitin
suryawanshi_nitin is offline   Reply With Quote

Reply


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] swak4foam building problem GGerber OpenFOAM Community Contributions 54 April 24, 2015 16:02
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 10:57
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 11:44
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 16:09.