TeraGrid Logo
Learn About the TeraGridTeraGrid NewsEducation & TrainingScience GatewaysUser Support & Documentation

spacer TeraGrid.ncsa.uiuc.edu spacer
spacer

Back to TeraGrid Software Overview

Applications Software

INSTALLED SOFTWARE DESCRIPTION

PETSc

General Information

Short Description: Portable Extensible Toolkit for Sci Comp

Long Description:
PETSc, the Portable, Extensible Toolkit for Scientific Computation is a suite of data structures and routines for the uni- and parallel-processor solution of large-scale scientific application problems modeled by partial differential equations

Category: Mathematics and Statistics

Vendor/Developer: Mathematics and Computer Science Division, Argonne National Lab

Vendor Website: http://www-fp.mcs.anl.gov/

Software Website: http://www-fp.mcs.anl.gov/petsc/

Programming Language:

Terms of Use:

Installation Information

Version: 2.3.3      Version Date: 0000-00-00

Installed Site: National Center for Supercomputing Applications

Installed Platform: Intel 64 Linux Cluster

Point of Contact: Greg Bauer

Installation Status: Complete

Installation Date: 2008-01-08

Usage Information

Usage URL:

Usage Information:

PETSc is installed in /usr/apps/math/petsc on Abe. Current version being configured is 2.3.3-p7. For documentation on using PETSc please start at the PETSc-2 documentation page.

Builds (PETSC_ARCH) of devel/debug and optimized versions of:
devel/debug: abe-intel10, abe-intel10-c++ abe-intel10-complex, abe-gnu3-c++
and
optimized: abe-intel10-opt, abe-intel10-opt-c++ abe-intel10-opt-complex abe-gnu3-opt-c++ abe-gnu3-opt-c++
are available.

All builds use MVAPICH2 as the MPI implementation, which is the default MPI on Abe.
For the intel10 builds, add @mvapich2-1.0-intel to your ~/.soft file. For the gnu builds, add @mvapich2-1.0-gnu to your ~/.soft file.

If you have an existing PETSc application with a Makefile or script with uses the PETSC_DIR and PETSC_ARCH environment variables, set PETSC_DIR to /usr/apps/math/petsc/petsc-2.3.3-p7 and PETSC_ARCH to one of the builds above and make your application.

External Package builds:
HYPRE: abe-intel10-hypre abe-intel10-opt-hypre abe-intel10-c++-hypre-superludist abe-intel10-opt-c++-hypre-superludist abe-intel10-opt-hypre-superludist


Example usage of PETSc
Have the following in your ${HOME}/.soft file before the @default or the @teragrid lines
+intel-mkl-9.1.023
@remove +mvapich2-intel
@mvapich2-1.0-intel

Example which uses hypre preconditioning

% setenv PETSC_DIR /usr/apps/math/petsc/petsc-2.3.3-p7
% setenv PETSC_ARCH abe-intel10-opt-hypre
% cp /usr/apps/math/petsc/src/petsc-2.3.3-p7/src/ksp/ksp/examples/tutorials/ex10.c .
% cp /usr/apps/math/petsc/src/petsc-2.3.3-p7/src/ksp/ksp/examples/tutorials/makefile .
% make ex10
% mpdboot
% mpiexec -np 3 ./ex10 -options_left no -pc_type hypre -pc_hypre_type pilut -f0 /usr/apps/math/petsc/datafiles/matrices/medium
Number of iterations = 2
Residual norm 1.71183e-08
% mpiexec -np 3 ./ex10 -options_left no -pc_type hypre -pc_hypre_type parasails -f0 /usr/apps/math/petsc/datafiles/matrices/medium
Number of iterations = 11
Residual norm 3.29636e-05
% mpiexec -np 3 ./ex10 -options_left no -pc_type hypre -pc_hypre_type boomeramg -f0 /usr/apps/math/petsc/datafiles/matrices/medium
Number of iterations = 14
Residual norm 2.21201e-05

User Guide Homepage:

License Information

Number of Licenses:

User Fee:

Type of License: N/A

Type of Installation: Available to all allocated users

Distribution Information:

spacer
spacer spacer spacer
Upper Left Footer Upper Right Footer
TeraGrid logo
NSF logo

The TeraGrid project is funded by the National Science Foundation and includes 11 partners:
Indiana, LONI, NCAR, NCSA, NICS, ORNL, PSC, Purdue, SDSC, TACC and UC/ANL.

Please email help@teragrid.org with questions or comments.

This site is XHTML 1.0 Transitional, CSS compliant.

Bottom Left Footer Bottom Right Footer