|
[Sponsors] |
February 23, 2009, 06:09 |
After I go to the source direc
|
#1 |
New Member
Jun Huang
Join Date: Mar 2009
Posts: 6
Rep Power: 17 |
After I go to the source directory and use the ./Allwmake command. The computer take many hours to build everything, but give a massage of error and last few sentences are as below, what's the problem:
collect2: ld returned 1 exit status make[2]: *** [/home/jun/OpenFOAM/OpenFOAM-1.5.x/applications/bin/linuxGccDPOpt/mixtureAdiabat icFlameT] Error 1 make[2]: Leaving directory `/home/jun/OpenFOAM/OpenFOAM-1.5.x/applications/utilities/thermophysical/mixture AdiabaticFlameT' make[1]: *** [mixtureAdiabaticFlameT] Error 2 make[1]: Target `application' not remade because of errors. make[1]: Leaving directory `/home/jun/OpenFOAM/OpenFOAM-1.5.x/applications/utilities/thermophysical' make: *** [thermophysical] Error 2 make: Target `application' not remade because of errors. After that i execute the foramInstallationTest and the information are given as: jun@jun-desktop:~/OpenFOAM/OpenFOAM-1.5.x/bin$ ./foamInstallationTest Executing ./foamInstallationTest: Checking basic setup... ------------------------------------------------------------------------------- Shell: bash Host: jun-desktop OS: Linux version 2.6.27-11-generic ------------------------------------------------------------------------------- Checking main OpenFOAM env variables... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Crit ------------------------------------------------------------------------------- $WM_PROJECT_INST_DIR /home/jun/OpenFOAM yes yes $WM_PROJECT_USER_DIR /home/jun/OpenFOAM/jun-1.5.x yes no $WM_THIRD_PARTY_DIR /home/jun/OpenFOAM/ThirdParty yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $WM_PROJECT_DIR /home/jun/OpenFOAM/OpenFOAM-1.5.x yes yes yes $FOAM_APPBIN ...1.5.x/applications/bin/linuxGccDPOpt yes yes yes $FOAM_USER_APPBIN ...1.5.x/applications/bin/linuxGccDPOpt yes yes no $WM_DIR /home/jun/OpenFOAM/OpenFOAM-1.5.x/wmake yes yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $FOAM_LIBBIN ...OAM/OpenFOAM-1.5.x/lib/linuxGccDPOpt yes yes yes $FOAM_USER_LIBBIN ...OpenFOAM/jun-1.5.x/lib/linuxGccDPOpt yes yes no $MPI_ARCH_PATH ...penmpi-1.2.6/platforms/linuxGccDPOpt yes yes yes ------------------------------------------------------------------------------- Third party software ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- gcc 4.3.1 .../OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/gcc gzip 1.3.12 /bin/gzip tar 1.20 /bin/tar icoFoam WARNING: Conflicting installations: OpenFOAM settings : /home/jun/OpenFOAM/OpenFOAM-1.5.x/applications/bin/linuxGccDPOpt/icoFoam current path : CRITICAL ERROR ------------------------------------------------------------------------------- Checking networking... ------------------------------------------------------------------------------- Action Result Crit ------------------------------------------------------------------------------- Pinging_jun-desktop 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 OpenFOAM 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. done. |
|
February 23, 2009, 11:05 |
Hi Jun,
I feel that y
|
#2 |
New Member
Sayantan Datta Gupta
Join Date: Mar 2009
Location: Chennai, Tamilnadu, India
Posts: 16
Rep Power: 17 |
Hi Jun,
I feel that you have tried several procedures which I think just wouldn't be required. Could just follow the procedure mentioned in the below link. Hope you are using Ubuntu 8.04? http://www.cfd-online.com/cgi-bin/Op...2166#POST32166 Fine try that out and let me know if there is any problem. Bye Rishi
__________________
Rishi |
|
March 23, 2009, 07:41 |
|
#3 |
New Member
Gareth
Join Date: Mar 2009
Posts: 24
Rep Power: 17 |
Did you managed to get around this error? I have the same problem and cannot get it to work!
Thanks Gareth |
|
March 24, 2009, 05:25 |
|
#4 | |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
Quote:
This type of error appears in many threads. The answer is that the compilation of an OpenFOAM library has failed (and you didn't notice). This failure resulted in another compilation failure of the icoFoam solver. My suggestion is to go to the top directory OpenFOAM-1.5.x and open the Allwmake file. It is a simple shell script and you can just copy and paste line by line into an xterm, and run. Then you will see exactly where your failure lies, and pinpoint the problem. Dragos |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pls help last problem to be solved for installing OPENfoam | daydayuper | OpenFOAM Installation | 5 | November 9, 2008 05:59 |
Problem installing OpenFOAM 141 | sachin | OpenFOAM Installation | 2 | February 22, 2008 11:20 |
Problem installing on 64bit with ver13 | jonititan | OpenFOAM Installation | 5 | May 12, 2006 19:42 |
problem about installing FOAM | linux freshman | Main CFD Forum | 6 | November 4, 2004 11:59 |
Problem in license file installing | rakib | FLUENT | 0 | March 2, 2003 04:30 |