ARCHIVED: Link the ARPACK numerical library to your Fortran program on Karst at IU
ARPACK is a collection of Fortran 77 subroutines for solving large eigenvalue problems. For more, see the ARPACK Users' Guide. Following are instructions for linking the ARPACK library to your Fortran program on Karst at Indiana University.
- Add the ARPACK library to your user environment:
- Make sure the Intel Compiler Suite module is loaded. To check, on the command line, enter
module list
, and review the output. If theintel/[version]
module is not listed, add it with themodule load
command; on the command line, enter:module load intel
- Load the ARPACK module; on the command line, enter:
module load arpack
- Make sure the Intel Compiler Suite module is loaded. To check, on the command line, enter
- To link the ARPACK library to your Fortran program, add the
-L
and-l
options to your compile command as shown in the following example. The-L
option adds the specified directory path to the library search list and should be placed before the-l
option to which it applies.To compile
myprogram.f
and link it with the ARPACK library, on the command line, enter:ifort myprogram.f -L/N/soft/rhel6/2.1/lib -larpack -o myprogram
If you need help or have questions regarding the use of ARPACK on IU's research supercomputers, contact the UITS Research Applications and Deep Learning team.
Research computing support at IU is provided by the Research Technologies division of UITS. To ask a question or get help regarding Research Technologies services, including IU's research supercomputers and research storage systems, and the scientific, statistical, and mathematical applications available on those systems, contact UITS Research Technologies. For service-specific support contact information, see Research computing support at IU.
This is document bdnq in the Knowledge Base.
Last modified on 2023-04-21 16:58:51.