Virginia Tech
Advanced Research Computing
  • Home
  • About ARC@VT
  • Research
  • Services & Support
  • Systems & Resources
    • System X
    • SGI Systems
    • Sun Systems
      •      Accounts
      •      Usage Overview
      •      Help Requests
    • Sun Software
      •      Applications
      •      Compilers
      •      Subroutine Libraries
    • Visualization
  • Application Software
  • Web Site Map

Software Available on
VT ARC Sun Systems


MATLAB    SAS    Gauss    R    Compilers    Subroutine Libraries   

This page lists software which is currently available for your use on the VT ARC Sun Systems (Styx and Dante); for a listing of additional research software available at Virginia Tech, see:

http://www.arc.vt.edu/arc/software/index.php


Application Software


MATLAB

provides an environment and collection of tools for visualization, computation, and mathematical analysis.

To invoke MATLAB interactively, enter:
/software/matlab/bin/matlab

Enter the command  quit  to exit from the MATLAB environment.



To invoke MATLAB to execute the MATLAB program file file_name.m, enter:
/software/matlab/bin/matlab <file_name.m

The SAS System

is a comprehensive collection of data analysis and report generation products produced by SAS Institute Inc in Cary, NC.

SAS Version 9 is currently installed only on the VT ARC system Dante and has been installed in the directory   "/software/sasv9".

You can invoke the SAS processor to execute SAS program code in the file   "sas_file_name.sas"   by entering the following command:

/software/sasv9/sas  sas_file_name.sas

The results of running your program will be saved in the file   "sas_file_name.lst"; the sas output log and error diagnostics will be saved in the file:   "sas_file_name.log".



Gauss

provides tools for mathematical and statistical analysis.

To use Gauss with the Korn or BASH shells to run the program contained in the file "gauss_test.txt" in the current directory and save the results in the file "gauss_test.log", enter the following sequence of commands:
TGAUSSHOME='/software/gauss'
LD_LIBRARY_PATH='/software/gauss'
export TGAUSSHOME LD_LIBRARY_PATH
/software/gauss/tgauss  -b gauss_test.txt  >gauss_test.log


R

provides tools for graphics and statistical analysis.

R is installed in the  "/opt/local/bin"  directory on Dante.

R version 2.5.1 is installed in test mode in the  "/software/R-2.5.1/bin"  directory on Dante.

Note:  R 2.6.1 is installed on the VT ARC SGI Systems and is recommended for typical R use.

To invoke R 2.5.1 using the input file "test.r" and write the results to "test.out", you could use the following command:

    /software/R-2.5.1/bin/R  --vanilla <test.r >test.out
See Example R Program for sample R code which could be used for "test.r" above and the results which which would be obtained after the above command were executed.

Compilers


The Sun ONE Studio Fortran and C Compilers (Forte Compiler Collection 7, formerly known as Forte Developer 7) are now available on Dante:

To compile the Fortran program "test_prog.f" using the f95 compiler from this collection, enter:

/opt/SUNWspro/bin/f95  test_prog.f

To compile the C Language program "test_prog.c" using the cc compiler from this collection, enter:

/opt/SUNWspro/bin/cc  test_prog.c

Note:  If you prefer to use the GNU C compiler, use   "/opt/sfw/bin/gcc"  instead of  "/opt/SUNWspro/bin/cc"  above.



Subroutine Libraries

The following subroutine libraries are currently installed on the system:


IMSL


The IMSL Version 5.5 Mathematics and Statistics Subroutine Libraries are now available on Styx and Dante; IMSL provides a collection of subroutines for Mathematical and Statistical computations;   for details regarding use of the IMSL routines, see IMSL Online Documentation.

Since Styx has a larger number and faster processors, it is recommended that you use Styx when using the IMSL subroutine library on the VT ARC systems. If you wish to use Dante, substitute  "/software/imsl5.5"  for  "/apps/vni"  in the examples below:

Prior to using the IMSL subroutine libraries, you must define a series of environmental variables which are required by IMSL. If you are using the Bourne or Korn shell, use the following commands:

. /apps/vni/CTT6.0/ctt/bin/cttsetup.sh

If you are using the C Shell, use the following commands:

source /apps/vni/CTT6.0/ctt/bin/cttsetup.csh

Once you have defined the environmental variables as described above, you can then use the following command to compile the C program t_imsl.c:

/opt/SUNWspro/bin/cc  -o test_imsl  $CFLAGS  t_imsl.c  $LINK_CNL

Note: Any C language program that uses functions from the IMSL C/Math/Library must contain the include directive  "include <imsl.h>";  any C language program that uses functions from the IMSL C/Stat/Library must contain the include directive  "include <imsls.h>".

In order to use the IMSL Version 5 Fortran libraries in the SUN environment, you must use the Sun ONE Studio Fortran compiler. For example, you could use the following command to compile the Fortran program test_imsl.f:

/opt/SUNWspro/bin/f90 -o test_imsl $F90FLAGS test_imsl.f $LINK_F90



MATLAB    SAS    Gauss    R    Compilers    Subroutine Libraries   



VT-ARC Privacy Statement | Contact Us
VT-ARC is a Unit within the Office of the Vice President of Information Technology
© 2007-2008 Virginia Polytechnic Institute and State University
Principles of Community | Acceptable Use Policy | Accessibility | Equal Opportunity
Website Feedback   -   Page Last Updated:  April 2nd, 2008