====== Interventions ====== ===== 20 nov 13 paraview sur octopus ===== * dans /local/apps/ParaView-4.1.0-RC1-Linux-64bit/ * pour l'utiliser module load paraview paraview ====== Tests ====== Paraview est installé sur nemo. Pour tester: nemo-henry% paraview Des exemples de fichiers dans ParaViewData3.2, ParaViewTutorialData et Sc07_paraview_tutorial_data. Le fichier polyex.vtk fait planter paraview sur les sunrays, lorsqu'on bouge l'objet. Sur un autre serveur X, ça marche... FIXME une nouvelle version (3.4.0) est installée. Dans le même contexte, ça ne plante pas. ====== compilation de paraview ====== ===== version 3.4.0 ===== ==== opensolaris et sun studio express ==== On utilise l'environnement [[http://dlc.sun.com/osol/jds/downloads/cbe/test/desktop-cbe-1.7.0-rc1-x86.tar.bz2|CBE]]. On peut choisir le compilo: Summary: package | status | details ---------------------------------+-------------+------------------------------- CBEenv | INSTALLED | CBE setup complete Run . /opt/dtbld/bin/env.sh [environment] or source /opt/dtbld/bin/env.csh [environment] depending on your shell, to use this build environment. You can also run /opt/dtbld/bin/env.sh [environment] to start subshell. Installation log saved in /tmp/desktop-cbe-install-2008-11-19-07:37.log henry@ultra20:~/desktop-cbe-1.7.0-rc1$ . /opt/dtbld/bin/env.sh toto Desktop CBE version 1.7.0-rc1 built on 2008-11-19 by henry@ultra20 Unsetting USER Unsetting LC_MESSAGES Unsetting LANG Unsetting LC_CTYPE ERROR: Unknown CBE environment: toto Valid choices are: default -> sexp.1 gcc3 gcc3.1 sexp sexp.1 henry@ultra20:~/desktop-cbe-1.7.0-rc1$ . /opt/dtbld/bin/env.sh ==== utilisation de cmake ==== ccmake utilise le fichier CMakeCache.txt, qu'on peut modifier manuellement, par exemple: CMAKE_VERBOSE_MAKEFILE:BOOL=TRUE pour avoir des make plus verbeux [[http://www.vtk.org/Wiki/CMake_Useful_Variables|Lien externe]] \\ Il y a aussi des fichiers CMakeLists.txt dans le répertoires sources de Paraview. dans ../ParaView-3.4.0/CMakeLists.txt, on peut par exemple [[http://www.vtk.org/Wiki/CMake_Useful_Variables#Logging_code|ajouter]]: # this is used when searching for include files e.g. using the FIND_PATH() command. MESSAGE( STATUS "CMAKE_INCLUDE_PATH: " ${CMAKE_INCLUDE_PATH} ) # this is used when searching for libraries e.g. using the FIND_LIBRARY() command. MESSAGE( STATUS "CMAKE_LIBRARY_PATH: " ${CMAKE_LIBRARY_PATH} ) il reste le problème: "/export/home/henry/projects/ParaView-3.4.0/VTK/Rendering/vtkOpenGLExtensionManager.cxx", line 267: Error: Using static_cast to convert from void(*)() to extern "C" void(*)() not allowed. [[http://www.cmake.org/pipermail/paraview/2006-February/002482.html|voir]] FIXME [[http://www.paraview.org/pipermail/paraview/2008-November/010224.html|à tester]] ==== utilisation de gcc ==== henry@ultra20:~/projects$ . /opt/dtbld/bin/env.sh gcc3.1 Desktop CBE version 1.7.0-rc1 built on 2008-11-19 by henry@ultra20 Using CC=/usr/sfw/bin/gcc Using CXX=/usr/sfw/bin/g++ Setting PATH=/opt/dtbld/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/gnu/bin:/usr/bin:/usr/sbin:/bin:/usr/sfw/bin Setting CONFIG_SHELL=/bin/bash Setting MAKESHELL=/bin/bash Setting MAKE=/opt/dtbld/bin/make Setting M4=/opt/dtbld/bin/m4 ===== docs ===== * http://www.vtk.org/Wiki/ParaView:Build_And_Install#Download_ParaView_Source_Code * http://www.vtk.org/Wiki/Cross_compiling_ParaView3_and_VTK * http://www.latp.univ-mrs.fr/~jobic/dokuwiki/doku.php?id=visit&s=vtk#vtk1