[vtk-developers] [VTK 0012979]: VTK/Parallel/vtkPNetCDFPOPReader.cxx doesn't compile using a standard netcdf installation
Mantis Bug Tracker
mantis at public.kitware.com
Mon Mar 5 12:58:05 EST 2012
The following issue has been SUBMITTED.
======================================================================
http://www.vtk.org/Bug/view.php?id=12979
======================================================================
Reported By: domibel
Assigned To:
======================================================================
Project: VTK
Issue ID: 12979
Category: (No Category)
Reproducibility: have not tried
Severity: minor
Priority: normal
Status: backlog
Project: TBD
Type: crash
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 2012-03-05 12:58 EST
Last Modified: 2012-03-05 12:58 EST
======================================================================
Summary: VTK/Parallel/vtkPNetCDFPOPReader.cxx doesn't compile
using a standard netcdf installation
Description:
I am running into the following compiler error if I use a system netcdf
installation. Is this a bug in netcdf or vtk?
[ 72%] Building CXX object
Parallel/CMakeFiles/vtkParallel.dir/vtkPNetCDFPOPReader.cxx.o
/home/domibel/github/VTK/Parallel/vtkPNetCDFPOPReader.cxx:39:6: error: #error
MPI_Comm is #define'd somewhere! That's BAD! (Try checking netcdf.h.)
/home/domibel/github/VTK/Parallel/vtkPNetCDFPOPReader.cxx: In member function
‘virtual int vtkPNetCDFPOPReader::RequestData(vtkInformation*,
vtkInformationVector**, vtkInformationVector*)’:
/home/domibel/github/VTK/Parallel/vtkPNetCDFPOPReader.cxx:474:115: error: cannot
convert ‘ompi_communicator_t**’ to ‘int*’ in initialization
/home/domibel/github/VTK/Parallel/vtkPNetCDFPOPReader.cxx:476:100: error:
invalid conversion from ‘int’ to ‘MPI_Comm {aka ompi_communicator_t*}’
[-fpermissive]
/usr/lib/openmpi/include/mpi.h:1136:20: error: initializing argument 6 of
‘int MPI_Irecv(void*, int, MPI_Datatype, int, int, MPI_Comm,
ompi_request_t**)’ [-fpermissive]
/home/domibel/github/VTK/Parallel/vtkPNetCDFPOPReader.cxx: In member function
‘int vtkPNetCDFPOPReader::ReadAndSend(vtkInformation*, int)’:
/home/domibel/github/VTK/Parallel/vtkPNetCDFPOPReader.cxx:636:115: error: cannot
convert ‘ompi_communicator_t**’ to ‘int*’ in initialization
/home/domibel/github/VTK/Parallel/vtkPNetCDFPOPReader.cxx:637:83: error: invalid
conversion from ‘int’ to ‘MPI_Comm {aka ompi_communicator_t*}’
[-fpermissive]
/usr/lib/openmpi/include/mpi.h:1140:20: error: initializing argument 6 of
‘int MPI_Isend(void*, int, MPI_Datatype, int, int, MPI_Comm,
ompi_request_t**)’ [-fpermissive]
make[2]: *** [Parallel/CMakeFiles/vtkParallel.dir/vtkPNetCDFPOPReader.cxx.o]
Error 1
make[1]: *** [Parallel/CMakeFiles/vtkParallel.dir/all] Error 2
make: *** [all] Error 2
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2012-03-05 12:58 domibel New Issue
======================================================================
More information about the vtk-developers
mailing list