PDA

Visualizza la versione completa : installazione OpenFOAM


BananasReloaded
15-04-2007, 18:16
ciao a tutti,
sto provando ad installare un programma che si chiama OpenFOAM, scaricabile da qui: http://www.opencfd.co.uk/openfoam/ ma ho un problema che non riesco a risolvere.
seguo i passi descritti nella pagina di download/installazione, scarico i files nell'ordine e li scomprimo uno dopo l'altro (i file vengono tutti messi nella stessa cartella).
aggiorno il file $HOME/.bashrc come richiesto, e lancio il test e poi provo ad eseguire il programma. ecco cosa esce:

Executing /home/lucertola/OpenFOAM/OpenFOAM-1.4/bin/foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: debian
OS: Linux version 2.6.18-4-k7
User: lucertola
User_config: /home/lucertola/.bashrc
Foam_config: /home/lucertola/.OpenFOAM-1.4/bashrc sourced correctly.
-------------------------------------------------------------------------------


Checking main FOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/lucertola/OpenFOAM yes yes
$WM_PROJECT_USER_DIR /home/lucertola/OpenFOAM/lucertola-1.4 yes no
$FOAM_JOB_DIR /home/lucertola/OpenFOAM/jobControl yes yes
-------------------------------------------------------------------------------


Checking the FOAM env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR /home/lucertola/OpenFOAM/OpenFOAM-1.4 yes yes yes

$FOAM_USER_APPBIN ...-1.4/applications/bin/linuxGcc4DPOpt yes yes no
$FOAM_APPBIN ...-1.4/applications/bin/linuxGcc4DPOpt yes yes yes
$WM_DIR /home/lucertola/OpenFOAM/OpenFOAM-1.4/wmake yes yes yes
$FOAMX_PATH ...ations/utilities/preProcessing/FoamX yes no yes
$CEI_HOME /usr/local/ensight/CEI no no

$JAVA_PATH .../lucertola/OpenFOAM/linux/j2sdk1.4.2_05 yes yes no
$MICO_ARCH_PATH ...mico-2.3.12/platforms/linuxGcc4DPOpt yes yes yes
$LAM_ARCH_PATH ...c/lam-7.1.2/platforms/linuxGcc4DPOpt yes yes yes
$MPICH_ARCH_PATH --------- env variable not set --------- no
-------------------------------------------------------------------------------


Checking the FOAM env variables set on the LD_LIBRARY_PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$FOAM_LIBBIN ...FOAM/OpenFOAM-1.4/lib/linuxGcc4DPOpt yes yes yes
$FOAM_USER_LIBBIN ...enFOAM/lucertola-1.4/lib/linuxGcc4DPOpt yes yes no
$LAM_ARCH_PATH ...c/lam-7.1.2/platforms/linuxGcc4DPOpt yes yes yes
-------------------------------------------------------------------------------


Software versions
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 4.1.2 /home/lucertola/OpenFOAM/linux/gcc-4.1.2/bin/gcc
java 1.4.2_05 /home/lucertola/OpenFOAM/linux/j2sdk1.4.2_05/bin/java
gzip 1.3.5 /bin/gzip
tar 1.3.5 /bin/tar
icoFoam ...M/OpenFOAM-1.4/applications/bin/linuxGcc4DPOpt/icoFoam
-------------------------------------------------------------------------------


Checking file/directory permissions...
-------------------------------------------------------------------------------
File/directory Set Reqd Crit
-------------------------------------------------------------------------------


Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
Pinging_debian Successful yes
Pinging_localHost Successful yes
Test_rsh: Unsuccessful_connection_refused* yes
Test_ssh: Successful yes
(*) Only one of rsh or ssh is required by the Foam enviroment.

-------------------------------------------------------------------------------

Base configuration ok.

Critical systems ok.


lucertola@debian:~$ FoamX
Starting NameServer with inet:debian:1234 ...
nsd: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory



Qualcuno può aiutarmi? grazie molte e ciao!

dAb
15-04-2007, 18:22
Hai installato libssl0.9.7?

BananasReloaded
15-04-2007, 18:30
Originariamente inviato da dAb
Hai installato libssl0.9.7?



GRANDEEEEEEE che scemo che sono!
avevo la libssl0.9.8... è bastato installare anche la libssl0.9.7 ed il programma mi è partito!!!! grazie!!!

