jamesorr / mocsy

Routines to model ocean carbonate system thermodynamics
MIT License
18 stars 16 forks source link

Error on `make mocsy.so` on mac #7

Open bradyrx opened 5 years ago

bradyrx commented 5 years ago

Following http://ocmip5.ipsl.jussieu.fr/mocsy/pyth.html with gfortran and numpy installed, make mocsy.so breaks with the current Makefile.

The culprit is cp -f -s src/$(KIND_MAP) .f2py_f2cmap under the mocsy.so target. It seems like Mac doesn't have the -s flag. Removing that allows it to run just fine. Perhaps the symbolic linking isn't necessary?