P7 Linux Cluster
P7 Cluster (P7) | |
---|---|
Installed | May 2011, March 2013 |
Operating System | Linux (RHEL 6.3) |
Number of Nodes | 8 (256 cores) |
Interconnect | Infiniband (2 DDR/node ) |
Ram/Node | 128 Gb |
Cores/Node | 32 (128 Threads) |
Login/Devel Node | p701 (from login.scinet) |
Vendor Compilers | xlc/xlf |
Queue Submission | LoadLeveler |
Specifications
The P7 Cluster consists of 8 IBM Power 755 Servers each with 4x 8core 3.3GHz Power7 CPUs and 128GB Ram. Similar to the Power 6, the Power 7 utilizes Simultaneous Multi Threading (SMT), but extends the design from 2 threads per core to 4. This allows the 32 physical cores to support up to 128 threads which in many cases can lead to significant speedups.
Login
First login via ssh with your scinet account at login.scinet.utoronto.ca, and from there you can proceed to p7n01-ib0 which is currently the gateway/devel node for this cluster. It is recommended that you modify your .bashrc files to distinguish between the TCS, P7, and GPC to avoid module confusion, an example configuration is given here.
Compiler/Devel Node
From p7n01-ib0 you can compile, do short tests, and submit your jobs to the queue.
Software
GNU Compilers
gcc/g++/gfortran version 4.4.4 is the default with RHEL 6.3 and is available by default. Gcc 4.6.1 is available as a separate module. However, it is recommended to use the IBM compilers (see below).
IBM Compilers
To use the IBM Power specific compilers xlc/xlc++/xlf you need to load the following modules
$ module load vacpp xlf
NOTE: Be sure to use "-q64" when using the IBM compilers.
MPI
IBM's POE is available and will work with both the IBM and GNU compilers.
$ module load pe
The mpi wrappers for C, C++ and Fortran 77/90 are mpicc, mpicxx, and mpif77/mpif90, respectively (but mpcc, mpCC and mpfort should also work).
Note: To use the full C++ bindings of MPI (those in the MPI namespace) in c++ code, you need to add -cpp to the compilation command, and you need to add -Wl,--allow-multiple-definition to the link command if you are linking several object files that use the MPI c++ bindings.
Spark
To run Spark you need to previously load JRE1.7.0 via JDK
p7n01-$ module load jdk/JRE1.7.0 p7n01-$ which java /scinet/p7/Applications/jdk/bin/java
Load Spark as follow :
p7n01-$ module load spark/1.4.1 p7n01-$ echo $SPARK_HOME /scinet/p7/Applications/spark-1.4.1
Submit a MPI Job
The current Scheduler is IBM's LoadLeveler similar to the implementation on the TCS, however be sure to include the @environment flags shown below in that sample script as they are different and necessary to get full performance.
#!/bin/bash ##=================================== ## P7 Load Leveler Submission Script ##=================================== ## ## Don't change these parameters unless you really know what you are doing ## ##@ environment = MP_INFOLEVEL=0; MP_USE_BULK_XFER=yes; MP_BULK_MIN_MSG_SIZE=64K; \ ## MP_EAGER_LIMIT=64K; MP_DEBUG_ENABLE_AFFINITY=no ## ##=================================== ## Avoid core dumps ## @ core_limit = 0 ##=================================== ## Job specific ##=================================== # # @ job_name = myjob # @ job_type = parallel # @ class = verylong # @ output = $(jobid).out # @ error = $(jobid).err # @ wall_clock_limit = 2:00:00 # @ node = 2 # @ tasks_per_node = 128 # @ queue # #=================================== ./my_code
To submit a job
llsubmit myjob.ll P7
To show running jobs use
llq
To cancel a job use
llcancel JOBID