CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Homebashrc (https://www.cfd-online.com/Forums/openfoam-installation/57525-homebashrc.html)

benru July 2, 2007 07:53

2 Stian : OpenFOAM directory s
 
2 Stian : OpenFOAM directory structure and bashrc/cshrc files in your directory (home/stian) should be :

OpenFOAM/OpenFOAM-1.4/.OpenFOAM-1.4/(bashrc & cshrc)
OpenFOAM/OpenFOAM-1.4/(.bashrc & .cshrc)

So,
1. Check how you unpack distributive packs
2. Add string
source OpenFOAM/OpenFOAM-1.4/.bashrc (or .cshrc)
to the file hidden file /home/Stian/,bashrc

I think, that tests of installation :
OpenFOAM/OpenFOAM-1.4/bin/foamInstallationTest
will be good

regards
ruben

stian July 2, 2007 12:31

Look like I got a few problems
 
Look like I got a few problems

gcc 4.1.2
WARNING: Conflicting installations:
foam settings: /home/Stian/OpenFOAM/linux/gcc-4.1.2-64/bin/gcc
current path : /usr/bin/gcc
CRITICAL ERROR


icoFoam *** not installed ***
CRITICAL ERROR



Test_rsh: Unsuccessful_connection_refused* yes
Test_ssh: Unsuccessful_connection_refused* yes
FATAL ERROR: No remote shell available.
Foam1.4 enviroment requires either ssh and/or rsh.
Contact your system administrator.

benru July 3, 2007 02:18

OF needs own version of compil
 
OF needs own version of compiler to correct installation. You need to:
1. Download & unpack gcc4.1.2, java & paraview to the directory OpenFOAM/linux(64) so you have
OpenFOAM/linux(64)/gcc-1.4.2
OpenFOAM/linux(64)/paraview-2.4.4
OpenFOAM/linux(64)/java-1.4.2_05
2. You should install ssh or rsh from your RH distibutive disk using rpm (or other packet manager)

64 - if you use 64-bit based distribution.

regards
Ruben

nabildjef July 9, 2007 06:48

I am a new user of Linux; I ha
 
I am a new user of Linux; I have installed redhat9.0 for install a Openfoam-1.3. In installation of Openfoam-1.3 I follow instruction in file readme. But when I start installation of GCC the message is: Permission non accordée.
In installation of redhat I create session her name is nabil, in this session I crest file Open FOAM
To install OpenFOAM, I flowing thus instruction.
The first instruction is: $HOME/OpenFOAM/OpenFOAM-4.1.2/.OpenFOAM-1.3/bashrc
The second instruction is: $WM_PROJECT_INST_DIR/$WM_ARCH/gcc-4.1.2
But here indicate that Permission non accordée.
The same for third instruction, $WM_PROJECT_DIR/.bashrc
After he install normally openfoam, but in testing the installation indicates tow critical errors and one fatal error
I hope that you help, thank you

benru July 9, 2007 07:35

2 benyahia nabit See previo
 
2 benyahia nabit

See previous posts: correct installation should has following structure :

OpenFOAM/OpenFOAM-1.4/.OpenFOAM-1.4
OpenFOAM/OpenFOAM-1.4/application
OpenFOAM/OpenFOAM-1.4/bin
OpenFOAM/OpenFOAM-1.4/lib
OpenFOAM/OpenFOAM-1.4/src
OpenFOAM/OpenFOAM-1.4/wmake
OpenFOAM/linux(64)/gcc-4.1.2
OpenFOAM/linux(64)/paraview-x.x.x
OpenFOAM/linux(64)/java-x.x.x
OpenFOAM/jobControl
OpenFOAM/nabil-1.4
OpenFOAM/run

(x.x.x - is a version number)
64-if you use 64-bit version of Linux distrib

So, you need to:
1. create OpenFOAM dir in your home directory
(home/nabil/OpenFOAM) and unpack both
distibutive archieves into it.
2. make linux(64) dir and unpack gcc, java &
paraview into it.
3 it should be created jobContol, nabil-1.4 & run
directories (see dir structure).
4. you need add a string:
source OpenFOAM/OpenFOAM-1.4/.OpenFOAM-1.4/bashrc
into the end of hidden file .bashrc in directory
/home/nabil to set the environment

Try, it should help 8-)
Regards
ruben


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