CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Problem in installing OpenFoam15x (http://www.cfd-online.com/Forums/openfoam-installation/57226-problem-installing-openfoam15x.html)

mmjhuang February 23, 2009 06:09

After I go to the source direc
 
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.

rishi123 February 23, 2009 11:05

Hi Jun, I feel that y
 
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

gareth__it_power March 23, 2009 07:41

Did you managed to get around this error? I have the same problem and cannot get it to work!
Thanks
Gareth

dmoroian March 24, 2009 05:25

Quote:

icoFoam
WARNING: Conflicting installations:
OpenFOAM settings : /home/jun/OpenFOAM/OpenFOAM-1.5.x/applications/bin/linuxGccDPOpt/icoFoam
current path :
CRITICAL ERROR
Hello Jun,
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


All times are GMT -4. The time now is 21:41.