CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Intstalling the Source Pack of OpenFOAM 1.7.1 (http://www.cfd-online.com/Forums/openfoam-installation/90398-intstalling-source-pack-openfoam-1-7-1-a.html)

wschosta July 8, 2011 14:08

Intstalling the Source Pack of OpenFOAM 1.7.1
 
I'm trying to install the source pack of OpenFOAM 1.7.1 on a server location where I don't have access to the .cshrc file (I'm using csh).

So I follow the instructions (http://www.openfoam.com/archive/1.7....oad/source.php) as best I can but once I run the ./Allwmake and it finishes I run the ./foamInstallationCheck and it returns this:

Code:

Executing ./foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------

FATAL ERROR: OpenFOAM environment not configured.

    Please refer to the installation section of the README file:
    <OpenFOAM installation dir>/OpenFOAM-1.7.1/README
    to source the OpenFOAM environment.

But as far as I can tell I've set the environment variables correctly and I don't see any other way to set them then the way defined in the installation instructions.

Any suggestions?

wyldckat July 9, 2011 05:41

Greetings Walter,

Quote:

Originally Posted by wschosta (Post 315374)
I'm trying to install the source pack of OpenFOAM 1.7.1 on a server location where I don't have access to the .cshrc file (I'm using csh).

You don't have access? The file should be in your home folder! Namely "$HOME/.cshrc". Now, it's a whole other issue if the $HOME variable is undefined. To check this by running:
Code:

echo $HOME
If it outputs nothing, then this is what's going wrong with your installation.

Quote:

Originally Posted by wschosta (Post 315374)
So I follow the instructions (http://www.openfoam.com/archive/1.7....oad/source.php) as best I can but once I run the ./Allwmake and it finishes I run the ./foamInstallationCheck and it returns this:

Allwmake should have complained in the same way as foamInstallationCheck! You should have seen a million error messages!

Quote:

Originally Posted by wschosta (Post 315374)
But as far as I can tell I've set the environment variables correctly and I don't see any other way to set them then the way defined in the installation instructions.

You could have said how exactly you set those variables. It would be a lot easier for us to figure out what happened :(

Best regards,
Bruno


All times are GMT -4. The time now is 15:46.