next up previous contents
Next: Installing Up: Installation Previous: Installation   Contents

Including library

ADPACK uses one library package, LAPACK (, which must be linked during the compilation. Instead of LAPACK, an alternative library such as ATLAS, MKL, and ACML can be used as well. To link an library, CC and LIB in makefile stored in the directory, 'source', have to be property changed depending on your computatational emvironment. The default setting for CC and LIB are
    CC      = gcc -Dnoomp -std=c99 -O3 -I/usr/local/include -I/home/ozaki/include
    LIB     = -L/home/ozaki/lib -latlas_p4 -static
We strongly recommend for users to use the gnu C compiler (gcc), since our all test calculations were performed using an executable file compiled with gcc. Among the compiler options shown above, -Dnoomp and -std=c99 should remain unchanged when gcc is used, the other parts must be property changed.