Project

General

Profile

cdo installation with Magics++

Added by Kostas S over 9 years ago

Hi,
I'm trying to install cdo with magics++ support, but I get the following error:

Magplot.c:10:24: fatal error: magics_api.h: No such file or directory

I install successfully Magics-2.22.7-Source with all the necessary libraries (zlib,slib,netcdf,grip_api,hdf5 etc)

I search my computer headers file for magics_api.h and I didn't find.

Without magics support cdo installation was successfully completed. This is the version of the libraries I used to install cdo without magics

[kostas@hector cdo-1.6.6]$ cdo -V
Climate Data Operators version 1.6.6 (http://code.zmaw.de/projects/cdo)
Compiled: by kostas on hector(x86_64-unknown-linux-gnu) Nov 27 2014 00:02:26
Compiler: mpicc -std=gnu99 -fopenmp
version: unknown
Features: PTHREADS OpenMP NC4 SZ Z JASPER UDUNITS2 PROJ.4 XML2 SSE2
Libraries: proj/4.8 xml2/2.9.1
Filetypes: srv ext ieg grb grb2 nc nc2 nc4 nc4c
CDI library version : 1.6.6 of Nov 27 2014 00:02:22
CGRIBEX library version : 1.7.0 of Sep 30 2014 13:27:33
GRIB_API library version : 1.12.3
netCDF library version : 4.2.1.1 of Nov 26 2014 01:09:43 $
HDF5 library version : 1.8.12
SERVICE library version : 1.3.2 of Nov 27 2014 00:02:18
EXTRA library version : 1.3.2 of Nov 27 2014 00:02:16
IEG library version : 1.3.3 of Nov 27 2014 00:02:17
FILE library version : 1.8.2 of Nov 27 2014 00:02:16

I would appreciate any suggestion :)

Thanks in advance


Replies (2)

RE: cdo installation with Magics++ - Added by Ralf Mueller over 9 years ago

that magics package comes with a compile wrapper. You'll need to give its CFLAGS and LDFLAGS to the cdo building process

    (1-2/2)