Use of SDSSMATH
Here are some things you will need to do in your application:
- To use a straight C binding, include the file "shMath_c.h".
- To use a DERVISH-based C binding, include the file "shMath.h".
- Include $(SDSSMATH_DIR)/lib/libsdssmath.a in LDFLAGS in your Makefile;
- If you are using a LAPACK binding, then include
$(LAPACK_DIR)/lib/liblapack.a $(LAPACK_DIR)/lib/libtmglib.a
$(LAPACK_DIR)/lib/libblas.a in LDFLAGS in your Makefile;
- If you are using a CERNLIB binding, then include
-L$(CERN_DIR)/lib -lpacklib -lkernlib in LDFLAGS in your
Makefile;
You will need to have LAPACK and CERN setup to compile.