[Paraview] ParaView 3.14.1 ADIOS reader build errors
Pettey . Lucas
LPettey at drc.com
Wed Feb 6 14:18:16 EST 2013
Hello again everyone,
I talked with the ADIOS developers and they suggested adding to CPPFLAGS
the flag -DADIOS_USE_READ_API_1.
ParaView 3.14.1 is trying to use the pre-1.4 ADIOS read library and the flag tells ADIOS to revert to the old read system.
Hope this helps anyone with a similar issue.
Lucas
________________________________________
From: paraview-bounces at paraview.org [paraview-bounces at paraview.org] on behalf of Pettey . Lucas [LPettey at drc.com]
Sent: Wednesday, February 06, 2013 11:25 AM
To: paraview at paraview.org
Subject: [Paraview] ParaView 3.14.1 ADIOS reader build errors
Hello everyone,
I am trying to build ParaView 3.14 with the ADIOS Reader. I have the latest ADIOS 1.4.1 library built. I am receiving the following errors:
[ 98%] Building CXX object Plugins/AdiosReader/CMakeFiles/AdiosReaderPluginMPI.dir/vtkAdiosReader.cxx.o
In file included from /Users/lucaspettey/ParaView-3.14.1-Source/Plugins/AdiosReader/vtkAdiosReader.cxx:15:
In file included from /Users/lucaspettey/ParaView-3.14.1-Source/Plugins/AdiosReader/vtkAdiosReader.h:22:
In file included from /Users/lucaspettey/ParaView-3.14.1-Source/VTK/Filtering/vtkCompositeDataSetAlgorithm.h:25:
In file included from /Users/lucaspettey/ParaView-3.14.1-Source/VTK/Filtering/vtkAlgorithm.h:32:
In file included from /Users/lucaspettey/ParaView-3.14.1-Source/VTK/Common/vtkObject.h:41:
In file included from /Users/lucaspettey/ParaView-3.14.1-Source/VTK/Common/vtkObjectBase.h:43:
In file included from /Users/lucaspettey/ParaView-3.14.1-Source/VTK/Common/vtkIndent.h:24:
In file included from /Users/lucaspettey/ParaView-3.14.1-Source/VTK/Common/vtkSystemIncludes.h:40:
In file included from /Users/lucaspettey/ParaView-3.14.1-Source/VTK/Common/vtkIOStream.h:108:
In file included from /usr/include/c++/4.2.1/backward/strstream:51:
/usr/include/c++/4.2.1/backward/backward_warning.h:32:2: warning: This file includes at least one deprecated or antiquated header. Please consider using one of
the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or
<iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated. [-W#warnings]
#warning This file includes at least one deprecated or antiquated header. \
^
In file included from /Users/lucaspettey/ParaView-3.14.1-Source/Plugins/AdiosReader/vtkAdiosReader.cxx:16:
/Users/lucaspettey/ParaView-3.14.1-Source/Plugins/AdiosReader/vtkAdiosInternals.h:108:41: error: no member named 'timedim' in 'ADIOS_VARINFO'
this->TimeIndexComponent = varInfo->timedim; // -1 if no time steps
~~~~~~~ ^
/Users/lucaspettey/ParaView-3.14.1-Source/Plugins/AdiosReader/vtkAdiosInternals.h:110:50: error: no member named 'timedim' in 'ADIOS_VARINFO'
this->Dimension = varInfo->ndim - ((varInfo->timedim == -1) ? 0 : 1); // The dimension here do not take the time into account
~~~~~~~ ^
/Users/lucaspettey/ParaView-3.14.1-Source/Plugins/AdiosReader/vtkAdiosInternals.h:117:18: error: no member named 'gmin' in 'ADIOS_VARINFO'
if (varInfo->gmin && varInfo->gmax)
~~~~~~~ ^
/Users/lucaspettey/ParaView-3.14.1-Source/Plugins/AdiosReader/vtkAdiosInternals.h:117:35: error: no member named 'gmax' in 'ADIOS_VARINFO'
if (varInfo->gmin && varInfo->gmax)
~~~~~~~ ^
/Users/lucaspettey/ParaView-3.14.1-Source/Plugins/AdiosReader/vtkAdiosInternals.h:121:52: error: no member named 'gmin' in 'ADIOS_VARINFO'
this->Range[0] = (double)(*((int*)varInfo->gmin));
~~~~~~~ ^
/Users/lucaspettey/ParaView-3.14.1-Source/Plugins/AdiosReader/vtkAdiosInternals.h:122:52: error: no member named 'gmax' in 'ADIOS_VARINFO'
this->Range[1] = (double)(*((int*)varInfo->gmax));
~~~~~~~ ^
/Users/lucaspettey/ParaView-3.14.1-Source/Plugins/AdiosReader/vtkAdiosInternals.h:126:54: error: no member named 'gmin' in 'ADIOS_VARINFO'
this->Range[0] = (double)(*((float*)varInfo->gmin));
~~~~~~~ ^
/Users/lucaspettey/ParaView-3.14.1-Source/Plugins/AdiosReader/vtkAdiosInternals.h:127:54: error: no member named 'gmax' in 'ADIOS_VARINFO'
this->Range[1] = (double)(*((float*)varInfo->gmax));
~~~~~~~ ^
/Users/lucaspettey/ParaView-3.14.1-Source/Plugins/AdiosReader/vtkAdiosInternals.h:131:55: error: no member named 'gmin' in 'ADIOS_VARINFO'
this->Range[0] = (double)(*((double*)varInfo->gmin));
~~~~~~~ ^
/Users/lucaspettey/ParaView-3.14.1-Source/Plugins/AdiosReader/vtkAdiosInternals.h:132:55: error: no member named 'gmax' in 'ADIOS_VARINFO'
this->Range[1] = (double)(*((double*)varInfo->gmax));
~~~~~~~ ^
/Users/lucaspettey/ParaView-3.14.1-Source/Plugins/AdiosReader/vtkAdiosInternals.h:139:40: error: no member named 'timedim' in 'ADIOS_VARINFO'
if(this->Dimension > 3 || varInfo->timedim > 0)
~~~~~~~ ^
/Users/lucaspettey/ParaView-3.14.1-Source/Plugins/AdiosReader/vtkAdiosInternals.h:1468:3: error: unknown type name 'ADIOS_GROUP'
ADIOS_GROUP **Groups;
^
/Users/lucaspettey/ParaView-3.14.1-Source/Plugins/AdiosReader/vtkAdiosInternals.h:397:18: error: use of undeclared identifier 'adios_fopen'
this->File = adios_fopen(this->FileName.c_str(), (comm) ? *comm : 0);
^
/Users/lucaspettey/ParaView-3.14.1-Source/Plugins/AdiosReader/vtkAdiosInternals.h:401:25: error: use of undeclared identifier 'err_end_of_file'; did you mean
'err_end_of_stream'?
if(adios_errno != err_end_of_file)
^~~~~~~~~~~~~~~
err_end_of_stream
/usr/local/include/adios_error.h:35:5: note: 'err_end_of_stream' declared here
err_end_of_stream = -21, /* stream: reached end of stream,
^
In file included from /Users/lucaspettey/ParaView-3.14.1-Source/Plugins/AdiosReader/vtkAdiosReader.cxx:16:
/Users/lucaspettey/ParaView-3.14.1-Source/Plugins/AdiosReader/vtkAdiosInternals.h:426:21: error: use of undeclared identifier 'ADIOS_GROUP'
this->Groups = (ADIOS_GROUP **) malloc(this->File->groups_count * sizeof(ADIOS_GROUP *));
^
/Users/lucaspettey/ParaView-3.14.1-Source/Plugins/AdiosReader/vtkAdiosInternals.h:426:35: error: expected expression
this->Groups = (ADIOS_GROUP **) malloc(this->File->groups_count * sizeof(ADIOS_GROUP *));
^
/Users/lucaspettey/ParaView-3.14.1-Source/Plugins/AdiosReader/vtkAdiosInternals.h:436:48: error: no member named 'ntimesteps' in 'ADIOS_FILE'
cout << " - time steps: " << this->File->ntimesteps << " from " << this->File->tidx_start << endl;
~~~~~~~~~~ ^
/Users/lucaspettey/ParaView-3.14.1-Source/Plugins/AdiosReader/vtkAdiosInternals.h:436:86: error: no member named 'tidx_start' in 'ADIOS_FILE'
cout << " - time steps: " << this->File->ntimesteps << " from " << this->File->tidx_start << endl;
~~~~~~~~~~ ^
/Users/lucaspettey/ParaView-3.14.1-Source/Plugins/AdiosReader/vtkAdiosInternals.h:437:44: error: no member named 'groups_count' in 'ADIOS_FILE'
cout << " - groups: " << this->File->groups_count << endl;
~~~~~~~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
make[2]: *** [Plugins/AdiosReader/CMakeFiles/AdiosReaderPluginMPI.dir/vtkAdiosReader.cxx.o] Error 1
make[1]: *** [Plugins/AdiosReader/CMakeFiles/AdiosReaderPluginMPI.dir/all] Error 2
make: *** [all] Error 2
Any advice would be appreciated.
Thanks,
Lucas
________________________________
This electronic message transmission and any attachments that accompany it contain information from DRC® (Dynamics Research Corporation) or its subsidiaries, or the intended recipient, which is privileged, proprietary, business confidential, or otherwise protected from disclosure and is the exclusive property of DRC and/or the intended recipient. The information in this email is solely intended for the use of the individual or entity that is the intended recipient. If you are not the intended recipient, any use, dissemination, distribution, retention, or copying of this communication, attachments, or substance is prohibited. If you have received this electronic transmission in error, please immediately reply to the author via email that you received the message by mistake and also promptly and permanently delete this message and all copies of this email and any attachments. We thank you for your assistance and apologize for any inconvenience.
_______________________________________________
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
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview
More information about the ParaView
mailing list