[Paraview] build with enabling silo

samar aseeri samaraseeri at yahoo.com
Sun Jan 24 07:23:15 EST 2016


Hi David,
I have built the v5 ParaView with silo-4.9.1 the version that was used in the superbuild but still not able to successfully complete the build. I have attached the make output in case you help.

Best Regards
 

    On Saturday, 9 January 2016, 18:00, samar aseeri <samaraseeri at yahoo.com> wrote:
 

 Hi David,
Which version of silo is used for the v5 paraview? What configuration options for silo should I choose?

Best Regards
 

    On Saturday, 9 January 2016, 15:14, samar aseeri <samaraseeri at yahoo.com> wrote:
 

 Hi David,

Please ignore above message. I have built the silo and have linked it but getting the below make error. Please advice.
Best

/project/k1033/Projects/bilal/paraview/ParaView-v5.0.0-RC4-source/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:13751:17: note: in expansion of macro 'DBGetDataReadMask'
     long mask = DBGetDataReadMask();
                 ^
/project/k1033/Projects/bilal/paraview/aux/silo/4.10.2/include/silo.h:1814:30: error: expected primary-expression before ',' token
 #define DBSetDataReadMask(A) ,DBSetDataReadMask_is_replaced_with_DBSetDataReadMask2_using_unsigned_long_long
                              ^
/project/k1033/Projects/bilal/paraview/ParaView-v5.0.0-RC4-source/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:13752:5: note: in expansion of macro 'DBSetDataReadMask'
     DBSetDataReadMask(DBUMGlobNodeNo);
     ^
/project/k1033/Projects/bilal/paraview/aux/silo/4.10.2/include/silo.h:1814:31: error: 'DBSetDataReadMask_is_replaced_with_DBSetDataReadMask2_using_unsigned_long_long' was not declared in this scope
 #define DBSetDataReadMask(A) ,DBSetDataReadMask_is_replaced_with_DBSetDataReadMask2_using_unsigned_long_long
                               ^
/project/k1033/Projects/bilal/paraview/ParaView-v5.0.0-RC4-source/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:13752:5: note: in expansion of macro 'DBSetDataReadMask'
     DBSetDataReadMask(DBUMGlobNodeNo);
     ^
/project/k1033/Projects/bilal/paraview/aux/silo/4.10.2/include/silo.h:1814:30: error: expected primary-expression before ',' token
 #define DBSetDataReadMask(A) ,DBSetDataReadMask_is_replaced_with_DBSetDataReadMask2_using_unsigned_long_long
                              ^
/project/k1033/Projects/bilal/paraview/ParaView-v5.0.0-RC4-source/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:13754:5: note: in expansion of macro 'DBSetDataReadMask'
     DBSetDataReadMask(mask);
     ^
/project/k1033/Projects/bilal/paraview/ParaView-v5.0.0-RC4-source/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C: In member function 'vtkDataArray* avtSiloFileFormat::GetGlobalZoneIds(int, const char*)':
/project/k1033/Projects/bilal/paraview/aux/silo/4.10.2/include/silo.h:1815:29: error: expected primary-expression before ',' token
 #define DBGetDataReadMask() ,DBGetDataReadMask_is_replaced_with_DBGetDataReadMask2_using_unsigned_long_long
                             ^
/project/k1033/Projects/bilal/paraview/ParaView-v5.0.0-RC4-source/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:13842:17: note: in expansion of macro 'DBGetDataReadMask'
     long mask = DBGetDataReadMask();
                 ^
/project/k1033/Projects/bilal/paraview/aux/silo/4.10.2/include/silo.h:1814:30: error: expected primary-expression before ',' token
 #define DBSetDataReadMask(A) ,DBSetDataReadMask_is_replaced_with_DBSetDataReadMask2_using_unsigned_long_long
                              ^
