| ACADEMIC COMPUTING and COMMUNICATIONS CENTER | |||||||||
IMSL | ||
| Overview | ||
|
The IMSL FORTRAN 90 Numerical Libraries is a comprehensive resource of more than
900 FORTRAN 90 subroutines for applications in general applied mathematics and
for analyzing and presenting statistical data in scientific and business applications. |
||
| Setup | ||
Setup Fortran Numerical LibrariesBefore using the FORTRAN 90 Numerical
libraries we need to setup Intel compiler variables. For Bash users execute:
(Make sure you include the leading period. Make sure you put a blank between the period and the leading slash.) If you are running the C shell enter:
Now that the Intel compiler variables have been setup we proceed to setup the IMSL variables.
Automatization of Environment SetupInstead of entering the command each time you login, you may place the appropriate command in your login file and the command will automatically be executed each time you login. For bash shell users, place the command in your .bash_profile file; for C shell users, your .cshrc file. To see which shell you are using, enter the following:
If, at the end of the displayed line, you see /bin/bash then you are using the bash shell. On the other hand, if you see /bin/csh, then you are running the C shell. |
||
| Command to Compile/Link with IMSL | ||
|
$F90 $F90FLAGS -o name_of_executable source_file.f90 $LINK_F90 |
||
| Running programs with IMSL | ||
|
Programs are submitted to torque for execution. Create a text file with the following: #PBS -V For example purposes, assume my login name is jsmith, my home directory is
located in /home/homes51/jsmith, and the program to be run is called example1.
(To see the location of your home directory, enter: cd; pwd). The script file, which will be named my_script, is as follows: #PBS -V To execute the example1 program, enter the following command:
For more information about the qsub command, see the man page (man qsub). |
||
| Documentation | ||
|
||
| 2008-7-11 ACCC Systems Group |
|