Compiling OdePack static library
- Download OdePack. Only three files are needed, for double precision, the files we need are:
opkdmain.f
,opkda1.f
andopkda2.f
. - Compile the source codes with
$ gfortran -c opkdmain.f opkda1.f opkda2.f
three object files will be created, namely:
opkdmain.o
,opkda1.o
andopkda2.o
. - Build the static library
libodepack.a
with$ ar rcs libodepack.a opkdmain.o opkda1.o opkda2.o