CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   error message when run 'wmake' to compile (http://www.cfd-online.com/Forums/openfoam/69412-error-message-when-run-wmake-compile.html)

Forrest_Lei October 22, 2009 05:38

error message when run 'wmake' to compile
 
Hi all,

This may be a straightforward thing but I just couldn't figure it out. We installed OF-1.6 but when anything to do with 'wmake' I had an error message saying:

:~/OpenFOAM/yingchun-1.6/run/heatTransfer/buoyantPisoFoam/hotRoom/setHotRoom> wmake
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/usr/local/OpenFOAM/OpenFOAM-1.6/src/finiteVolume/lnInclude -IlnInclude -I. -I/usr/local/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude -I/usr/local/OpenFOAM/OpenFOAM-1.6/src/OSspecific/POSIX/lnInclude -fPIC Make/linux64GccDPOpt/setHotRoom.o -L/usr/local/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt \
-lfiniteVolume -lOpenFOAM -liberty -ldl -lm -o /home/serak/yingchun/OpenFOAM/yingchun-1.6/applications/bin/linux64GccDPOpt/setHotRoom
/usr/local/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libfiniteVolume.so: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make: *** [/home/serak/yingchun/OpenFOAM/yingchun-1.6/applications/bin/linux64GccDPOpt/setHotRoom] Error 1

This happens when I tried the cases like 'hotRoom (compile 'setHotRoom')', 'cylinder (compile analyticalCylinder)'. Anyone can give some hint what the problem this could be?

Thank you

Regareds
Forrest


All times are GMT -4. The time now is 14:33.