dAb
15-04-2007, 18:34
Capita : )

katapano
18-04-2007, 10:59
anche io sto cercando di installare OpenFoam, ma non ci riesco.
se ho capito bene dice ke non trova il compilatore gcc :cry:
premetto ke il compilatore è correttamente installato da yum (comprese le librerie standard c++)
ho già provato a scaricare il gcc dal sito di openFoam e copiarlo nella cartella /home/mofo/OpenFOAM/linux/gcc-4.1.2/bin/
ho anke già provato a creare un link simbolico in /home/mofo/OpenFOAM/linux/gcc-4.1.2 ke rimanda a /usr/bin .. ma evidentemente non ci sto capendo molto.. qualcuno può aiutarmi? grazie! :smack:

(ah! al momento ho una fedora core 6)

ciaooo
________________
questo è l'output di foamInstallationTest:

[mofo@localhost bin]$ foamInstallationTest
Executing /home/mofo/OpenFOAM/OpenFOAM-1.4/bin/foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: localhost.localdomain
OS: Linux version 2.6.19-1.2911.fc6
User: mofo
User_config: /home/mofo/.bashrc
Foam_config: /home/mofo/.OpenFOAM-1.4/bashrc sourced correctly.
-------------------------------------------------------------------------------


Checking main FOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/mofo/OpenFOAM yes yes
$WM_PROJECT_USER_DIR /home/mofo/OpenFOAM/mofo-1.4 yes no
$FOAM_JOB_DIR /home/mofo/OpenFOAM/jobControl no yes
-------------------------------------------------------------------------------


Checking the FOAM env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR /home/mofo/OpenFOAM/OpenFOAM-1.4 yes yes yes

$FOAM_USER_APPBIN ...-1.4/applications/bin/linuxGcc4DPOpt yes yes no
$FOAM_APPBIN ...-1.4/applications/bin/linuxGcc4DPOpt yes yes yes
$WM_DIR /home/mofo/OpenFOAM/OpenFOAM-1.4/wmake yes yes yes
$FOAMX_PATH ...ations/utilities/preProcessing/FoamX yes no yes
$CEI_HOME /usr/local/ensight/CEI no no

$JAVA_PATH /home/mofo/OpenFOAM/linux/j2sdk1.4.2_05 no no
$MICO_ARCH_PATH ...mico-2.3.12/platforms/linuxGcc4DPOpt yes yes yes
$LAM_ARCH_PATH ...c/lam-7.1.2/platforms/linuxGcc4DPOpt yes yes yes
$MPICH_ARCH_PATH --------- env variable not set --------- no
-------------------------------------------------------------------------------


Checking the FOAM env variables set on the LD_LIBRARY_PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$FOAM_LIBBIN ...FOAM/OpenFOAM-1.4/lib/linuxGcc4DPOpt yes yes yes
$FOAM_USER_LIBBIN ...OpenFOAM/mofo-1.4/lib/linuxGcc4DPOpt yes yes no
$LAM_ARCH_PATH ...c/lam-7.1.2/platforms/linuxGcc4DPOpt yes yes yes
-------------------------------------------------------------------------------


Software versions
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 4.1.1
WARNING: Conflicting installations:
foam settings: /home/mofo/OpenFOAM/linux/gcc-4.1.2/bin/gcc
current path : /usr/bin/gcc
CRITICAL ERROR

java 1.4.2
libgcj)
WARNING: Conflicting installations:
foam settings: /home/mofo/OpenFOAM/linux/j2sdk1.4.2_05/bin/java
current path : /usr/bin/java

gzip 1.3.5 /bin/gzip
tar 1.3.5 /bin/tar
icoFoam ...M/OpenFOAM-1.4/applications/bin/linuxGcc4DPOpt/icoFoam
-------------------------------------------------------------------------------


Checking file/directory permissions...
-------------------------------------------------------------------------------
File/directory Set Reqd Crit
-------------------------------------------------------------------------------


Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
...localhost.localdomain Successful yes
Pinging_localHost Successful yes
Test_rsh: Unsuccessful_connection_refused* yes
Test_ssh: Successful yes
(*) Only one of rsh or ssh is required by the Foam enviroment.

-------------------------------------------------------------------------------

Base configuration ok.

The foam installation contains 1 critical error(s).

Review the output for warning messages and consult
the installation guide for trouble shooting.

Loading