paraview

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
paraview [2008/07/19 09:02] – créée gerardparaview [2017/08/25 09:56] (Version actuelle) – modification externe 127.0.0.1
Ligne 1: Ligne 1:
-Paraview est installé sur nemo. Pour tester:+====== Interventions ====== 
 +===== 20 nov 13 paraview sur octopus ===== 
 +  * dans /local/apps/ParaView-4.1.0-RC1-Linux-64bit/ 
 +  * pour l'utiliser 
 +<code> 
 +module load paraview 
 +paraview 
 +</code> 
 + 
 + 
 + 
 +====== Tests ====== 
 + 
 +<del>Paraview est installé sur nemo. Pour tester:
 <code> <code>
 nemo-henry% paraview nemo-henry% paraview
 </code> </code>
 Des exemples de fichiers dans ParaViewData3.2, ParaViewTutorialData et Sc07_paraview_tutorial_data. 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+Le fichier polyex.vtk fait planter paraview sur les sunrays, lorsqu'on bouge l'objet. Sur un autre serveur X, ça marche... FIXME</del> 
 + 
 +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: 
 +<code> 
 +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      
 + 
 +</code> 
 + 
 + 
 + 
 + 
 + 
 +==== utilisation de cmake ==== 
 +ccmake utilise le fichier CMakeCache.txt, qu'on peut modifier manuellement, par exemple: 
 +<code> 
 +CMAKE_VERBOSE_MAKEFILE:BOOL=TRUE 
 +</code> 
 +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]]: 
 +<code> 
 +# 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} ) 
 + 
 + 
 +</code> 
 +il reste le problème: 
 +<code> 
 +"/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. 
 +</code> 
 +[[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 ==== 
 +<code> 
 +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 
 +</code> 
 + 
 +===== 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 
 + 
  • paraview.1216450975.txt.gz
  • Dernière modification : 2017/08/25 09:55
  • (modification externe)