Opened 12 years ago

Last modified 11 years ago

#33803 closed defect

openmpi @1.5.5 +gcc46+threads - build error (cuda) — at Version 1

Reported by: srinath@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: openmpi

Description (last modified by ryandesign (Ryan Carsten Schmidt))

/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

Change History (2)

Changed 12 years ago by srinath@…

Attachment: main.log added

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to mww@…
Port: openmpi added

Remember to use WikiFormatting, to fill in the Port field, and to Cc the maintainer of that port so that they see the ticket.

Note: See TracTickets for help on using tickets.