Compiling Your Code
Jump to navigation
Jump to search
Compiling Your Code
We need to do some editing here based on Huberts recent email about what is supported......Larry
- For Phoenix, Intel, GCC, HP, PGI, and MPICH are installed.
- For Zephyr, Intel, OpenMPI and MPICH are installed. GCC and Open64 compilers are available as well.
- To begin using any of these packages, add the appropriate module command to your .bashrc or .cshrc file, or load the module in your current environment.
- You may want to look at the Zephyr Configuration and the Phoenix Configuration when you need to optimize your code for our hardware.
- The best-tested compiler-MPI combination on Phoenix is Intel-Intel. Use this module command to set up your environment to use the latest version of each:
module load compiler/intel mpi/intel
This command will need to go in either your shell's configuration files or your Torque job script.
The directory /doc/pbs/mpitest on the cluster contains small C and Fortran programs you can use to test your compiler and MPI toolchain.