Opened 12 years ago
Last modified 12 years ago
#36017 closed defect
CDO requests MPI when installing — at Initial Version
Reported by: | oliviermarti (Marti) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | ||
Port: | cdo |
Description
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.
Olivier
Install log