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

ParaView for OF-1.6-ext

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   December 31, 2010, 07:42
Default ParaView for OF-1.6-ext
  #1
Senior Member
 
Join Date: Jan 2010
Location: Stuttgart
Posts: 130
Rep Power: 7
Chrisi1984 is on a distinguished road
Hallo all,

I have got a problem installing Paraview for OF-1.6-ext.
The installation of the normal OF seemed to had run properly:

Quote:
Executing ./foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: christian-laptop
OS: Linux version 2.6.32-26-generic
-------------------------------------------------------------------------------


Checking main OpenFOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /opt yes yes
$WM_PROJECT_USER_DIR /root/OpenFOAM/root-1.6-ext yes no
$WM_THIRD_PARTY_DIR /opt/OpenFOAM-1.6-ext/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 /opt/OpenFOAM-1.6-ext yes yes yes

$FOAM_APPBIN ...ext/applications/bin/linux64GccDPOpt yes yes yes
$FOAM_SITE_APPBIN /opt/site/1.6-ext/bin/linux64GccDPOpt no no
$FOAM_USER_APPBIN ...ext/applications/bin/linux64GccDPOpt yes yes no
$WM_DIR /opt/OpenFOAM-1.6-ext/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 ...OpenFOAM-1.6-ext/lib/linux64GccDPOpt yes yes yes
$FOAM_SITE_LIBBIN /opt/site/1.6-ext/lib/linux64GccDPOpt no no
$FOAM_USER_LIBBIN ...OAM/root-1.6-ext/lib/linux64GccDPOpt yes yes no
$MPI_ARCH_PATH ...nmpi-1.4.3/platforms/linux64GccDPOpt yes yes yes
-------------------------------------------------------------------------------


Third party software
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
WARNING: gcc version does not match gcc supplied with this release of OpenFOAM
Supplied version: 4.3.3
User version : 4.4.3
Minimum required: 4.3.1

gcc 4.4.3 /bin/gcc
gzip 1.3.12 /bin/gzip
tar 1.22 /bin/tar
icoFoam 1.6-ext ...nFOAM-1.6-ext/applications/bin/linux64GccDPOpt/icoFoam
-------------------------------------------------------------------------------


Summary
-------------------------------------------------------------------------------
Base configuration ok.

Critical systems ok.


done.
But during compiling ParaView there seems to occur some Problems. Here is an extract of the errors:

