CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

OF 14 Compilation error SuSE 102 64bit

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 9, 2007, 08:00
Default 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
alberto will become famous soon enoughalberto will become famous soon enough
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.
alberto is offline   Reply With Quote

Old   May 9, 2007, 08:10
Default I got the same problem. The Al
  #2
Senior Member
 
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18
lr103476 is on a distinguished road
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
lr103476 is offline   Reply With Quote

Old   May 9, 2007, 08:52
Default 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
alberto will become famous soon enoughalberto will become famous soon enough
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.
alberto is offline   Reply With Quote

Old   May 9, 2007, 09:01
Default 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
lr103476 is on a distinguished road
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
lr103476 is offline   Reply With Quote

Old   May 9, 2007, 09:09
Default 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
alberto will become famous soon enoughalberto will become famous soon enough
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.
alberto is offline   Reply With Quote

Old   May 15, 2007, 03:27
Default to build all subdirectories :
  #6
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
to build all subdirectories : wmake all. I put up a page on the OpenFOAM wiki with some more tips about wmake.
mattijs is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 23:06.