% xterm &
That is, do all you IMSL computations in the xterm
window that you open with the xterm command. For example
if you use vi to edit, and you try to edit your source
file in the same window you define the IMSL environment
variables, you will get an error.
% source /opt/lib/ipt_2.0/ipt/bin/iptsetup.csh
% cc yourcprogram.c -o yourexecutable $LINK_CNL $CFLAGS
% yourexecutable
[7]% cp /opt/lib/ipt_2.0/examples/cnl/cmath.c .
[8]% source /opt/lib/ipt_2.0/ipt/bin/iptsetup.csh
[9]% cc cmath.c -o cmath.exe $CFLAGS $LINK_CNL
[10]% cmath.exe
Library version: IMSL C/Math/Library Version 2.0
Customer number: 601350
Solution, x of Ax = b
1 2 3
-2 -2 3
where the first line, "1 2 3" refers to
x x x
1 2 3