View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014135ParaView(No Category)public2013-06-19 14:202015-01-11 08:24
ReporterUtkarsh Ayachit 
Assigned ToUtkarsh Ayachit 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version4.1 
Summary0014135: Add ability to freeze python for static builds
DescriptionWith static builds for HPC systems, esp. with co-processing, the importing python modules can deteriorate the IO performance quite quickly. We need to "statically link/freeze" all of Python to avoid that.

refer to:

https://github.com/patmarion/NumpyBuiltinExample [^]
https://github.com/bfroehle/slither [^]
TagsNo tags attached.
ProjectSandia-Catalyst
Topic Namefreeze_python
Typeincorrect functionality
Attached Files

 Relationships
related to 0014147closedUtkarsh Ayachit Static executables unnecessary searching for plugins to load during startup 

  Notes
(0031073)
Utkarsh Ayachit (administrator)
2013-06-25 16:27

commit 5959549f0cf161ad3763bf9c02dbdd0299a39b99
Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
Date: Tue Jun 25 15:17:10 2013 -0400

    BUG 0014147. Improve process initialization times.
    
    - In static builds, we don't need to locate plugins. That is now avoided. This
      saves on several unnecessary filesystem accesses which should improve startup
      time on HPC systems.
    - Also avoiding setup of sys.path to find ParaView modules when
      PARAVIEW_FREEZE_PYTHON is true. Since ParaView modules will be frozen, we
      don't need to find site-packages. This avoids further more filesystem
      accesses.
    
    Change-Id: Ib208d5c2308f60b5ecead9bc63ad2a95315788c1

commit 1246717e06da310ff46e52347a5a3b8ac0ee338f
Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
Date: Tue Jun 25 14:33:46 2013 -0400

    Minimize file opens/stats.
    
    - Set PYTHONHOME to avoid Python from trying to setup a good sys.path.
    - Set LC_CTYPE to avoid Python from looking for locale information from system
      configuration.
    - Call vtkPVInitializePythonModules() before initializing Python to ensure that
      the environment for frozen Python is initialized correctly before initializing
      Python.
    
    Change-Id: I97ad4398f69878b73078e7411ceaaa8db9e88385

commit bcfa3e6e5c3f9bc0c51a75a7fadee16dcba2a25a
Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
Date: Mon Jun 24 18:00:58 2013 -0400

    BUG 0014135. Add ability to freeze Python.
    
    When Python support is enabled, on Unix machines, a new option named
    PARAVIEW_FREEZE_PYTHON is available. When ON, ParaView will freeze python
    modules into the executable. This currently doesn't support matplotlib or numpy.
    
    vtkUtilitiesPythonInitializer module runs vtkFreezePython.cmake to freeze the
    python modules and includes the initialization logic in vtkPVPythonInitializer
    initialization calls itself.
    
    Change-Id: I5e299374746a872eb9ff3f89beeb5ed2227d6f58
(0031097)
Utkarsh Ayachit (administrator)
2013-06-28 08:39

SUMMARY
---------------------------------------------
Topics merged into master:
        13791_sliceview_hide_outline
        14148_fix_path_issues
        allow_request_data_to_fail
        block-icon-cache
        freeze_python
        pvw-extend-pipeline-manager
        pvw-fix-clip-widget
        pvw-python-friendly-processRMIs
        pvw-signal-handler-arg
        simple-py-lookup-tables
(VTK) table2structured_one_piece_extent_fix
        tecplot_extensions


---------------------------------------------
(0031460)
Alan Scott (manager)
2013-08-14 20:51

Developer tag in git. If there are specific bugs, please open a new bug report. Closing.

 Issue History
Date Modified Username Field Change
2013-06-19 14:20 Utkarsh Ayachit New Issue
2013-06-25 14:14 Utkarsh Ayachit Relationship added related to 0014147
2013-06-25 16:27 Utkarsh Ayachit Topic Name => freeze_python
2013-06-25 16:27 Utkarsh Ayachit Note Added: 0031073
2013-06-25 16:27 Utkarsh Ayachit Status backlog => gatekeeper review
2013-06-25 16:27 Utkarsh Ayachit Fixed in Version => git-next
2013-06-25 16:27 Utkarsh Ayachit Resolution open => fixed
2013-06-25 16:27 Utkarsh Ayachit Assigned To => Utkarsh Ayachit
2013-06-28 08:38 Utkarsh Ayachit Fixed in Version git-next => git-master
2013-06-28 08:39 Utkarsh Ayachit Note Added: 0031097
2013-06-28 08:39 Utkarsh Ayachit Status gatekeeper review => customer review
2013-08-14 20:51 Alan Scott Note Added: 0031460
2013-08-14 20:51 Alan Scott Status customer review => closed
2013-11-01 13:18 Utkarsh Ayachit Fixed in Version git-master => 4.1
2015-01-11 08:24 Utkarsh Ayachit Source_changeset_attached => ParaView master 19de4a0a
2015-01-11 08:24 Utkarsh Ayachit Source_changeset_attached => ParaView master bcfa3e6e


Copyright © 2000 - 2018 MantisBT Team