<div dir="ltr"><div><div><div>Yes, it will be easier to diagnose what's going with this if you have you're own build of ParaView from source.<br><br></div>For testing, when building the Catalyst examples make sure that BUILD_TESTING is set to ON.<br><br></div>Regards,<br></div>Andy<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 6, 2015 at 9:19 AM, Ufuk Utku Turuncoglu (BE) <span dir="ltr"><<a href="mailto:u.utku.turuncoglu@be.itu.edu.tr" target="_blank">u.utku.turuncoglu@be.itu.edu.tr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>Thanks for your suggestions Andy. When
      you are mentioning about the "full build of ParaView with Catalyst
      enabled as well as the Fortran adaptor", are you suggesting to
      install Paraview from the source? By the way, how can i enable
      test in cmake? Thanks again.<br>
      <br>
      Regards, <br>
      <br>
      --ufuk<div><div class="h5"><br>
      <br>
      On 06/04/15 16:14, Andy Bauer wrote:<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>Hi,<br>
                <br>
              </div>
              I haven't tried any of this on a Mac so it's possible that
              something is amiss there. Have you tried the same examples
              with the full build of ParaView with Catalyst enabled as
              well as the Fortran adaptor? If you build the examples
              with testing enabled you should be able to run ctest to
              verify that things are working properly. It's not a very
              thorough test but should run the sample executable along
              with a Catalyst Python script to generate some kind of
              output.<br>
              <br>
            </div>
            If none of that works I'd suggest trying it on a Linux
            machine to see what's going on there.<br>
            <br>
          </div>
          Regards,<br>
        </div>
        Andy<br>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Mon, Apr 6, 2015 at 8:02 AM, Ufuk
          Utku Turuncoglu (BE) <span dir="ltr"><<a href="mailto:u.utku.turuncoglu@be.itu.edu.tr" target="_blank">u.utku.turuncoglu@be.itu.edu.tr</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
            <br>
            I am trying to run ParaViewCatalystExampleCode under Mac OS
            10.10.2. I have already installed<br>
            <br>
            Catalyst-base+essentials+extras+renderingbase+python-Source.tar<br>
            <br>
            to my machine successfully and i would like to test the
            example codes. The main problem is that i am getting
            following error when i try to run the FortranPoissonSolver<br>
            <br>
            epsilon:FortranPoissonSolver turuncu$ ./FortranPoissonSolver
            coproc.py<br>
            Error: Cannot import vtkPVServerManagerDefaultPython<br>
            Error: Cannot import vtkPVAnimationPython<br>
            ...<br>
            ...<br>
            <br>
            i also created following shell script to run the example<br>
            <br>
            CATALYST="/Users/turuncu/Qsync/progs/catalyst"<br>
            export PYTHONHOME="$CATALYST/lib"<br>
            export PYTHONPATH="$CATALYST/lib:$PYTHONPATH"<br>
            export PYTHONPATH="$CATALYST/lib/site-packages:$PYTHONPATH"<br>
            export PYTHONPATH="$CATALYST/lib/site-packages/paraview:$PYTHONPATH"<br>
            export PYTHONPATH="$CATALYST/lib/site-packages/vtk:$PYTHONPATH"<br>
            <br>
            export LD_LIBRARY_PATH="$CATALYST/lib:$LD_LIBRARY_PATH"<br>
            export DYLD_LIBRARY_PATH="$CATALYST/lib:$DYLD_LIBRARY_PATH"<br>
            <br>
            ./FortranPoissonSolver coproc.py<br>
            <br>
            but in this case, it complains as "ImportError: No module
            named site". I think that it might be realted with the
            definition of PYTHONHOME environment variable and somehow it
            causes problem in Python side. Anyway, i am using Enthought,
            Canopy (64bit) for python implementation under Mac OS and i
            also tried to add PYTHONPATH to shell script to define
            Canopy related modules<br>
            <br>
            export PYTHONPATH="/Applications/Canopy.app/appdata/canopy-1.4.1.1975.macosx-x86_64/Canopy.app/Contents/lib/python2.7:$PYTHONPATH"<br>
            <br>
            but again i am getting following error which could be
            related with the wrong definition of environment variables
            or their orders because sys has base_prefix method (tested
            under ipython)<br>
            <br>
            ...<br>
            ...<br>
                from sysconfig import get_config_var<br>
              File "/Applications/Canopy.app/appdata/canopy-1.4.1.1975.macosx-x86_64/Canopy.app/Contents/lib/python2.7/sysconfig.py",
            line 95, in <module><br>
                _BASE_PREFIX = os.path.normpath(sys.base_prefix)<br>
            AttributeError: 'module' object has no attribute
            'base_prefix'<br>
            <br>
            So, i just wonder that is there anybody that run these
            examples under MacOS along with Enthought, Canopy? Is there
            any custom script to run the example? Do you suggest me to
            go directly to Linux (i.e. Centos etc.) to solve these
            problems.<br>
            <br>
            Thanks,<br>
            Best Regards,<br>
            <br>
            Ufuk Turuncoglu<br>
            Istanbul Technical University<br>
            Informatics Institute<br>
            _______________________________________________<br>
            Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
            <br>
            Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
            <br>
            Please keep messages on-topic and check the ParaView Wiki
            at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
            <br>
            Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
            <br>
            Follow this link to subscribe/unsubscribe:<br>
            <a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>