USC Center for High Performance Computing and Communications

:: Systems & Resources
 > Linux Computing Resource
 > Sun Computing Resource
 > HPCC Policies

:: Getting Access
 > Account Applications
 > Account Resource Limits

:: Learning to Use
 > Linux Computing Resource
    - Standard Environment
    - Setting Up the Compiler
    - Temporary Disk Space
    - USCLinux
    - Portable Batch System
    - MPI Tutorials
    - MPI Compilers
    - MPI Execution
    - Gaussian03
    - Useful Commands
    - Compiler Help Pages
    - 64 Bit Nodes
 > Sun Computing Resource
    - Standard Environment
    - Setting Up the Compiler
    - Temporary Disk Space
    - Portable Batch System
    - MPI Tutorials
    - MPI Execution
    - Applications on Almaak-01

Setting Up the MPI Compilers

Systems & Access :: Learning to Use :: Linux Computing Resource

The various types of MPI installed in uschpc can be found under /usr/usc/mpich/default. The prefix 'gm' implies the compiler generates code that uses the myrinet interconnects. The prefix 'p4' means the compiler generates code that uses the ethernet network. You can find more information regarding the various compilers in the /usr/usc/mpich/default/README.USC file.

On every login, you must 'source' the setup.csh or setup.sh of the specific MPI compiler that you want to use. You do not need to 'source' any other setup file if you are going to use an MPI compiler. The various environment and path variables are set up when you source the setup.csh. For example

source /usr/usc/mpich/default/setup.csh
or
source /usr/usc/mpich/default/setup.sh

sets up the default compiler, which is the myrinet version of the Portland group compiler. When you submit the job to the PBS queue, you need to specify on the PBS command line that you require nodes with myrinet interconnects. Otherwise, your program will not run.

If you continue using only one compiler, you can include the above 'source' command line to your shell script (.cshrc or .bashrc) file so that you do not have to source it manually every time you login.


  ITS Policies       Contact HPCC