MantisBT - ParaView | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0014821 | ParaView | (No Category) | public | 2014-06-24 11:25 | 2015-01-11 08:16 |
Reporter | Vadim SANDLER | ||||
Assigned To | Tristan Coulange | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | 4.1 | ||||
Target Version | Fixed in Version | 4.2 | |||
Project | ParaViS | ||||
Topic Name | |||||
Type | usability | ||||
Summary | 0014821: Long compilation of ParaView with early versions of gcc 4.4 | ||||
Description | The compilation of ParaView takes very long time on some Linux distributions. The analysis has shown that this problem takes place with some versions of gcc compiler. For example, this problem is reproduced on: - Mandriva 2010.0 64bits: gcc version 4.4.1. - CentOS 5.5 64bits: gcc version 4.4.0. The 'make' process freezes at compilation of ParaViewCore/ServerManager/SMApplication/vtkInitializationHelper.cxx file. The compilation, if not stopped, might take more than a week!!! :) In the end, the compilation of this file is successfully finished and rest of build procedure is done as usual. During the compilation of this file, CPU shows ~100% of loading (on multi-core systems only one core is loaded). The analysis has shown that the problem is caused by ParaView_build/ParaViewCore/ServerManager/SMApplication/vtkSMGeneratedModules.h file that is generated by kwProcessXML tool. Namely, this (very big) file operates with huge hard-coded string variables, e.g. ... // From file /data/mnt/vsr/tmp/ParaView-4.1.0_SRC/ParaViewCore/ServerManager/SMApplication/Resources/filters.xml static const char* const vtkSMDefaultModulesfiltersInterface0 = "<ServerManagerConfiguration>\n" " <ProxyGroup name=\"internal_filters\">\n" ... This problem can be fixed by patching of the Utilities/ProcessXML/ProcessXML.cxx file, in "void PrintHeader(const char* title, const char* file)" function, by replacing (in line 53) << "static const char* " << this->Prefix.c_str() << title << this->Suffix.c_str() << this->Count with << "static const char* const " << this->Prefix.c_str() << title << this->Suffix.c_str() << this->Count With this patch, the compilation of mentioned file takes just a second. No any negative side effect has been found after applying of this patch. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-06-24 11:25 | Vadim SANDLER | New Issue | |||
2014-07-17 03:37 | Tristan Coulange | Assigned To | => Tristan Coulange | ||
2014-07-25 04:46 | Tristan Coulange | Status | backlog => active development | ||
2014-07-28 12:54 | Tristan Coulange | Note Added: 0033107 | |||
2014-07-28 12:54 | Tristan Coulange | Status | active development => gatekeeper review | ||
2014-07-31 08:59 | Utkarsh Ayachit | Fixed in Version | => git-master | ||
2014-07-31 09:00 | Utkarsh Ayachit | Status | gatekeeper review => customer review | ||
2014-07-31 09:00 | Utkarsh Ayachit | Note Added: 0033165 | |||
2014-08-19 18:13 | Alan Scott | Note Added: 0033261 | |||
2014-08-19 18:13 | Alan Scott | Status | customer review => closed | ||
2014-08-19 18:13 | Alan Scott | Resolution | open => fixed | ||
2014-08-29 10:59 | Utkarsh Ayachit | Fixed in Version | git-master => 4.2 | ||
2015-01-11 08:16 | Tristan Coulange | Source_changeset_attached | => ParaView master 245c75c8 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|