Difference between revisions of "Frontenac:Migration"

From CAC Wiki
Jump to: navigation, search
(Compiling Code)
Line 115: Line 115:
 
== New cluster HowTo ... ==
 
== New cluster HowTo ... ==
  
== MPI ==
+
* [[Access:Frontenac|... log into the system]]
 +
* [[Software:Frontenac|... setup and use software]]
 +
* [[Filesystems:Frontenac|... find your way around the filesystems]]
 +
* [[SLURM|... submit jobs using SLURM]]
 +
|}
  
On both Solaris and Linux systems, the MPI distribution used is OpenMPI. On the Solaris platform this was integrated with the standard Studio compilers. On the Linux platform, two versions are in use:
 
* A stand-alone version of OpenMPI 1.8 is used in combination with the gcc compiler and setup through the '''use openmpi''' command.
 
* A second version (Intel 4.0 update 3) is used with the Intel compilers and set up together with them ("use icsmpi")
 
All of these versions use the '''mpirun command''' to invoke the runtime environment. Check with '''which mpirun''' to see which version you are currently using.
 
|}
 
 
{|  style="border-spacing: 8px;"
 
{|  style="border-spacing: 8px;"
 
| valign="top" width="50%" style="padding:1em; border:1px solid #aaaaaa; background-color:#e1eaf1; border-radius:7px" |
 
| valign="top" width="50%" style="padding:1em; border:1px solid #aaaaaa; background-color:#e1eaf1; border-radius:7px" |
 
== New Scheduler ==
 
 
== Scheduling ==
 
 
Both the "old" M9000 servers and the "new" SW (Linux) cluster use Sun Grid Engine as a scheduler. Please consult [[HowTo:Scheduler|our Scheduler Help File]] for details about its usage. The following table gives an overview of the alterations that need to be made to a submission script if execution is to take place on the Linux production nodes, i.e. the "SW cluster".
 
 
{| class="wikitable" style="float:left; margin-right: 25px;"
 
!colspan="3"| '''Changes in SGE submissions when migrating from Sparc/Solaris to x86/Linux'''
 
|-
 
|
 
|'''Sparc/Solaris'''
 
|'''x86/Linux'''
 
|-
 
| '''Queue name'''
 
| m9k.q (old default, deprecated)
 
| abaqus.q (new default)
 
|-
 
| '''Node names'''
 
| m9k000*
 
| sw00**, cac0**
 
|-
 
| '''Login node for <br> submission'''
 
| sflogin0
 
| swlogin1
 
|-
 
| '''Rel. Serial Execution Speed'''
 
| 1
 
| 3-6
 
|-
 
| '''Suggested Relative Nprocs'''
 
| 1
 
| 1/2
 
|-
 
| '''Queue specification <br> in submit script'''
 
| none
 
| none
 
|-
 
| '''Gaussian Parallel environment'''
 
| <pre>#$ -pe gaussian.pe</pre>
 
| <pre>#$ -pe glinux.pe</pre>
 
|-
 
| '''Gaussian Setup line'''
 
| <pre>. /opt/gaussian/setup.sh</pre>
 
| <pre>. /opt/gaussian/setup.sh</pre>
 
|}
 
 
Note that it is strongly suggested to '''lower the number of processes''' requested when submitting to the SW cluster. This is because the nodes are substantially smaller than then the M9000 servers, but provide greatly improved per-core performance. This means that even with half the core count, a speedup of 2-3 is likely.
 
 
We have added some entries to the table describing modifications that apply only for submissions of jobs running the Computational Chemistry software '''Gaussian'''. For more details about this software, please consult our [[HowTo:gaussian|Gaussian Help File]]. Gaussian submissions go to a dedicated large node on the SW cluster that uses local scratch space to improve performance and avoid bandwidth issues with IO.
 
  
 
== Help ==
 
== Help ==
 
If you have questions that you can't resolve by checking documentation, [mailto:cac.help@queensu.ca email to cac.help@queensu.ca].
 
If you have questions that you can't resolve by checking documentation, [mailto:cac.help@queensu.ca email to cac.help@queensu.ca].
 
|}
 
|}

Revision as of 18:57, 17 May 2017

Migrating to the new Frontenac (CAC) cluster

