paraview

Ceci est une ancienne révision du document !


Tests

Paraview est installé sur nemo. Pour tester: <code> nemo-henry% paraview </code> 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

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_VERBOSE_MAKEFILE:BOOL=TRUE

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

FIXME à tester

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
  • paraview.1333259323.txt.gz
  • Dernière modification : 2017/08/25 09:55
  • (modification externe)