diff --git a/contribs/cray/srun2.pl b/contribs/cray/srun2.pl index a7fb0e10fa6750935894b04b9f9c6be8e3ce1dc1..95b3abeeefaa646f7b01ee9b7b0f0d070645ceb6 100755 --- a/contribs/cray/srun2.pl +++ b/contribs/cray/srun2.pl @@ -7,7 +7,8 @@ # ############################################################################### # -# Copyright (C) 2011 SchedMD LLC +# Copyright (C) 2011 SchedMD LLC <http://www.schedmd.com>. +# Supported by the Oak Ridge National Laboratory Extreme Scale Systems Center # Written by Morris Jette <jette1@schedmd.gov>. # CODE-OCEC-09-009. All rights reserved. # diff --git a/doc/html/cray.shtml b/doc/html/cray.shtml index 077900ddbcb0bc53084da4cf16609efb4f1fda66..d3d5425a61fb4e2527e8552be6c2d1f7d33033b6 100644 --- a/doc/html/cray.shtml +++ b/doc/html/cray.shtml @@ -4,8 +4,7 @@ <h2>User Guide</h2> -<p>This document describes the unique features of SLURM on -Cray computers. +<p>This document describes the unique features of SLURM on Cray computers. You should be familiar with the SLURM's mode of operation on Linux clusters before studying the differences in Cray system operation described in this document.</p> @@ -18,8 +17,20 @@ Then use ALPS' <i>aprun</i> command to launch parallel jobs within the resource allocation. The resource allocation is terminated once the the batch script or the <i>salloc</i> command terminate. -Other than SLURM's <i>srun</i> command being replaced by <i>aprun</i>, all -other SLURM commands will operate as expected.</p> +Alternately there is an <i>aprun</i> wrapper distributed with SLURM in +<i>contribs/cray/srun2aprun</i> which will translate <i>srun</i> options +into the equivalent <i>aprun</i> options. This wrapper will also execute +<i>salloc</i> as needed to create a job allocation in which to run the +<i>aprun</i> command. The <i>srun2aprun</i> script contains two new options: +<i>--man</i> will print a summary of the options including notes about which +<i>srun</i> options are not supported and <i>--alps="</i> which can be used +to specify <i>aprun</i> options which lack an equivalent within <i>srun</i>. +For example, <i>srun2aprun --alps="-a xt" -n 4 a.out</i>. +Since <i>aprun</i> is used to launch tasks (the equivalent of a SLURM +job step), the job steps will not be visible using SLURM commands. +Other than SLURM's <i>srun</i> command being replaced by <i>aprun</i> +and the job steps not being visible, all other SLURM commands will operate +as expected.</p> <p>SLURM node names will be of the form "nid#####" where "#####" is a five digit sequence number. @@ -250,9 +261,13 @@ ulimit -t unlimited # max amount of CPU time in seconds ulimit -d unlimited # max size of a process's data segment in KB </pre> +<p>Copyright (C) 2011 <a href="http://www.schedmd.com">SchedMD LLC</a>.<br> +Supported by the +<a href="http://www.ornl.gov/ornlhome/high_performance_computing.shtml"> +Oak Ridge National Laboratory Extreme Scale Systems Center</a></p> <p class="footer"><a href="#top">top</a></p> -<p style="text-align:center;">Last modified 28 March 2011</p></td> +<p style="text-align:center;">Last modified 6 April 2011</p></td> <!--#include virtual="footer.txt"--> diff --git a/src/plugins/select/cray/cray_config.c b/src/plugins/select/cray/cray_config.c index 5586045b6d0a906091f6c78112ade217f5dd8e27..a7fdf8c863720cbd4570889d94f88f9a58e98f9b 100644 --- a/src/plugins/select/cray/cray_config.c +++ b/src/plugins/select/cray/cray_config.c @@ -2,8 +2,8 @@ * cray_config.c * ***************************************************************************** - * Copyright (C) 2011 SchedMD LLC. - * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). + * Copyright (C) 2011 SchedMD LLC <http://www.schedmd.com>. + * Supported by the Oak Ridge National Laboratory Extreme Scale Systems Center * Written by Danny Auble <da@schedmd.com> * * This file is part of SLURM, a resource management program. diff --git a/src/plugins/select/cray/cray_config.h b/src/plugins/select/cray/cray_config.h index e34bea345c2a41f3a063e83984c1098f5fb88e67..57c3a62b4dd59769fa941e22810a2d3055008825 100644 --- a/src/plugins/select/cray/cray_config.h +++ b/src/plugins/select/cray/cray_config.h @@ -2,8 +2,8 @@ * cray_config.h * ***************************************************************************** - * Copyright (C) 2011 SchedMD LLC. - * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). + * Copyright (C) 2011 SchedMD LLC <http://www.schedmd.com>. + * Supported by the Oak Ridge National Laboratory Extreme Scale Systems Center * Written by Danny Auble <da@schedmd.com> * * This file is part of SLURM, a resource management program. diff --git a/src/plugins/select/cray/libemulate/alps_emulate.c b/src/plugins/select/cray/libemulate/alps_emulate.c index 09eb16e7756a2941df0f14b1843d48050d112ffb..07206576df7f613945d9464a6a01842f5d231c01 100644 --- a/src/plugins/select/cray/libemulate/alps_emulate.c +++ b/src/plugins/select/cray/libemulate/alps_emulate.c @@ -2,6 +2,7 @@ * alps_emulate.c - simple ALPS emulator used for testing purposes ***************************************************************************** * Copyright (C) 2011 SchedMD <http://www.schedmd.com>. + * Supported by the Oak Ridge National Laboratory Extreme Scale Systems Center * Written by Morris Jette <jette@schedmd.com> * * This file is part of SLURM, a resource management program. diff --git a/src/plugins/select/cray/select_cray.c b/src/plugins/select/cray/select_cray.c index 11189464818c3d5f590bf3a5609d1d0aa9a78a8f..610ffd27e9cf528197d933c72c4bcb8c814015fe 100644 --- a/src/plugins/select/cray/select_cray.c +++ b/src/plugins/select/cray/select_cray.c @@ -3,6 +3,7 @@ ***************************************************************************** * Copyright (C) 2010 Lawrence Livermore National Security. * Portions Copyright (C) 2010 SchedMD <http://www.schedmd.com>. + * Supported by the Oak Ridge National Laboratory Extreme Scale Systems Center * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). * Written by Danny Auble <da@llnl.gov> * CODE-OCEC-09-009. All rights reserved.