Rocketcalc
Products Company Download Contact


Name:
PETSc
Version:
2.1.5
Group:
Libraries
License(s):
Summary:
Suite of data structures and routines for the scalable (parallel) solution of scientific applications modeled by partial differential equations.
Web Site(s):
http://www-unix.mcs.anl.gov/petsc/petsc-2
File(s):
petsc-2.1.5-1-rocketcalc.tar.bz2
petsc-2.1.5.tar.bz2
Last Modified:
October 26, 2003

The Portable, Extensible, Toolkit for Scientific computation (PETSc) is a suite of data structures and routines that are used to solve scientific applications modeled by partial differential equations. PETSc utilizes Message Passing Interface standard (MPI) for communication.

The notation denotes a variable (such as directory name, file name, user name, etc.) that user has to substitute.

If a backslash (\) appears in a shell command, then it should be treated as a line continuation, i.e., it could be ignored if the user types in the shell command.

Rocketcalc provides a shell script (along the source code) to compile and install PETSc for GNU compilers (gcc, g++ and g77), Intel? (icc and ifc) compilers and Portland Group (pgcc, pgCC and pgf90) compilers. The following are the steps to install the compiled PETSc.

  • The user should make sure that the GNU (gcc, g++ and g77), Intel (icc and ifc), and Portland Group (pgcc, pfCC and pgf90) compilers are on PATH environment variable. If some of these compilers are not on your PATH, then PETSc will not be installed for the missing compilers. If Intel and Portland Group are not on user's PATH, then he/she must set his/her environment variable PATH. For example,
    export PATH=/usr/pgi/linux86/bin:/opt/intel/compilers70/ia32/bin:${PATH}
    for bash shell or
    setenv PATH /usr/pgi/linux86/bin:/opt/intel/compilers70/ia32/bin:${PATH}
    for tcsh shell. Note that for Portland Group compilers, the environment variable PGI must be set. The PGI environment variable must point to the directory where the Portland Group directory is installed. To check whether the environment variable is set, run
    echo ${PGI}
    If user gets nothing, then for example he/she must set PGI:
    export PGI=/usr/pgi
    for bash shell or
    setenv PGI /usr/pgi
    for tcsh shell.
  • Download the file petsc-2.1.5-1-rocketcalc.tar.bz2.
  • Unpack the tarball file:
    tar jxvf petsc-2.1.5-1-rocketcalc.tar.bz2
    This will create directory petsc-2.1.5-1-rocketcalc.
  • Change directory to petsc-2.1.5-1-rocketcalc:
    cd petsc-2.1.5-1-rocketcalc
  • To install PETSc, run the shell script petscinstall:
    ./petscinstall
During the installation, the user has to provide an directory where PETSc will be installed. PETSc will be installed in the directory /petsc/2.1.5. Moreover, for each compiler collection, the user must provide the MPI home directory of the MPI implementation that is based the corresponding compiler collection.

Products ??|?? Buy ??|?? Contact ??|?? Download ??|?? Bulletins ??|?? Company ??|?? Legal ??|?? Home