Directions
Get the appropriate library from netlib.
Add the library to your compilation line.
Ideally,
the library will have been moved to your system
by your system's administrator.
In that case, link as follows:
- if77 -o main main.f -liCC -nx -lkmath
- icc -o main main.c -liCC -nx -lkmath
Otherwise,
- for the Paragon R1.2 or R1.3 (example):
- if77 -o main main.f iCC.parR1.?.a -nx -lkmath
- icc -o main main.c iCC.parR1.?.a -nx -lkmath
- for the Paragon SUNMOS (example):
- sif77 -o main main.f iCC.SUNMOS.a -lkmath
- sicc -o main main.c iCC.SUNMOS.a -lkmath
- for the Touchstone Delta (example):
- if77 -o main main.f iCC.DELTA.a -nx -lkmath
- icc -o main main.c iCC.DELTA.a -nx -lkmath
- for the iPSC/860 (example):
- if77 -o main main.f iCC.IPSC.a -node -lkmath
- icc -o main main.c iCC.IPSC.a -node -lkmath
Note:
To try the library without changing NX calls, link
in NXtoiCC.version>.a INSTEAD of iCC.version.a.
(This is not supported for SUNMOS.)
Using the group interface:
In an application that uses the iCC group interface,
you must include the provided ".h" files:
- "iCC_group.h" for C applications
- "iCC_groupf.h" for FORTRAN applications
Also, you must link in the group library by adding the
group library to your command line:
(example)
- if77 -o main main.f -liCC_group -liCC -nx -lkmath
- icc -o main main.c -liCC_group -liCC -nx -lkmath
or
- if77 -o main main.f iCC_group.version.a iCC.version.a -nx -lkmath
- icc -o main main.f iCC_group.version.a iCC.version.a -nx -lkmath