frost user document heading  
               
NCAR
Last update: 11/20/07

Frost user doc contents

Libraries

Teragrid users may use the softenv command to customize their frost environment for consistency with their environment setup on other systems. Please see the information under the Compilers section for getting this command, plus others, in your path variable,

Mass

  • The BGL MASS libraries provide optimized scalar and vector intrinsic functions
  • Link line:
    • -lmass -lmassv -Wl,-allow-multiple-definition

NetCDF

  • current version installed is 3.6.1
    • -I/contrib/bgl/netcdf-3.6.1/include
      -L/contrib/bgl/netcdf-3.6.1/lib -lnetcdf

Parallel-NetCDF

  • installed in /contrib/bgl/pnetcdf

BLAS/LAPACK

  • /contrib/bgl/lib/libgoto.a (GotoBLAS)
  • /contrib/bgl/lib/libblas440.a (reference implementation)
  • /contrib/bgl/lib/liblapack440.a (reference implementation) (Note:order blas after lapack on link line)
  • /contrib/bgl/lib/
    • {libessln.a,libscale.a,libcpuid.a}
    • (experimental, incomplete ESSL)
    • link in this order: libessln.a libscale.a libcpuid.a

Tips for building your own libraries

General information on third-party software on TeraGrid systems is available under the Documentation tab on the User Portal located on the TeraGrid Main Page

GotoBLAS

  • Patch to build version 1.02 on Blue Gene and test with Cobalt:

    • GotoBLAS-1.02-bgl.patch
Patch GotoBLAS 1.02, compile and submit tests using Cobalt: cd GotoBLAS
patch -p1 < ../GotoBLAS-1.02-bgl.patch
make
cd test;make

PETSc

  • Put this config file in petsc-2.3.1-p12/config
    • bgl-ibm-blas_lapack.py
  • Then run ./config/bgl-ibm-blas_lapack.py
  • If you are feeling adventurous, you can try building PETSc against the experimental ESSL on Frost, with this config
    • bgl-ibm-essl.py

Trilinos

Example config

  • CC=mpxlc CXX=mpxlC CXXFLAGS="-DMPICH_IGNORE_CXX_SEEK" F77=mpxlf ./configure \
          --prefix=/home/voran/local/trilinos \
          --enable-triutils \
          --enable-teuchos \
          --enable-epetraext \
          --enable-epetra \
          --enable-aztecoo \
          --enable-ifpack \
          --enable-amesos \
          --enable-mpi \
          --with-blas=/contrib/bgl/lib/libblas440.a \
          --with-lapack=/contrib/bgl/lib/liblapack440.a \
          --with-gnumake
    
  • Comment these lines out in packages/triutils/src/Triutils_config.h:
          /* Define to 1 if you have the  header file. */
          /* #define HAVE_CSTDIO 1 / / Define to 1 if you have the  header file. */
          /* #define HAVE_CSTDLIB 1 */
    
  • Then execute these commands
    • make
    • make install

Next page | Table of contents - Frost user guide

If you have questions about this document, please contact CISL Customer Support. You can also reach us by telephone 24 hours a day, seven days a week at 303-497-1278. Additional contact methods: consult1@ucar.edu and during business hours in NCAR Mesa Lab Suite 39.

© Copyright 2004-2007. University Corporation for Atmospheric Research (UCAR). All Rights Reserved.

Address of this page: http://www.cisl.ucar.edu/docs/frost/libs.jsp