[MOAB-dev] Moab Paraview plugin will not compile

Cook, Rich cook47 at llnl.gov
Mon Oct 8 19:20:04 CDT 2012


On Oct 8, 2012, at 4:57 PM, Tim Tautges wrote:

> 
> 
> On 10/08/2012 04:24 PM, Cook, Rich wrote:
>> OK, I found my problem.
>> I moved the Paraview build directory, and that's where the bogus path came from.  Duh.
>> Cmake now completes and generates makefiles.
>> 
>> The next error is more serious:
>> 
>> rcook at rzgpu53 (vtkMOABReader): make
>> make[2]: *** No rule to make target `vtkMOABReader.xml', needed by `vtkSMXML_vtkMOABReader.h'.  Stop.
>> make[1]: *** [CMakeFiles/vtkMOABReader.dir/all] Error 2
>> make: *** [all] Error 2
>> 
> 
> Ok.  I haven't grabbed the paraview repo yet, so haven't gotten far enough to check myself.  Note, the error message above looks to me like it's a problem with one of the generated files, so you might want to completely clean the directory and try again.

I'm not working from a repo by the way -- I just downloaded from ... um .. somewhere, can't remember at the moment. 

Here's what happened after a clean build.  I did this: 

rm -rf moab-4.5.0
tar -xzf moab-4.5.0.tar.gz
pushd moab-4.5.0
./configure  --prefix=/nfs/tmp2/rcook/ParaView/moab-plugin/install-dir
make -j
pushd tools/vtkMOABReader/

# Everything is fine, then I do cmake and make and get the same error: 

cmake -DParaView_DIR=/nfs/tmp2/rcook/ParaView/moab-plugin/Paraview-BuildDir/src/ParaView-3.14.0-Build/ .
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/local/bin/gcc
-- Check for working C compiler: /usr/local/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Loading ParaView CMake commands
-- Loading ParaView CMake commands - done
-- Loading ParaView-VisItBridge CMake commands
-- GUI parameters ignored for vtkMOABReader plugin because PARAVIEW_BUILD_QT_GUI is off.
-- Configuring done
-- Generating done
-- Build files have been written to: /nfs/tmp2/rcook/ParaView/moab-plugin/moab-4.5.0/tools/vtkMOABReader
make -j
+ make -j
make[2]: *** No rule to make target `vtkMOABReader.xml', needed by `vtkSMXML_vtkMOABReader.h'.  Stop.
make[1]: *** [CMakeFiles/vtkMOABReader.dir/all] Error 2
make: *** [all] Error 2



> 
>> FYI -- I know you said it's broken, but there ya go.
>> 
>> You say to watch for commit messages -- on what list would those appear?
> 
> moab-dev.  I thought I remembered approving your membership to that list a few days ago, right?

Yes, I'm posting to and reading this on that list right now.  Thanks. 

> 
> - tim
> 
>> Thanks
>> -- Rich
>> 
>> On Oct 8, 2012, at 2:11 PM, Cook, Rich wrote:
>> 
>>> OK, got it.
>>> I am a bit curious about why it's complaining about /tmp/dpkg-mkdeb.eHKBP8GXWA/src/ParaView-3.14.0-Source/ParaViewUse.cmake, when I put -DParaView_DIR=/nfs/tmp2/rcook/ParaView/moab-plugin/Paraview-BuildDir/src/ParaView-3.14.0-Build/ -- the /tmp/ directory was something I did use before and somehow it remembered it...
>>> 
>>> On Oct 8, 2012, at 11:56 AM, Tim Tautges wrote:
>>> 
>>>> 
>>>> The paraview plugin is a work in progress.  It's been updated in the trunk, but it's still not working, or needs the latest repo version of paraview rather than a released version.  I'm hoping we get that working in the next few weeks, so feel free to check back (or keep an eye on commit messages, probably from either me or Bob O'Bara).
>>>> 
>>>> - tim
>>>> 
>>>>> + cmake -DParaView_DIR=/nfs/tmp2/rcook/ParaView/moab-plugin/Paraview-BuildDir/src/ParaView-3.14.0-Build/ .
>>>>> -- The C compiler identification is GNU
>>>>> -- The CXX compiler identification is GNU
>>>>> -- Check for working C compiler: /usr/local/bin/gcc
>>>>> -- Check for working C compiler: /usr/local/bin/gcc -- works
>>>>> -- Detecting C compiler ABI info
>>>>> -- Detecting C compiler ABI info - done
>>>>> -- Check for working CXX compiler: /usr/bin/c++
>>>>> -- Check for working CXX compiler: /usr/bin/c++ -- works
>>>>> -- Detecting CXX compiler ABI info
>>>>> -- Detecting CXX compiler ABI info - done
>>>>> CMake Error at CMakeLists.txt:8 (INCLUDE):
>>>>>  include could not find load file:
>>>>> 
>>>>>    /tmp/dpkg-mkdeb.eHKBP8GXWA/src/ParaView-3.14.0-Source/ParaViewUse.cmake
>>>>> 
>>>>> 
>>>>> CMake Error at CMakeLists.txt:9 (ADD_PARAVIEW_PLUGIN):
>>>>>  Unknown CMake command "ADD_PARAVIEW_PLUGIN".
>>>>> 
>>>>> 
>>>>> -- Configuring incomplete, errors occurred!
>>>>> 
>>>>> 
>>>> 
>>>> --
>>>> ================================================================
>>>> "You will keep in perfect peace him whose mind is
>>>> steadfast, because he trusts in you."               Isaiah 26:3
>>>> 
>>>>            Tim Tautges            Argonne National Laboratory
>>>>        (tautges at mcs.anl.gov)      (telecommuting from UW-Madison)
>>>> phone (gvoice): (608) 354-1459      1500 Engineering Dr.
>>>>           fax: (608) 263-4499      Madison, WI 53706
>>>> 
>>> 
>>> --
>>> ✐Richard Cook
>>> ✇ Lawrence Livermore National Laboratory
>>> Bldg-453 Rm-4024, Mail Stop L-557
>>> 7000 East Avenue,  Livermore, CA, 94550, USA
>>> ☎ (office) (925) 423-9605
>>> ☎ (fax) (925) 423-6961
>>> ---
>>> Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
>>> (opinions expressed herein are mine and not those of LLNL)
>>> 
>>> 
>>> 
>> 
> 
> -- 
> ================================================================
> "You will keep in perfect peace him whose mind is
>  steadfast, because he trusts in you."               Isaiah 26:3
> 
>             Tim Tautges            Argonne National Laboratory
>         (tautges at mcs.anl.gov)      (telecommuting from UW-Madison)
> phone (gvoice): (608) 354-1459      1500 Engineering Dr.
>            fax: (608) 263-4499      Madison, WI 53706
> 

-- 
✐Richard Cook   
✇ Lawrence Livermore National Laboratory
Bldg-453 Rm-4024, Mail Stop L-557        
7000 East Avenue,  Livermore, CA, 94550, USA
☎ (office) (925) 423-9605    
☎ (fax) (925) 423-6961
---
Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
(opinions expressed herein are mine and not those of LLNL)





More information about the moab-dev mailing list