#36017: CDO requests MPI when installing ----------------------------------------+----------------------------------- Reporter: olivier.marti@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: cdo ----------------------------------------+----------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => takeshi@… * port: => cdo Old 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
New 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 -- -- Ticket URL: <https://trac.macports.org/ticket/36017#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS