diff --git a/NEWS b/NEWS index b95ba7425e8f3e8189a1e0a9827faa1d8cdf3754..350eacc6da6ac00847b4689b22c827ca30b9c093 100644 --- a/NEWS +++ b/NEWS @@ -70,6 +70,11 @@ documents those changes that are of interest to users and admins. -- Remove some use of cr_enabled flag in slurmctld job record, use new flag "test_only" in select_g_job_test() instead. +* Changes in SLURM 1.0.10 +========================= + -- Fix for job accounting logic submitted from Andy Riebs to handle issues + with suspending jobs and such. patch file named requeue.patch + * Changes in SLURM 1.0.9 ======================== -- Fix job accounting logic to open new log file on slurmctld reconfig. diff --git a/doc/man/man1/sacct.1 b/doc/man/man1/sacct.1 index 1a770005702ee999ec81e246b01d6b5ecd36302f..b3c5ad28f70558574feaf47446c5b2839c620e78 100644 --- a/doc/man/man1/sacct.1 +++ b/doc/man/man1/sacct.1 @@ -302,6 +302,9 @@ cancelled \f3cd\fP completed .TP +\f3pd\fP +pending +.TP \f3f\fP failed .TP diff --git a/testsuite/expect/globals.example b/testsuite/expect/globals.example index d3fac219385fc2cf5a35dc3dfe1b929b0c1a3188..2535af3d4313550296a56b144a99be6fc7583c8a 100755 --- a/testsuite/expect/globals.example +++ b/testsuite/expect/globals.example @@ -52,6 +52,7 @@ set use_pmi 0 set xcpu_dir "/mnt/xcpu" set poe "/usr/bin/poe" +set poe_partition "pdebug" set mpirun "mpirun" set totalviewcli "/usr/local/bin/totalviewcli" diff --git a/testsuite/expect/test1.52 b/testsuite/expect/test1.52 index e4db7a5fd41a7a5bf28c3e459209db24f348d6c0..ef9b760a57e2c73b31845669ff9a7c021a568d6c 100755 --- a/testsuite/expect/test1.52 +++ b/testsuite/expect/test1.52 @@ -54,14 +54,14 @@ if { ![file exists $poe] } { } #find out if we have enough nodes to test functionality -spawn $scontrol show partition +spawn $scontrol show partition $poe_partition expect { -re "TotalNodes=($number)" { set node_count $expect_out(1,string) if { $node_count < 2 } { send_user "WARNING: system must have at least 2 \ nodes to run this test on. This system \ - only has 2.\n" + only has $node_count.\n" exit $exit_code } exp_continue diff --git a/testsuite/expect/test11.1 b/testsuite/expect/test11.1 index 1eac7e9e8c2db5b513102612b2ba9a692ccaaac3..28ec0d1dc8619f8a05f43986f337a14f94c24340 100755 --- a/testsuite/expect/test11.1 +++ b/testsuite/expect/test11.1 @@ -35,7 +35,6 @@ source ./globals set test_id "11.1" -set partition "debug" set env(SLURM_LL_API_DEBUG) "2" set exit_code 0 set num_nodes 1 @@ -56,7 +55,7 @@ if { ![file exists $poe] } { # # execute poe with a specific node count # -spawn $poe hostname -resd yes -rmpool $partition -procs \ +spawn $poe hostname -rmpool $poe_partition -procs \ $num_tasks -nodes $num_nodes -retry wait expect { -re "LL_StepNodeCount = ($number)" { diff --git a/testsuite/expect/test11.2 b/testsuite/expect/test11.2 index 15ab3eb77e2c57577ba8d0958a88442376faa4b0..14e1ef02fe93b10aa742314f03d0a6815f5133f9 100755 --- a/testsuite/expect/test11.2 +++ b/testsuite/expect/test11.2 @@ -35,7 +35,6 @@ source ./globals set test_id "11.2" -set partition "debug" set env(SLURM_LL_API_DEBUG) "2" set exit_code 0 set mode "us" @@ -56,7 +55,7 @@ if { ![file exists $poe] } { # # execute poe with a specific node count # -spawn $poe hostname -resd yes -rmpool $partition\ +spawn $poe hostname -rmpool $poe_partition\ -euidevice $device -retry wait expect { @@ -87,7 +86,7 @@ got '$found_device'\n" # # execute poe with a specific node count # -spawn $poe hostname -resd yes -rmpool $partition -euilib $mode -retry wait +spawn $poe hostname -rmpool $poe_partition -euilib $mode -retry wait expect { -re "LL_AdapterUsageMode = ($alpha_numeric)" { @@ -118,7 +117,7 @@ set found_device "" # # execute poe with a specific node count # -spawn $poe hostname -resd yes -rmpool $partition -euilib $mode\ +spawn $poe hostname -rmpool $poe_partition -euilib $mode\ -euidevice $device -retry wait expect { diff --git a/testsuite/expect/test11.3 b/testsuite/expect/test11.3 index bb046c934384d5a359b7ef94b3294fe678eec011..691ce190ff427c238b58d20dd146e0ebef8dc5f7 100755 --- a/testsuite/expect/test11.3 +++ b/testsuite/expect/test11.3 @@ -35,7 +35,6 @@ source ./globals set test_id "11.3" -set partition "debug" set env(SLURM_LL_API_DEBUG) "2" set exit_code 0 set job_id 0 @@ -57,7 +56,7 @@ foreach proto $protocols { # incr protos set found 0 - spawn $poe hostname -resd yes -rmpool $partition -msg_api $proto\ + spawn $poe hostname -rmpool $poe_partition -msg_api $proto\ -euilib us -retry wait expect { -re "LL_AdapterUsageProtocol = ($alpha_numeric_under)" { diff --git a/testsuite/expect/test11.4 b/testsuite/expect/test11.4 index ffbc55e91ff3294833a45505653c6c6bc840ce20..884cc4b67151972842dd533bdc242084a2ca18b2 100755 --- a/testsuite/expect/test11.4 +++ b/testsuite/expect/test11.4 @@ -34,7 +34,6 @@ source ./globals set test_id "11.4" -set partition "debug" set env(SLURM_LL_API_DEBUG) "2" set exit_code 0 set job_id 0 @@ -57,7 +56,7 @@ if { ![file exists mpi-testscripts/allred] } { # # execute poe with a an mpi script # -spawn $poe $script -resd yes -rmpool $partition -nodes 2 -procs 2\ +spawn $poe $script -rmpool $poe_partition -nodes 2 -procs 2\ -euilib us -retry wait expect { -nocase "passed" { diff --git a/testsuite/expect/test11.7 b/testsuite/expect/test11.7 index b6c2f37f96a53cb914325ad57a24df3d14773641..8ce01dc37b8c2202b7ff9d0e5e5e387fc5742e3e 100755 --- a/testsuite/expect/test11.7 +++ b/testsuite/expect/test11.7 @@ -34,7 +34,6 @@ source ./globals set test_id "11.7" -set partition "debug" set exit_code 0 set env(SLURM_LL_API_DEBUG) "2" set num_nodes 2 @@ -55,7 +54,7 @@ if { ![file exists $poe] } { } #find out if we have enough nodes to test functionality -spawn $scontrol show partition +spawn $scontrol show partition $poe_partition expect { -re "TotalNodes=($number)" { set node_count $expect_out(1,string) @@ -90,14 +89,14 @@ for {set i 0} {$i<2} {incr i} { set file [open $hostfile "w"] puts $file "$node1\n$node0" close $file - spawn $poe $bin_hostname -resd yes -rmpool $partition -procs \ + spawn $poe $bin_hostname -rmpool $poe_partition -procs \ $num_tasks -nodes $num_nodes -retry wait \ -hostfile $hostfile } else { # # execute poe with a specific node count # - spawn $poe $bin_hostname -resd yes -rmpool $partition -procs \ + spawn $poe $bin_hostname -rmpool $poe_partition -procs \ $num_tasks -nodes $num_nodes -retry wait } expect {