[MacPorts] #33803: openmpi @1.5.5 +gcc46+threads - build error (cuda)

MacPorts noreply at macports.org
Wed Mar 28 08:19:51 PDT 2012


#33803: openmpi @1.5.5 +gcc46+threads - build error (cuda)
--------------------------------+-------------------------------------------
 Reporter:  srinath@…           |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  2.0.4                                
 Keywords:                      |        Port:                                       
--------------------------------+-------------------------------------------
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/openmpi/work/openmpi-1.5.5/ompi/contrib/vt/vt/vtlib/vt_cudartwrap.c:1378:14:
 error: conflicting types for 'cudaPointerGetAttributes'
 cudaError_t  cudaPointerGetAttributes(struct cudaPointerAttributes
 *attributes, void *ptr)
              ^
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/openmpi/work/openmpi-1.5.5/ompi/contrib/vt/vt/vtlib/vt_cudartwrap.c:13:
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/openmpi/work/openmpi-1.5.5/ompi/contrib/vt/vt/vtlib/vt_cudartwrap.h:25:
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/openmpi/work/openmpi-1.5.5/ompi/contrib/vt/vt/vtlib/vt_cuda_runtime_api.h:20:
 /usr/local/cuda/include/cuda_runtime_api.h:3899:39: note: previous
 declaration is here
 extern __host__ cudaError_t CUDARTAPI cudaPointerGetAttributes(struct
 cudaPointerAttributes *attributes, const void *ptr);
                                       ^
 1 error generated.
 make[5]: *** [vt_cudartwrap.lo] Error 1

-- 
Ticket URL: <https://trac.macports.org/ticket/33803>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list