Opened 10 years ago

Closed 10 years ago

#45936 closed defect (invalid)

Problems with py27-tables and openmpi

Reported by: citibob@… Owned by: mamoll (Mark Moll)
Priority: Normal Milestone:
Component: ports Version: 2.3.0
Keywords: Cc:
Port: py-tables

Description (last modified by larryv (Lawrence Velázquez))

The Portfile failed to add the appropriate include/openmpi-xxx directory to the command line, or to use the mpi wrappers. This problem happens whether using the standard (Clang) variant, or the +gcc48 variant. This is happening with the LATEST py-tables Portfile (120497). This is apparently a DIFFERENT problem than the similar MPI problem with py-tables that was fixed 2 years ago (MPI configuration in the Portfile has been upgraded since then).

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 120497 2014-05-30 14:18:34Z mmoll@macports.org $

...

:info:build /Users/rpfische/macports/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
:info:build  #warning "Using deprecated NumPy API, disable it by " \
:info:build   ^
:info:build In file included from /Users/rpfische/macports/include/hdf5.h:24:0,
:info:build                  from tables/utilsextension.c:317:
:info:build /Users/rpfische/macports/include/H5public.h:61:20: fatal error: mpi.h: No such file or directory
:info:build  #   include <mpi.h>
:info:build                     ^
:info:build compilation terminated.
:info:build error: Command "/Users/rpfische/macports/bin/gcc-mp-4.8 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DNDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/Users/rpfische/macports/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include -I/Users/rpfische/macports/include -I/usr/local/include -I/sw/include -I/opt/include -I/opt/local/include -I/usr/include -I/include -I/Users/rpfische/macports/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c tables/utilsextension.c -o build/temp.macosx-10.9-x86_64-2.7/tables/utilsextension.o -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 -DH5_NO_DEPRECATED_SYMBOLS" failed with exit status 1
:info:build Command failed:  cd "/Users/rpfische/macports/var/macports/build/_Users_rpfische_macports_var_macports_sources_distfiles.macports.org_ports_python_py-tables/py27-tables/work/tables-3.1.1" && /Users/rpfische/macports/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build_ext --inplace --hdf5=/Users/rpfische/macports --bzip2=/Users/rpfische/macports --lzo=/Users/rpfische/macports --blosc=/Users/rpfische/macports 
:info:build Exit code: 1

Attachments (2)

Portfile (3.0 KB) - added by citibob@… 10 years ago.
main.log (85.2 KB) - added by citibob@… 10 years ago.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by citibob@…

Attachment: Portfile added

Changed 10 years ago by citibob@…

Attachment: main.log added

comment:1 Changed 10 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Owner: changed from macports-tickets@… to mmoll@…

Thanks for the report. In future tickets, please Cc relevant port maintainers (port info --maintainers py-tables).

comment:2 Changed 10 years ago by mamoll (Mark Moll)

Resolution: invalid
Status: newclosed

The Portfile you attached is definitely not the latest. Please type "port selfupdate" and try again. I cannot reproduce this with the latest Portfile.

Note: See TracTickets for help on using tickets.