After downloading adpack2.2.tar.gz, decompress it as follows:
% tar zxvf adpack2.2.tar.gzWhen it is completed, you can find four directories (source, work, work_FEMLDA, work_FEMHF) under the directory, adpack2.2. The directory, 'source', contains souce files, and 'work', 'work_FEMLDA', 'work_FEMHF' contain input files for conventional, FEMLDA, and FEMHF calculations, respectively. Then, move to the directory, 'source', and change CC and LIB in makefile as explained in the subsection, Including library. After setting CC and LIB, install as follows:
% make installWhen the compile is completed normally, then you can find the executable file, adpack, in the directory, 'work'. To make the execution of ADPACK efficient, you can change a compiler and compile options appropriate for your computational environment, which can generate an optimized executable file. Then, it might be made by specifying CC in the makefile which exists in directory, 'source'. The default for the specification of CC is as follows:
CC = gcc -Dnoomp -std=c99 -O3 -I/usr/local/include -I/home/ozaki/includeHowever, it is highly recommended to use the gnu C compiler (gcc) for the numerical stability, 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.