|
[Sponsors] |
January 10, 2008, 17:26 |
Hello OpenFOAM Gurus,
I am
|
#1 |
Guest
Posts: n/a
|
Hello OpenFOAM Gurus,
I am trying to install OpenFOAM but I don't seem to have much success. That is why I turn to you, who might disclose the "secrets of the gods" to me. Anyways, jokes aside, I get two critical errors when I run foamInstallationTest (see results below). as for gcc I downloaded the pack from the OpenFOAM website and gcc is indeed in the path /utrc/home/ccamantig/OpenFOAM/linux/gcc-4.2.1/bin/gcc as for icoFoam I tar-ed the binary pack as the instructions specify. Any suggestions? Checking basic setup... ------------------------------------------------------------------------------- Shell: csh Host: linux46.res.utc.com OS: Linux version 2.4.21-4.ELsmp User: amantig User_config: /utrc/home/ccamantig/.cshrc Foam_config: /utrc/home/ccamantig/.OpenFOAM-1.4.1/cshrc sourced correctly. ------------------------------------------------------------------------------- Checking main FOAM env variables... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Crit ------------------------------------------------------------------------------- $WM_PROJECT_INST_DIR /utrc/home/ccamantig/OpenFOAM yes yes $WM_PROJECT_USER_DIR ...ome/ccamantig/OpenFOAM/amantig-1.4.1 yes no $FOAM_JOB_DIR /utrc/home/ccamantig/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 ...me/ccamantig/OpenFOAM/OpenFOAM-1.4.1 yes yes yes $FOAM_USER_APPBIN ...1.4.1/applications/bin/linuxGccDPOpt yes yes no $FOAM_APPBIN ...1.4.1/applications/bin/linuxGccDPOpt yes yes yes $WM_DIR ...mantig/OpenFOAM/OpenFOAM-1.4.1/wmake yes yes yes $FOAMX_PATH ...ations/utilities/preProcessing/FoamX yes no yes $CEI_HOME /usr/local/ensight/CEI no no $JAVA_PATH ...amantig/OpenFOAM/linux/j2sdk1.4.2_05 no no $MICO_ARCH_PATH .../mico-2.3.12/platforms/linuxGccDPOpt no yes $LAM_ARCH_PATH --------- env variable not set --------- 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 ...OAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt yes yes yes $FOAM_USER_LIBBIN ...FOAM/amantig-1.4.1/lib/linuxGccDPOpt yes yes no $LAM_ARCH_PATH --------- env variable not set --------- yes ------------------------------------------------------------------------------- Software versions ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- gcc 3.2.3 WARNING: Conflicting installations: foam settings: /utrc/home/ccamantig/OpenFOAM/linux/gcc-4.2.1/bin/gcc current path : /usr/bin/gcc CRITICAL ERROR java *** not installed *** gzip 1.3.3 /usr/bin/gzip tar 1.3.3 /bin/tar icoFoam *** not installed *** CRITICAL ERROR ------------------------------------------------------------------------------- Checking file/directory permissions... ------------------------------------------------------------------------------- File/directory Set Reqd Crit ------------------------------------------------------------------------------- Checking networking... ------------------------------------------------------------------------------- Action Result Crit ------------------------------------------------------------------------------- ...g_linux46.res.utc.com 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 2 critical error(s). Review the output for warning messages and consult the installation guide for trouble shooting. |
|
January 11, 2008, 16:51 |
Thank you, I solved it.
|
#2 |
Guest
Posts: n/a
|
Thank you, I solved it.
|
|
June 25, 2008, 02:29 |
Well, my dear friend... may be
|
#3 |
New Member
Cesar Belaunde Zarate
Join Date: Mar 2009
Location: Quillota, V region, Chile
Posts: 8
Rep Power: 17 |
Well, my dear friend... may be you could solved it... But I had the same problem and I didnt solve yet.
please, any suggest. thanks. |
|
June 25, 2008, 03:14 |
Hello Cesar,
try
which
|
#4 |
Senior Member
Markus Rehm
Join Date: Mar 2009
Location: Erlangen (Germany)
Posts: 184
Rep Power: 17 |
Hello Cesar,
try which gcc according to your error message it should point to /usr/bin/gcc. Re-source the foam-environment by . ~/.bashrc and do "which gcc" again. Now the foam-gcc path should be displayed. Now it should work. If foamInstallationTest doesn't run successfully afterwards check the environment variable with echo $WM_COMPILER_DIR and have a look if it points to the correct directory (e.g. using "ls ..."). Regards Markus |
|
June 25, 2008, 14:31 |
OK, thanks a lot.
I follow yo
|
#5 |
New Member
Cesar Belaunde Zarate
Join Date: Mar 2009
Location: Quillota, V region, Chile
Posts: 8
Rep Power: 17 |
OK, thanks a lot.
I follow your advice and reading something I sow the problem was the directory's names. I solved it changing the directory names, I write: linux instead linux64 gcc-4.1.0-64 instead gcc-4.1.0 whit this two changes I solve the problem. Note that this is for OpenFOAM 1.3 After that I run the foamInstallationTest and I have just one "CRITICAL ERROR" (also in Software Version part), this is: ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- gcc 4.1.0 /home/cebz/OpenFOAM/linux/gcc-4.1.0-64/bin/gcc java 1.4.2_05 /home/cebz/OpenFOAM/linux/j2sdk1.4.2_05/bin/java gzip 1.3.12 /usr/bin/gzip tar 1.3.12 /bin/tar icoFoam *** not installed *** CRITICAL ERROR I am sure that exist the icoFoam directory and is in : /home/cebz/OpenFOAM/cebz-1.3/run/tutorials/icoFoam Well, this is about foamInstalationTest. When I try to generate the mesh for cavity I have the followin: cebz@cebz:~> run cebz@cebz:~/OpenFOAM/cebz-1.3/run> cd tutorials/ cebz@cebz:~/OpenFOAM/cebz-1.3/run/tutorials> cd icoFoam/ cebz@cebz:~/OpenFOAM/cebz-1.3/run/tutorials/icoFoam> blockMesh . cavity bash: blockMesh: command not found And when i try to run FoamX... cebz@cebz:~/OpenFOAM/cebz-1.3/run/tutorials/icoFoam> FoamX Starting NameServer with inet:cebz:1234 ... /home/cebz/OpenFOAM/OpenFOAM-1.3/bin/runFoamXHB: line 122: nsd: command not found. I really don't know why is that. The fact is the foamInstallationTest say that I have just one critical error. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Density in icoFoam Densidad en icoFoam | manuel | OpenFOAM Running, Solving & CFD | 8 | September 22, 2010 05:10 |
Critical errors gcc and icoFoam during installation of 15 | quartzian | OpenFOAM Installation | 3 | December 12, 2008 13:42 |
2 critical errors | shuo | OpenFOAM Installation | 1 | November 11, 2008 05:32 |
Help with Solving Critical Errors | andrewlindsay | OpenFOAM Installation | 0 | October 7, 2006 20:58 |
Tow Critical Error about GCC amp icoFoam | chnrdu | OpenFOAM Installation | 4 | July 8, 2005 07:14 |