View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001986 | ThirdParty | Bug | public | 2016-02-03 11:56 | 2016-03-27 20:23 |
Reporter | zordiack | Assigned To | henry | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | GNU/Linux | OS | Ubuntu | OS Version | 14.04 |
Summary | 0001986: ParaView 4.4.0 (and 5.0.0) fails to detect source code version | ||||
Description | When compiling ParaView 4.4.0 or 5.0.0 source code, the configuration script detects wrong version of source code (paraview-3.0) and installs into wrong location. Because ParaView installation is not where OpenFOAM is looking for it (paraview-4.4), the compilation of OpenFOAM readers for ParaView will fail. | ||||
Steps To Reproduce | Compile ParaView 4.4.0 or ParaView 5.0.0 sources with ./makeParaView4 script. | ||||
Additional Information | Proposed fix: Edit file ParaView-5.0.0/CMake/ParaViewDetermineVersion.cmake and comment out lines 41-50 (otherwise source version detection fails, this is also a bug in 4.4.0): if (NOT PARAVIEW_GIT_DESCRIBE) # if (EXISTS ${git_command}) # execute_process( # COMMAND ${git_command} describe # WORKING_DIRECTORY ${source_dir} # RESULT_VARIABLE result # OUTPUT_VARIABLE output # ERROR_QUIET # OUTPUT_STRIP_TRAILING_WHITESPACE # ERROR_STRIP_TRAILING_WHITESPACE) # endif() else() Now the installation script will detect the source code version from directory name, and the installation location is correct. | ||||
Tags | No tags attached. | ||||
|
It is not clear what OpenFOAM version you are building but I have already implemented a work-around for this bug in ParaView in OpenFOAM-dev and 3.0.x. |
|
Resolved in OpenFOAM-dev by commit bea095cc022ec8d9a9e1c438f32a0278ea397fc3 Author: Henry Weller <http://cfd.direct> Date: Mon Jan 18 18:15:29 2016 +0000 etc/config/paraview.*: Update include/lib directory name seaching to paraview-3.0 for ParaView-4.? Resolved in OpenFOAM-3.0.x by commit c3046cd6e30e49293f7c636150c43047a3e8b3da Author: Henry Weller <http://cfd.direct> Date: Mon Jan 18 18:13:00 2016 +0000 etc/config/paraview.*: Update include/lib directory name seaching to paraview-3.0 for ParaView-4.? |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-02-03 11:56 | zordiack | New Issue | |
2016-02-03 13:02 | henry | Note Added: 0005894 | |
2016-02-03 18:54 | henry | Note Added: 0005902 | |
2016-02-03 18:54 | henry | Status | new => closed |
2016-02-03 18:54 | henry | Assigned To | => henry |
2016-02-03 18:54 | henry | Resolution | open => fixed |
2016-03-27 20:23 | wyldckat | Relationship added | related to 0002034 |