paraview

Ceci est une ancienne révision du document !


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

compilation de paraview

On utilise l'environnement 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     

ccmake utilise le fichier CMakeCache.txt, qu'on peut modifier manuellement, par exemple:

CMAKE_EXE_LINKER_FLAGS:STRING=-library=stlport4

ou bien

CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE

pour avoir des make plus verbeux 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 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.

voir

  • paraview.1227179350.txt.gz
  • Dernière modification : 2017/08/25 09:55
  • (modification externe)