Opened 8 years ago

Closed 8 years ago

#36017 closed defect (fixed)

CDO requests MPI when installing

Reported by: oliviermarti (Marti) Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: cdo

Description (last modified by ryandesign (Ryan Schmidt))

CDO does not install on my Mac OS X Lion 10.7.4 with an up to date MacPorts

The log says :

build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../libcdi/src -I/opt/local/lib/proj47/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -pipe -O2 -arch x86_64 -D_THREAD_SAFE -pthread -c -o cdo-Info.o `test -f 'Info.c' || echo './'`Info.c

The include for MPI, /opt/local/include/openmpi/, is not on the build line

And the consequence is :

info:build In file included from Importcmsaf.c:25:
:info:build In file included from /opt/local/include/hdf5.h:24:
:info:build /opt/local/include/H5public.h:61:13: fatal error: 'mpi.h' file not found
:info:build #   include <mpi.h>
:info:build             ^

I have install netcdf and hdf with the mpi (openmpi) variant, which I need. Maybe that explained which mpi.h is requested.

I have no hint how to deal with that kind of dependence.


Attachments (1)

main.log (46.9 KB) - added by oliviermarti (Marti) 8 years ago.
Install log

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by oliviermarti (Marti)

Attachment: main.log added

Install log

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

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

comment:2 Changed 8 years ago by tenomoto (Takeshi Enomoto)

Resolution: fixed
Status: newclosed

Committed in r97518. I was able to build by using h5pcc as C compiler to build cdo. Thank you for reporting.

Note: See TracTickets for help on using tickets.