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

[foam-extend.org] Problem with foam-extend-3.1

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 28, 2015, 06:16
Default Problem with foam-extend-3.1
  #1
New Member
 
Join Date: Oct 2014
Posts: 4
Rep Power: 12
eleonora is on a distinguished road
Hi everyone!
I have a similar problem.
I did what is written here http://sourceforge.net/p/openfoam-ex...u/Ubuntu_14.04
but I cannot install.
When I do ./Allwmake I obtain:
Error: Current directory is not $WM_PROJECT_DIR
The environment variable are not consistent with the installation.
Check the OpenFOAM entries in your dot-files and source them.

What can I do?
Thank you.
eleonora is offline   Reply With Quote

Old   April 28, 2015, 06:53
Default Problem with foam-extend-3.1
  #2
New Member
 
Join Date: Oct 2014
Posts: 4
Rep Power: 12
eleonora is on a distinguished road
Hi! I have Ubuntu 14.04.2 and I cannot install the foam-extend-3.1.
I did what is written here:
https://openfoamwiki.net/index.php/I...oam-extend-3.1
but when I do cd
~/foam/foam-extend-3.1
source etc/bashrc
I obtain:bash: /opt/foam-extend-3.1/bin/foamGetSystemInfo: File o directory non esistente
bash:
/opt/foam-extend-3.1/bin/foamCleanPath: File o directory non esistente
bash: /opt/foam-extend-3.1/bin/foamCleanPath: File o directory non esistente
bash: /opt/foam-extend-3.1/bin/foamCleanPath: File o directory non esistente
bash: /opt/foam-extend-3.1/etc/settings.sh: File o directory non esistente
bash: /opt/foam-extend-3.1/etc/aliases.sh: File o directory non esistente
bash: /opt/foam-extend-3.1/bin/foamCleanPath: File o directory non esistente
bash: /opt/foam-extend-3.1/bin/foamCleanPath: File o directory non esistente
bash: /opt/foam-extend-3.1/bin/foamCleanPath: File o directory non esistente

It means the file or directory doesn't exists.


I have succesfully installed OpenFoam, instead.
May you help me?
Thanks
eleonora is offline   Reply With Quote

Old   April 29, 2015, 09:36
Default
  #3
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 620
Blog Entries: 6
Rep Power: 24
elvis will become famous soon enough
Hi,

you point on two directories/paths!
once you write you type command cd ~/foam/foam-extend-3.1 ->this is in your home directory and the installation should be
~/foam/foam-extend-3.1
the error message points to /opt-directory
/opt/foam-extend-3.1...

so I guess your ~/.bashrc is not okay
it can be okay to install in /opt but ~/.bashrc and other enviroment variables should point on /opt in that case
elvis is offline   Reply With Quote

Old   April 30, 2015, 04:33
Default
  #4
New Member
 
Join Date: Oct 2014
Posts: 4
Rep Power: 12
eleonora is on a distinguished road
Thank you for the answer.
Anyway I made a mess and now the error is:
Error: Current directory is not $WM_PROJECT_DIR
The environment variables are not consistent with the installation.
Please source configuration files.

Examples:
bash: . etc/bashrc
tcsh: source etc/cshrc

If you sourced the configuration files, please check the 'foamInstall' entry.

Eleonora
eleonora is offline   Reply With Quote

Old   April 30, 2015, 13:02
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
Quick answer: http://openfoamwiki.net/index.php/In...with_the_Shell
wyldckat is offline   Reply With Quote

Old   September 12, 2017, 08:05
Default Problem with foam-extend-3.0
  #6
New Member
 
Gabriele Pisetta
Join Date: Sep 2017
Posts: 1
Rep Power: 0
Pisu is on a distinguished road
Hi all,

I'm experiencing the same problem with the installation of foam-extend-3.0. When I digit
Code:
. etc/bashrc
I get the following message:

Code:
bash: /opt/foam-extend-3.0/bin/foamGetSystemInfo: No such file or directory
bash: /opt/foam-extend-3.0/bin/foamCleanPath: No such file or directory
bash: /opt/foam-extend-3.0/bin/foamCleanPath: No such file or directory
bash: /opt/foam-extend-3.0/bin/foamCleanPath: No such file or directory
bash: /opt/foam-extend-3.0/etc/settings.sh: No such file or directory
bash: /opt/foam-extend-3.0/etc/aliases.sh: No such file or directory
bash: /opt/foam-extend-3.0/bin/foamCleanPath: No such file or directory
bash: /opt/foam-extend-3.0/bin/foamCleanPath: No such file or directory
bash: /opt/foam-extend-3.0/bin/foamCleanPath: No such file or directory
I tried to follow the suggested link but I couldn't sort my problem. Can anyone please help me step by step with this?

Best regards,
Gabriele
Pisu is offline   Reply With Quote

Old   December 31, 2017, 12:34
Default
  #7
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
Quick answer @Pisu: I'm late on this but the solution is that you need to create aliases for each version of OpenFOAM/foam-extend and then start a new terminal.
If it still happens, then it's because there is a lost "etc/bashrc" line that is not within an alias or perhaps you need to log out and then log back in into the desktop (although this shouldn't be necessary).

For more details, read section 2.2 "Using aliases to help manage multiple OpenFOAM versions": https://openfoamwiki.net/index.php/I...nFOAM_versions
__________________
wyldckat is offline   Reply With Quote

Old   April 23, 2020, 04:55
Default Foam-extend 4.1
  #8
Member
 
Ndong-Mefane Stephane Boris
Join Date: Nov 2013
Location: Kawasaki (JAPAN)
Posts: 53
Rep Power: 13
S_teph_2000 is on a distinguished road
Hello,
I have foam-extend 4.1 and openfoam v1906 installed on Ubuntu1804 (Windows subsystem). I'm also using aliases to switch between both environments.
the ESI version works without any problem, but when I try to use anything in foam-extend, for example "blockMesh -help", I get the following error:
Code:
--> FOAM FATAL ERROR:
           Could not find mandatory etc entry (mode=ugo)
           'controlDict'
same thing when I try "simpleFoam -help"
I saw in a previous post by Wyldckat that this might happen when OF is installed in a directory containing spaces, but it is not the case. the command which foamExec gives:
Code:
/opt/foam/foam-extend-4.1/bin/foamExec
the "tut" command goes correctly to foam-extend tutorials folder, so the environment seems to be correctly loaded.
Thanks in advance for your help,

Kazu
S_teph_2000 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
[foam-extend.org] Foam extend 3.1 rpmBuild error. Saideep OpenFOAM Installation 2 September 25, 2016 20:34
[blockMesh] Errors during blockMesh meshing Madeleine P. Vincent OpenFOAM Meshing & Mesh Conversion 51 May 30, 2016 11:51
[foam-extend.org] Foam extend 3.1 rpmBuild error. Saideep OpenFOAM Installation 0 May 9, 2016 15:50
fvSchemes in FOAM extend 3.1 Shenan OpenFOAM Running, Solving & CFD 3 December 22, 2014 10:45
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 14:06


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