Using IMSL on Statistics Computer System
There are two things you need to do to link to IMSL.
First you have to set up some IMSL related variables by sourcing the file /vni/ipt/bin/iptsetup.csh
I do this in my .tcshrc file with the line
source /vni/ipt/bin/iptsetup.csh
Next, you need to do the actual linking. Here is how I compile the FORTRAN program Gibbs whose source is in gibbs.f:
gibbs: gibbs.f
$(FC) -o gibbs $(FFLAGS) gibbs.f $(LINK_FNL)
The two lines above are in a Makefile, and all I need to do is type
make gibbs
at the shell prompt.
Mario Peruggia, Associate Professor
Division of Biostatistics and Epidemiology
Department of Health Evaluation Sciences
University of Virginia School of Medicine
|