next up previous
Next: Testing the Installation Up: APPENDIX E: Manipulating the Previous: Making the library

Subsections

Using other modules

Loading Main programs

Any program included in maimk4.f (eg simple) can be loaded by the dialogue:
1% $CCSL_PERL/get mai
Name of module (RETURN to exit) simple
Got simple.got
Name of module (RETURN to exit)
2% mv simple.got simple.f
3% f77 -n32 simple.f $CCSL_LIB/libmk4.a -o simple
4%
Alternatively the load command defined in the aliases file can be used eg
5% $CCSL_PERL/load simple
6%
Note that this command will get simple.f if it is not present. If the CCSL aliases have been set then $CCSL_PERL/get can be replaced simply by get and $CCSL_PERL/load by load

Extracting subroutines

The same get script can be used to extract individual modules from the library eg
$CCSL_PERL/get lib
allows one to get one or more chosen modules from libmk4.f and place them in files module-name.got.

P.J. Brown - Institut Laue Langevin, Grenoble, FRANCE. e-mail: brown@ill.fr