/project/k1033/Projects/bilal/paraview/ParaView-v5.0.0-RC4-source/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:13843:5: note: in expansion of macro 'DBSetDataReadMask'
     DBSetDataReadMask(DBUMZonelist|DBZonelistGlobZoneNo|DBZonelistInfo);
     ^
/project/k1033/Projects/bilal/paraview/aux/silo/4.10.2/include/silo.h:1814:31: error: 'DBSetDataReadMask_is_replaced_with_DBSetDataReadMask2_using_unsigned_long_long' was not declared in this scope
 #define DBSetDataReadMask(A) ,DBSetDataReadMask_is_replaced_with_DBSetDataReadMask2_using_unsigned_long_long
                               ^
/project/k1033/Projects/bilal/paraview/ParaView-v5.0.0-RC4-source/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:13843:5: note: in expansion of macro 'DBSetDataReadMask'
     DBSetDataReadMask(DBUMZonelist|DBZonelistGlobZoneNo|DBZonelistInfo);
     ^
/project/k1033/Projects/bilal/paraview/aux/silo/4.10.2/include/silo.h:1814:30: error: expected primary-expression before ',' token
 #define DBSetDataReadMask(A) ,DBSetDataReadMask_is_replaced_with_DBSetDataReadMask2_using_unsigned_long_long
                              ^
/project/k1033/Projects/bilal/paraview/ParaView-v5.0.0-RC4-source/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:13845:5: note: in expansion of macro 'DBSetDataReadMask'
     DBSetDataReadMask(mask);
     ^
/project/k1033/Projects/bilal/paraview/ParaView-v5.0.0-RC4-source/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C: In member function 'avtMaterial* avtSiloFileFormat::CalcMaterial(DBfile*, const char*, const char*, int)':
/project/k1033/Projects/bilal/paraview/ParaView-v5.0.0-RC4-source/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:14218:18: error: invalid conversion from 'float**' to 'void**' [-fpermissive]
         tmp.vals = (float**) new float*[1];
                  ^
In file included from /project/k1033/Projects/bilal/paraview/ParaView-v5.0.0-RC4-source/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.h:50:0,
                 from /project/k1033/Projects/bilal/paraview/ParaView-v5.0.0-RC4-source/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:42:
/project/k1033/Projects/bilal/paraview/ParaView-v5.0.0-RC4-source/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C: In member function 'avtFacelist* avtSiloFileFormat::CalcExternalFacelist(DBfile*, const char*)':
/project/k1033/Projects/bilal/paraview/aux/silo/4.10.2/include/silo.h:1815:29: error: expected primary-expression before ',' token
 #define DBGetDataReadMask() ,DBGetDataReadMask_is_replaced_with_DBGetDataReadMask2_using_unsigned_long_long
                             ^
/project/k1033/Projects/bilal/paraview/ParaView-v5.0.0-RC4-source/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:14423:17: note: in expansion of macro 'DBGetDataReadMask'
     long mask = DBGetDataReadMask();
                 ^
/project/k1033/Projects/bilal/paraview/aux/silo/4.10.2/include/silo.h:1814:30: error: expected primary-expression before ',' token
 #define DBSetDataReadMask(A) ,DBSetDataReadMask_is_replaced_with_DBSetDataReadMask2_using_unsigned_long_long
                              ^
/project/k1033/Projects/bilal/paraview/ParaView-v5.0.0-RC4-source/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:14424:5: note: in expansion of macro 'DBSetDataReadMask'
     DBSetDataReadMask(DBUMFacelist | DBFacelistInfo);
     ^
/project/k1033/Projects/bilal/paraview/aux/silo/4.10.2/include/silo.h:1814:31: error: 'DBSetDataReadMask_is_replaced_with_DBSetDataReadMask2_using_unsigned_long_long' was not declared in this scope
 #define DBSetDataReadMask(A) ,DBSetDataReadMask_is_replaced_with_DBSetDataReadMask2_using_unsigned_long_long
                               ^
