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

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: Lieven
Forum: OpenFOAM Programming & Development April 30, 2013, 03:11
Replies: 16
Views: 1,306
Posted By Lieven
It just occurred to me that the environment...

It just occurred to me that the environment variables probably get lost when you use 'sudo'.

So

$ sudo su -
$ cd /opt/openfoam210/
$ source etc/bashrc
$ Allwmake

will probably work.
Forum: OpenFOAM Programming & Development April 26, 2013, 08:46
Replies: 16
Views: 1,306
Posted By Lieven
Also see what the output is of echo...

Also see what the output is of

echo $FOAM_SRC

If the environment variables are really loaded correctly, this should give
/opt/openfoam210/src
Forum: OpenFOAM Programming & Development April 26, 2013, 08:42
Replies: 16
Views: 1,306
Posted By Lieven
You forgot the first '/': grep foamInstall...

You forgot the first '/':

grep foamInstall /opt/openfoam210/etc/bashrc
Forum: OpenFOAM Programming & Development April 26, 2013, 08:28
Replies: 16
Views: 1,306
Posted By Lieven
Could you first please copy the output from ...

Could you first please copy the output from

pwd && grep foamInstall OpenFOAMdir/etc/bashrc
Forum: OpenFOAM Programming & Development April 26, 2013, 08:22
Replies: 16
Views: 1,306
Posted By Lieven
Ok, open a terminal, go to the installation...

Ok, open a terminal, go to the installation folder and type

pwd && grep foamInstall bashrc

and copy the output here.

Also try

source etc/bashrc
foamInstallationTest
Forum: OpenFOAM Programming & Development April 26, 2013, 03:44
Replies: 16
Views: 1,306
Posted By Lieven
Hi Galchenko, You shouldn't have copied the...

Hi Galchenko,

You shouldn't have copied the Allwmake file from the main installation dir (based on the error you get, I'm pretty sure this is what you did.

But if it is only one solver you are...
Showing results 1 to 6 of 6

 
Forum Jump

All times are GMT -4. The time now is 02:01.