|
[Sponsors] |
May 9, 2007, 08:00 |
While recompiling OF 1.4 on op
|
#1 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
While recompiling OF 1.4 on openSUSE 10.2 64 bit, using the compiler provided with OF, I got this error:
make[3]: Leaving directory `/home/alberto/OpenFOAM/OpenFOAM-1.4/applications/utilities/postProcessing/graph ics/PVFoamReader/vtkFoam' + cd PVFoamReader + mkdir -p Make/linux64Gcc4DPOpt + cd Make/linux64Gcc4DPOpt + cmake ../.. -- Check for working C compiler: /home/alberto/OpenFOAM/linux64/gcc-4.1.2/bin/gcc -- Check for working C compiler: /home/alberto/OpenFOAM/linux64/gcc-4.1.2/bin/gcc -- works -- Check size of void* -- Check size of void* - done -- Check for working CXX compiler: /home/alberto/OpenFOAM/linux64/gcc-4.1.2/bin/g++ -- Check for working CXX compiler: /home/alberto/OpenFOAM/linux64/gcc-4.1.2/bin/g++ -- works CMake Error: Error in cmake code at /home/alberto/OpenFOAM/linux64/paraview-2.4.4/lib/paraview-2.4/ParaViewConfig.cm ake:29: INCLUDE Could not find include file: /home/dm2/henry/OpenFOAM/linuxSrc/paraview-2.4.4/platforms/linux64Gcc4DPOpt/Para ViewLibraryDepends.cmake Current CMake stack: /home/alberto/OpenFOAM/OpenFOAM-1.4/applications/utilities/postProcessing/graphi cs/PVFoamReader/PVFoamReader/CMakeLists.txt;/usr/share/cmake/Modules/CMakeCInfor mation.cmake;/usr/share/cmake/Modules/CMakeCXXInformation.cmake;/home/alberto/Op enFOAM/linux64/paraview-2.4.4/lib/paraview-2.4/ParaViewConfig.cmake;/home/dm2/he nry/OpenFOAM/linuxSrc/paraview-2.4.4/platforms/linux64Gcc4DPOpt/ParaViewLibraryD epends.cmake CMake Error: Error in cmake code at /home/alberto/OpenFOAM/OpenFOAM-1.4/applications/utilities/postProcessing/graphi cs/PVFoamReader/PVFoamReader/CMakeLists.txt:38: INCLUDE Could not find include file: /home/dm2/henry/OpenFOAM/linuxSrc/paraview-2.4.4/ParaViewUse.cmake Current CMake stack: /home/alberto/OpenFOAM/OpenFOAM-1.4/applications/utilities/postProcessing/graphi cs/PVFoamReader/PVFoamReader/CMakeLists.txt;/usr/share/cmake/Modules/CMakeCInfor mation.cmake;/usr/share/cmake/Modules/CMakeCXXInformation.cmake;/home/alberto/Op enFOAM/linux64/paraview-2.4.4/lib/paraview-2.4/ParaViewConfig.cmake;/home/dm2/he nry/OpenFOAM/linuxSrc/paraview-2.4.4/ParaViewUse.cmake CMake Error: Error in cmake code at /home/alberto/OpenFOAM/OpenFOAM-1.4/applications/utilities/postProcessing/graphi cs/PVFoamReader/PVFoamReader/CMakeLists.txt:56: Unknown CMake command "VTK_WRAP_ClientServer". -- Configuring done + make make[3]: Entering directory `/home/alberto/OpenFOAM/OpenFOAM-1.4/applications/utilities/postProcessing/graph ics/PVFoamReader/PVFoamReader/Make/linux64Gcc4DPOpt' make[3]: *** No targets specified and no makefile found. Stop. make[3]: Leaving directory `/home/alberto/OpenFOAM/OpenFOAM-1.4/applications/utilities/postProcessing/graph ics/PVFoamReader/PVFoamReader/Make/linux64Gcc4DPOpt' make[2]: *** [PVFoamReader] Error 2 make[2]: Leaving directory `/home/alberto/OpenFOAM/OpenFOAM-1.4/applications/utilities/postProcessing/graph ics' make[1]: *** [graphics] Error 2 make[1]: Leaving directory `/home/alberto/OpenFOAM/OpenFOAM-1.4/applications/utilities/postProcessing' make: *** [postProcessing] Error 2 + '[' 0 = 1 -a '' = doc '] The compiler looks for files in not existing positions. Regards, A.
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
May 9, 2007, 08:10 |
I got the same problem. The Al
|
#2 |
Senior Member
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18 |
I got the same problem. The Allwmake is not present in the solvers and utility directories...
Just compile the utilities and applications that you need by yourself. Regards, Frank
__________________
Frank Bos |
|
May 9, 2007, 08:52 |
Hello Frank,
I need to recomp
|
#3 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Hello Frank,
I need to recompile the whole OF 1.4 due to the bugs in the backward scheme. Does this mean I've to manually recompile the whole set of utilities and solvers? Regards, A.
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
May 9, 2007, 09:01 |
Yes, or you have to write a sc
|
#4 |
Senior Member
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18 |
Yes, or you have to write a script that executes Allwmake or wmake in every solver / utility subdirectory.....or someone can put the usual scripts here...
Btw, why don't you only recompile the libfiniteVolume.so, since that library included the backward scheme?? Frank
__________________
Frank Bos |
|
May 9, 2007, 09:09 |
Thanks Frank,
but the PVFoamR
|
#5 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Thanks Frank,
but the PVFoamReader utility can't be recompiled anyway because it looks for a file which is not there. Yes, I'll recompile the libfiniteVolume alone. Forgot this possibility Regards, A.
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
May 15, 2007, 03:27 |
to build all subdirectories :
|
#6 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
to build all subdirectories : wmake all. I put up a page on the OpenFOAM wiki with some more tips about wmake.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dissimilarity in compiling new BC in 32bit OpenSuSE 103 versus 64bit CentOS 50 versus 64bit SLED 100 | sponiar | OpenFOAM Running, Solving & CFD | 3 | February 26, 2008 06:31 |
Compilation error | skabilan | OpenFOAM Installation | 1 | September 17, 2007 13:33 |
Compilation fails on suse linux 101 | su_junwei | OpenFOAM Bugs | 2 | July 20, 2007 04:56 |
Compilation error | Rajneesh | FLUENT | 0 | November 11, 2005 16:52 |
Compile new solver under SuSE 64bit OS | hsieh | OpenFOAM Running, Solving & CFD | 3 | September 8, 2005 11:56 |