/project/k1033/Projects/bilal/paraview/ParaView-v5.0.0-RC4-source/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:14424:5: note: in expansion of macro 'DBSetDataReadMask'
     DBSetDataReadMask(DBUMFacelist | DBFacelistInfo);
     ^
/project/k1033/Projects/bilal/paraview/aux/silo/4.10.2/include/silo.h:1814:30: error: expected primary-expression before ',' token
 #define DBSetDataReadMask(A) ,DBSetDataReadMask_is_replaced_with_DBSetDataReadMask2_using_unsigned_long_long
                              ^
/project/k1033/Projects/bilal/paraview/ParaView-v5.0.0-RC4-source/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:14426:5: note: in expansion of macro 'DBSetDataReadMask'
     DBSetDataReadMask(mask);
     ^
make[2]: *** [Utilities/VisItBridge/databases/CMakeFiles/vtkIOVisItBridge.dir/Silo/avtSiloFileFormat.C.o] Error 1
make[1]: *** [Utilities/VisItBridge/databases/CMakeFiles/vtkIOVisItBridge.dir/all] Error 2
make: *** [all] Error 2
srun: error: nid03378: task 0: Exited with exit code 2
srun: Terminating job step 1045899.0



    On Friday, 8 January 2016, 21:54, samar aseeri <samaraseeri at yahoo.com> wrote:
 

 David,
Which one the above is on website "http://www.paraview.org/download/" called "ParaView-v5.0.0-RC4-source.tar.gz"
 

    On Friday, 8 January 2016, 21:27, David E DeMarle <dave.demarle at kitware.com> wrote:
 

 ParaView: git at gitlab.kitware.com:paraview/paraview.git
builds only paraview - if you want silo, you need to compile it and tell paraview where it is. I recommend checking out, configuring and building silo that the same way ParaView super build (below) does it.
Superbuild: git at gitlab.kitware.com:paraview/paraview-superbuild.git
downloads configures and builds silo, qt, python, mpi, …, and finally paraview (starting by checking out the above) and then telling it where it build the rest.
Does that help clear things up?


David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
On Fri, Jan 8, 2016 at 1:19 PM, samar aseeri <samaraseeri at yahoo.com> wrote:

Then why am i getting the above cmake error. Why it is not finding the paths. Where is ParaView going to build the silo so I could refer to the paths manually.

Best Regards
 

    On Friday, 8 January 2016, 20:26, David E DeMarle <dave.demarle at kitware.com> wrote:
 

 
On Fri, Jan 8, 2016 at 12:19 PM, samar aseeri <samaraseeri at yahoo.com> wrote:

Dear David,
Thanks for the quick response. I'm doing the superbuild and will manually download the silo and build it then refer to the libraries.


The superbuild should download and built silo (and everything else ParaView wants to use) for you. 
Best Regards
 

    On Friday, 8 January 2016, 20:16, David E DeMarle <dave.demarle at kitware.com> wrote:
 

 Yes you do.
We use the paraview super build to do it like so for the paraview binaries.
https://gitlab.kitware.com/paraview/paraview-superbuild/blob/master/Projects/silo.cmake

hth

David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
On Fri, Jan 8, 2016 at 12:11 PM, samar aseeri via ParaView <paraview at paraview.org> wrote:

Dear ParaView Officials,
I'm getting the following cmake error while enabling the silo for paraview. I want to know if have to manually build silo and refer to its paths.

 CMake Error at VTK/CMake/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):
   Could NOT find SILO (missing: SILO_LIBRARY SILO_INCLUDE_DIR)
 Call Stack (most recent call first):
   VTK/CMake/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE)
   CMake/FindSILO.cmake:42 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
   Utilities/VisItBridge/databases/CMakeLists.txt:114 (find_package)


Best Regards


_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview





   



   



   

   

   

  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160124/7505a480/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.log
Type: application/octet-stream
Size: 741793 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160124/7505a480/attachment-0001.obj>


More information about the ParaView mailing list