Quote:
/usr/include/bits/string3.h: At top level:
/usr/include/bits/string3.h:56: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/string3.h: In function ‘memmove’:
/usr/include/bits/string3.h:59: error: ‘__len’ undeclared (first use in this function)
/usr/include/bits/string3.h: At top level:
/usr/include/bits/string3.h:78: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/string3.h: In function ‘memset’:
/usr/include/bits/string3.h:80: error: ‘__len’ undeclared (first use in this function)
/usr/include/bits/string3.h: At top level:
/usr/include/bits/string3.h:91: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/string3.h: In function ‘bcopy’:
/usr/include/bits/string3.h:94: error: ‘__len’ undeclared (first use in this function)
/usr/include/bits/string3.h: At top level:
/usr/include/bits/string3.h:98: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/string3.h: In function ‘bzero’:
/usr/include/bits/string3.h:100: error: ‘__len’ undeclared (first use in this function)
/usr/include/bits/string3.h: At top level:
/usr/include/bits/string3.h:120: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/string3.h: In function ‘strncpy’:
/usr/include/bits/string3.h:123: error: ‘__len’ undeclared (first use in this function)
/usr/include/bits/string3.h: At top level:
/usr/include/bits/string3.h:127: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/string3.h:128: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/string3.h:129: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/string3.h:134: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/string3.h: In function ‘stpncpy’:
/usr/include/bits/string3.h:136: error: ‘size_t’ undeclared (first use in this function)
/usr/include/bits/string3.h:137: error: ‘__n’ undeclared (first use in this function)
/usr/include/bits/string3.h:138: error: too many arguments to function ‘__stpncpy_chk’
/usr/include/bits/string3.h:139: error: too many arguments to function ‘__stpncpy_alias’
/usr/include/bits/string3.h: At top level:
/usr/include/bits/string3.h:151: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/string3.h: In function ‘strncat’:
/usr/include/bits/string3.h:154: error: ‘__len’ undeclared (first use in this function)
In file included from /opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/zutil.h:24,
from /opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/deflate.h:16,
from /opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/deflate.c:52:
/usr/include/stdlib.h: At top level:
/usr/include/stdlib.h:140: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__ctype_get_mb_cur_max’
/usr/include/stdlib.h: In function ‘atof’:
/usr/include/stdlib.h:281: error: ‘NULL’ undeclared (first use in this function)
/usr/include/stdlib.h: In function ‘atoi’:
/usr/include/stdlib.h:286: error: ‘NULL’ undeclared (first use in this function)
/usr/include/stdlib.h: In function ‘atol’:
/usr/include/stdlib.h:291: error: ‘NULL’ undeclared (first use in this function)
/usr/include/stdlib.h: In function ‘atoll’:
/usr/include/stdlib.h:300: error: ‘NULL’ undeclared (first use in this function)
In file included from /opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/zutil.h:24,
from /opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/deflate.h:16,
from /opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/deflate.c:52:
/usr/include/stdlib.h: At top level:
/usr/include/stdlib.h:337: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:367: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:369: error: nonnull argument with out-of-range operand number (argument 1, operand 4)
/usr/include/stdlib.h:485: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from /usr/include/stdlib.h:497,
from /opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/zutil.h:24,
from /opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/deflate.h:16,
from /opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/deflate.c:52:
/usr/include/alloca.h:33: error: expected ‘)’ before ‘__size’
In file included from /opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/zutil.h:24,
from /opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/deflate.h:16,
from /opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/deflate.c:52:
/usr/include/stdlib.h:502: error: expected ‘)’ before ‘__size’
/usr/include/stdlib.h:507: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:507: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:751: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:751: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:752: error: nonnull argument with out-of-range operand number (argument 1, operand 5)
/usr/include/stdlib.h:756: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:756: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:757: error: nonnull argument with out-of-range operand number (argument 1, operand 4)
/usr/include/stdlib.h:834: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:837: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:841: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:845: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:854: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:857: error: expected ‘)’ before ‘*’ token
/usr/include/stdlib.h:861: error: expected declaration specifiers or ‘...’ before ‘wchar_t’
/usr/include/stdlib.h:865: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mbstowcs’
/usr/include/stdlib.h:868: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘wcstombs’
In file included from /usr/include/stdlib.h:949,
from /opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/zutil.h:24,
from /opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/deflate.h:16,
from /opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/deflate.c:52:
/usr/include/bits/stdlib.h:26: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdlib.h:30: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdlib.h: In function ‘realpath’:
/usr/include/bits/stdlib.h:40: error: ‘size_t’ undeclared (first use in this function)
/usr/include/bits/stdlib.h:46: error: too many arguments to function ‘__realpath_chk’
/usr/include/bits/stdlib.h: At top level:
/usr/include/bits/stdlib.h:53: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdlib.h:54: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdlib.h:55: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdlib.h:58: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdlib.h:58: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdlib.h:65: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdlib.h: In function ‘ptsname_r’:
/usr/include/bits/stdlib.h:67: error: ‘size_t’ undeclared (first use in this function)
/usr/include/bits/stdlib.h:69: error: ‘__buflen’ undeclared (first use in this function)
/usr/include/bits/stdlib.h:70: error: too many arguments to function ‘__ptsname_r_chk’
/usr/include/bits/stdlib.h:72: error: too many arguments to function ‘__ptsname_r_chk_warn’
/usr/include/bits/stdlib.h:74: error: too many arguments to function ‘__ptsname_r_alias’
/usr/include/bits/stdlib.h: At top level:
/usr/include/bits/stdlib.h:78: error: expected declaration specifiers or ‘...’ before ‘wchar_t’
/usr/include/bits/stdlib.h:78: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdlib.h:80: error: expected declaration specifiers or ‘...’ before ‘wchar_t’
/usr/include/bits/stdlib.h:84: error: expected declaration specifiers or ‘...’ before ‘wchar_t’
/usr/include/bits/stdlib.h: In function ‘wctomb’:
/usr/include/bits/stdlib.h:93: error: ‘size_t’ undeclared (first use in this function)
/usr/include/bits/stdlib.h:94: error: ‘__wchar’ undeclared (first use in this function)
/usr/include/bits/stdlib.h:94: error: too many arguments to function ‘__wctomb_chk’
/usr/include/bits/stdlib.h:95: error: too many arguments to function ‘__wctomb_alias’
/usr/include/bits/stdlib.h: At top level:
/usr/include/bits/stdlib.h:99: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__mbstowcs_chk’
/usr/include/bits/stdlib.h:102: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__mbstowcs_alias’
/usr/include/bits/stdlib.h:106: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__mbstowcs_chk_warn’
/usr/include/bits/stdlib.h:114: error: expected ‘,’ or ‘;’ before ‘mbstowcs’
/usr/include/bits/stdlib.h:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__wcstombs_chk’
/usr/include/bits/stdlib.h:134: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__wcstombs_alias’
/usr/include/bits/stdlib.h:138: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__wcstombs_chk_warn’
/usr/include/bits/stdlib.h:145: error: expected ‘,’ or ‘;’ before ‘wcstombs’
/opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/deflate.c: In function ‘vtk_zlib_deflateInit2_’:
/opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/deflate.c:293: error: too many arguments to function ‘memset’
/opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/deflate.c: In function ‘vtk_zlib_deflateSetDictionary’:
/opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/deflate.c:346: error: too many arguments to function ‘memcpy’
/opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/deflate.c: In function ‘flush_pending’:
/opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/deflate.c:547: error: too many arguments to function ‘memcpy’
/opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/deflate.c: In function ‘vtk_zlib_deflate’:
/opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/deflate.c:591: error: ‘NULL’ undeclared (first use in this function)
/opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/deflate.c:824: error: too many arguments to function ‘memset’
/opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/deflate.c: In function ‘vtk_zlib_deflateCopy’:
/opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/deflate.c:919: error: too many arguments to function ‘memcpy’
/opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/deflate.c:924: error: too many arguments to function ‘memcpy’
/opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/deflate.c:939: error: too many arguments to function ‘memcpy’
/opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/deflate.c:940: error: too many arguments to function ‘memcpy’
/opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/deflate.c:941: error: too many arguments to function ‘memcpy’
/opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/deflate.c:942: error: too many arguments to function ‘memcpy’
/opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/deflate.c: In function ‘read_buf’:
/opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/deflate.c:983: error: too many arguments to function ‘memcpy’
/opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/deflate.c: In function ‘lm_init’:
/opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/deflate.c:998: error: too many arguments to function ‘memset’
/opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/deflate.c: In function ‘fill_window’:
/opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.8.1/VTK/Utilities/vtkzlib/deflate.c:1302: error: too many arguments to function ‘memcpy’
make[2]: *** [VTK/Utilities/vtkzlib/CMakeFiles/vtkzlib.dir/deflate.c.o] Fehler 1
make[1]: *** [VTK/Utilities/vtkzlib/CMakeFiles/vtkzlib.dir/all] Fehler 2
make: *** [all] Fehler 2
Fehler: Fehler-Status beim Beenden von /opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/tmp/rpm-tmp.2bAfBv (%build)
Fehler-Status beim Beenden von /opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/tmp/rpm-tmp.2bAfBv (%build)
Fehler: Öffnen von /opt/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/RPMS/x86_64/ParaView-3.8.1-linux64GccDPOpt.x86_64.rpm fehlgeschlagen: No such file or directory
+ wmakePrintBuild -check
+ wmakeLnInclude OpenFOAM
Attached is the log-file of the hole compilation with "Allwmake"

Can someone help me to get ParaView installed properly?

I still have a valid installation of ParaView 3.8.1 for OF-1.7.1. Can I also uses this with OF-1.6-ext?
If yes, what should be done therefore?

Best regards

Chrisi
Attached Files
File Type: txt log_Allwmake.txt (69.3 KB, 0 views)
Chrisi1984 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Paraview nice animation PyGloo ParaView 4 June 7, 2012 12:34
Distributed ParaView and PV3FoamReader micalil OpenFOAM Paraview & paraFoam 4 July 1, 2010 05:09
OpenFOAM 1.6 and ThirdParty Software Paraview dunlopjp OpenFOAM Installation 0 February 24, 2010 12:35
Paraview installation troubles jjhall OpenFOAM Installation 3 April 17, 2008 12:59
ParaView patch visualisation error in Development version philippose OpenFOAM Paraview & paraFoam 17 March 26, 2007 06:45


All times are GMT -4. The time now is 01:52.