!!! This guide is seriously under construction. Please do not rely on anything you read here until this warning is removed !!!

This is a basic guide for users of our current CentOS 6 production systems ("SW cluster") to explain and facilitate migration to our new CentOS 7 systems ("Frontenac", "CAC cluster").

Migration Q&A

  • Q: Who migrates ?
A: Eventually, all of our users will migrate from the old SW (Linux) cluster to the new "Frontenac" (CAC) cluster
  • Q: Can I use my old "stuff" ?
A: Much of the old data and software will be usable on the new systems. However, the data will have to be copied over as the new systems use a separate file system, and cross access is not possible.
  • Q Do I have to re-compile ?
A: It is possible that you will have to re-compile some of the software you are using. We will assist you with this.
  • Q: Do I copy my files over myself ?
A: No. We will do this for you in the course of the coming months.
  • Q: Is this optional ?
A: Unfortunately not. We will move both user data and hardware according to a schedule.
  • Q: Can I decide when to move ?
A: To a degree. We are open to "early adopters". Once they have been moved we move the bulk of users according to our schedule.
  • Q: Will this disrupt my research ?
A: We will do our level best to keep disruptions to a minimum. We will give you a chance to "practise" on the new systems while you still have access to the old ones. Once you are on the new systems, access to the old ones will be cut to preserve data integrity.

Why migrate ?

Our systems underwent a substantial refresh last year with the retirement of the Solaris-based M9000 systems, and their replacement by new X86/Intel based hardware. This hardware was largely added to the existing "SW cluster" and eventually replaced it completely. However, this gradual replacement did not address issues in the base structure of that cluster, such as an old scheduler system, and a less than cutting-edge file system. To enable our users to make efficient use of the new hardware, we decided that it is time for a re-design of our main compute cluster. Some of our storage components reach their "end of life" phase and will be retired within a year.

Rather than permanently operating two separate clusters, we will gradually move both our users and the compute hardware from one cluster/network to the other. We will do so over the course of months to give individual users plenty of time to familiarize themselves with the new environment and "wrap up" their work on the old one, thus minimizing the impact on their research. However, in the interest of consistency, we can not make this process optional. We must move all our users to the new cluster by early 2018 when service contracts for the old components run out.

What's Different ?

The new cluster is based on a newer version of the same operating system "CentOS". We have replaced the scheduler by a "new generation" one called SLURM, which is the same as is used on the new Compute Canada "GP" systems. We also replaced our "environment management system" by the more powerful and standard "lmod". Here are the main changes in table format.

Difference between "old" SW (Linux) and "new" CAC (Frontenac) clusters
new SW (Linux) cluster new CAC (Frontenac) cluster
Operating System CentOS 6 CentOS 7
File System type NFS GPFS
Scheduler Sun Grid Engine (SGE) SLURM
Software Manager usepackage lmod
Backup management  ??? Hierarchical Storage Management (HSM)

Migration Schedule

The migration proceeds according to a scheme that was devised to minimize the impact on operations and user's research activities. Research groups migrate as a whole during a 3-4 week time period. The migration procedure has four steps:

  • 1 - Initiation of migration process
    • Contact PI to determine migration requirements and schedule a time.
    • Contact all researchers and issue temporary credentials to the new cluster.
    • Create temporary account on new cluster with restricted access (sandbox).
  • 2 - Rolling rsync of user data
    • Will be repeated until update requires less than 2 hrs
      • /home/hpcXXXX
      • /u1/work/hpcXXXX
      • /scratch/hpcXXXX if required
      • other directories if required
    • Users access the new systems through a "sandbox" home directory /global/migration/hpcXXXX
      • This area is temporary and will be deleted at the end of the migration.
    • This takes up to 4 weeks. The old cluster is still fully accessible.
    • Associated hardware will also be moved / updated during this time period.
  • 3 - Final group migration
    • User lockout, required for data integrity.
    • Final rsync on quiet data.
    • After this access to old cluster is blocked.
    • Jobs on old cluster are terminated.
  • 4 - Full access to new cluster.
    • Home directory on new cluster becomes /global/home/hpcXXXX
    • Feedback requested from user.

New cluster HowTo ...

Help

If you have questions that you can't resolve by checking documentation, email to cac.help@queensu.ca.