CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [foam-extend.org] Trying to install foam-extend 3.1 on Ubuntu 14.04 (https://www.cfd-online.com/Forums/openfoam-installation/148422-trying-install-foam-extend-3-1-ubuntu-14-04-a.html)

mbcx4jc2 February 11, 2015 09:33

Trying to install foam-extend 3.1 on Ubuntu 14.04
 
Running Ubuntu 14.04 LTS and following instructions detailed here.

When I source the bash with

Code:

foam-extend-3.1$ . etc/bashrc
I get

Code:

bash: /opt/foam-extend-3.1/bin/foamGetSystemInfo: No such file or directory
bash: /opt/foam-extend-3.1/bin/foamCleanPath: No such file or directory
bash: /opt/foam-extend-3.1/bin/foamCleanPath: No such file or directory
bash: /opt/foam-extend-3.1/bin/foamCleanPath: No such file or directory
bash: /opt/foam-extend-3.1/etc/settings.sh: No such file or directory
bash: /opt/foam-extend-3.1/etc/aliases.sh: No such file or directory
bash: /opt/foam-extend-3.1/bin/foamCleanPath: No such file or directory
bash: /opt/foam-extend-3.1/bin/foamCleanPath: No such file or directory
bash: /opt/foam-extend-3.1/bin/foamCleanPath: No such file or directory

Looking at etc/bashrc, in the user editable part, I've used the default which sets

Code:

foamInstall=$HOME/$WM_PROJECT
So why is it looking in /opt/?

I also have OpenFOAM installed, could this be an issue? I'm wondering whether I should remove it anyway. Are there any features in OpenFOAM that aren't in OpenFOAM extension?

alexeym February 11, 2015 10:09

Hi,

You have got OpenFOAM installed and seems to set up environment for it, that is why foam-extend is trying to look into /opt. Before ". etc/bashrc" issue "wmUNSET" command.

mbcx4jc2 February 11, 2015 12:48

Quote:

Originally Posted by alexeym (Post 531415)
Hi,

You have got OpenFOAM installed and seems to set up environment for it, that is why foam-extend is trying to look into /opt. Before ". etc/bashrc" issue "wmUNSET" command.

Many thanks alexeym, this worked! I definitely think I should just remove OpenFOAM as I can't find anything in OpenFOAM that's not in foam extend.

Some other conflicts I've found today is that paraFoam doesn't really work with the new foam extend case files but it also does not work as intended in previously functioning OpenFOAM case files. I'm working around this at the moment by just doing

Code:

$ touch anything.foam
$ paraview anything.foam


alexeym February 11, 2015 12:54

Quote:

Originally Posted by mbcx4jc2 (Post 531441)
Some other conflicts I've found today is that paraFoam doesn't really work with the new foam extend case files but it also does not work as intended in previously functioning OpenFOAM case files. I'm working around this at the moment by just doing

Code:

$ touch anything.foam
$ paraview anything.foam


Not quite get what did you mean by "does not work as intended". And behavior of your commands can be achieved with "paraFoam -builtin" (though it is a matter of preferences).


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