View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001161 | OpenFOAM | Bug | public | 2014-02-17 20:35 | 2014-02-18 16:47 |
Reporter | albertop | Assigned To | henry | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | openSUSE | OS Version | 13.1 |
Summary | 0001161: PV4Readers do not build because of incorrect path | ||||
Description | Building PV4Readers fails after issuing the instructions: cd $FOAM_UTILITIES/postProcessing/graphics/PV4Readers wmSET ./Allwclean ./Allwmake because the path specified for $Paraview_INCLUDE_DIR does not exist. The environment variable points to ../OpenFOAM/ThirdParty-2.3.x/platforms/linux64Gcc/Paraview-4.1.0/include/paraview-4.1 but this directory is not there. | ||||
Tags | No tags attached. | ||||
|
Have you compiled paraview, and if so are you using the sources packed in our ThirdParty-2.3.0 (renamed to ThirdParty-2.3.x), or are you downloading from paraview.org? If you are using our pack, you should be able to move to the third party directory and compile paraview: cd $WM_THIRD_PARTY_DIR ./makeParaView4 After this, you can rebuild the readers: cd $FOAM_UTILITIES/postProcessing/graphics/PV4Readers ./Allwclean ./Allwmake If you have downloaded the source from paraview.org, the archive now extracts to a directory called "ParaView-v4.1.0", instead of "ParaView-4.1.0" (note the "v"). You will need to rename the directory "ParaView-4.1.0" within $WM_THIRD_PARTY_DIR for paraview to build. |
|
I am using the OpenFOAM source from the git repository, with the ThirdParty package from your website. Paraview compiles correctly, but the readers do not build because they cannot find VTK headers (VTKPoints.h for example). I checked the Make directory for the readers, and found out that it tries to include $(Paraview_INCLUDE_DIR), but this is set to point to an directory that does not exist (see initial post). |
|
> because the path specified for $Paraview_INCLUDE_DIR does not exist. $Paraview_INCLUDE_DIR is incorrect, the environment variable is $ParaView_INCLUDE_DIR dm(203) echo $ParaView_INCLUDE_DIR /home/dm2/henry/OpenFOAM/ThirdParty-2.3.0/platforms/linux64Gcc/ParaView-4.1.0/include/paraview-4.1 > The environment variable points to > ../OpenFOAM/ThirdParty-2.3.x/platforms/linux64Gcc/Paraview-4.1.0/include/paraview-4.1 This is also incorrect, it should point to ...../OpenFOAM/ThirdParty-2.3.0/platforms/linux64Gcc/ParaView-4.1.0/include/paraview-4.1 It is not clear why your files refer to Paraview-4.1.0 rather than ParaView-4.1.0 |
|
I am sorry, I typed the path by hand since it is on a remote machine. The spelling of the path and of the environment variable you reported is correct, and it matches what I have on my system (as expected, since ParaView compiles fine). The actual problem is that the "correct" PATH .../OpenFOAM/ThirdParty-2.3.0/platforms/linux64Gcc/ParaView-4.1.0/include/paraview-4.1 does not exist, so the headers aren't found :-) A simple cd $ParaView_INCLUDE_DIR returns "No such file or directory". |
|
After you compiled ParaView-4.1.0 using the makeParaView4 script provided where did it install for you? What is the correct path to the ParaView-4.1.0/include/paraview-4.1 directory? |
|
The paraview executable is in /home/alberto/OpenFOAM/ThirdParty-2.3.x/platforms/linux64Gcc/ParaView-4.1.0/bin/paraview It seems I do not have any directory named "include" in the ThirdParty-2.3.x tree which contains a sub-directory called "paraview-4.1". |
|
It looks like part of the ParaView-4.1.0 build failed and it did not install the include directory as it should. You will need to study the log of the build to see if there are any messages relating to this. |
|
I think I found what was causing the problem. I was using "makeParaView" rather than "makeParaView4". My bad, but maybe the instructions for the git release should be modified as follows: To install Paraview, execute the following (except for RHEL) cd $WM_THIRD_PARTY_DIR ./makeParaView4 |
|
Sorry about the confusion, we will update the documentation. |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-02-17 20:35 | albertop | New Issue | |
2014-02-18 09:49 | will | Note Added: 0002842 | |
2014-02-18 10:00 | will | Note Edited: 0002842 | |
2014-02-18 14:47 | albertop | Note Added: 0002845 | |
2014-02-18 15:05 | henry | Note Added: 0002847 | |
2014-02-18 15:20 | albertop | Note Added: 0002848 | |
2014-02-18 15:24 | henry | Note Added: 0002850 | |
2014-02-18 16:05 | albertop | Note Added: 0002851 | |
2014-02-18 16:14 | henry | Note Added: 0002852 | |
2014-02-18 16:29 | albertop | Note Added: 0002853 | |
2014-02-18 16:47 | henry | Note Added: 0002854 | |
2014-02-18 16:47 | henry | Status | new => resolved |
2014-02-18 16:47 | henry | Resolution | open => fixed |
2014-02-18 16:47 | henry | Assigned To | => henry |