OLD EECS site
This site is now
See the ECE and CSE department pages.
Upcoming Events
Undergraduate
Graduate
Research
People
Facilities
Software
Miscellaneous
|
You should visit the new
ECE or CSE
department's web pages.
To use the IMSL Numerical libraries.
The following brief sequence illustrate use of the IMSL numerical
libraries by a Bourne, Korn, or Bash shell user under Solaris.
The IMSL numerical libraries can be found in the directory tree
starting at "/apps/vni-eecs".
To use the IMSL C libraries.
- If you will be using the Sun c compilers (cc or acc) , add the
Sun WorkShop directory to your path.
PATH=/apps/SUNWspro/bin:$PATH
export PATH
- Initialize IMSL environment variables. Note the .
(period) before the script file.
. /apps/vni-eecs/ipt/bin/iptsetup.sh
- Compile your program, note that c_compiler should be replaced
with the desired compiler command, gcc for the GNU C compiler, or cc
or acc for the Sun C Compilers.
c_compiler -o sample $CFLAGS sample.c $LINK_CNL
- For a multi-file program, only include the $LINK_CNL variable on
the actual link step.
c_compiler -c $CFLAGS part1.c
c_compiler -c $CFLAGS part2.c
c_compiler -c $CFLAGS part3.c
c_compiler -o part $CFLAGS part1.o part2.o part3.o $LINK_CNL
To use the IMSL Fortran libraries.
- Since you will be using the Sun f77 compiler, you must add the
Sun WorkShop directory to your path.
PATH=/apps/SUNWspro/bin:$PATH
export PATH
- Initialize IMSL environment variables. Note the .
(period) before the script file.
. /apps/vni-eecs/ipt/bin/iptsetup.sh
- Compile your program. Note: the setup scripts defines the
environment variable $FC to be f77.
$FC -o sample $FFLAGS sample.f $LINK_FNL
- For a multi-file program, only include the $LINK_FNL variable on
the actual link step.
$FC -c $FFLAGS part1.f
$FC -c $FFLAGS part2.f
$FC -c $FFLAGS part3.f
$FC -o part $FFLAGS part1.o part2.o part3.o $LINK_FNL
Return to the EECS Software Index
You should visit the new department's web pages at
ECE or CSE .
The old EECS Department web site at Lehigh University /
|