diff --git a/NEWS b/NEWS index b12482389145542eb23c5b7164dd7374da77e838..f4932e8adb3efcfa9044fbad1cb17f07002b6bb7 100644 --- a/NEWS +++ b/NEWS @@ -60,6 +60,7 @@ documents those changes that are of interest to users and administrators. -- Add new site_factor plugin type to permit sites to build plugins to set and modify the site priority factor value both initially on job submission, and periodically every PriorityCalcPeriod. + -- Rename Cray plugins cray_aries in preperation for Cray/Shasta. * Changes in Slurm 19.05.0pre3 ============================== diff --git a/RELEASE_NOTES b/RELEASE_NOTES index bad156e169c25b8d14d7aab34e94e2975d8acf6f..e5d9260c7e456a86db2d1d708df4ac7ae42dd188 100644 --- a/RELEASE_NOTES +++ b/RELEASE_NOTES @@ -145,6 +145,19 @@ configuration files will be required before upgrading to this release. health of the individual compute nodes. The SelectTypeParameters options of NHC_ABSOLUTELY_NO, NHC_NO_STEPS, and NHC_NO have been removed as well. + -- All other Cray plugins have been renamed to cray_aries, namely ... + + acct_gather_energy/cray + core_spec/cray + job_submit/cray + power/cray + proctrack/cray + select/cray + switch/cray + task/cray + + all are now cray_aries. You will need to update your slurm.conf to + reflect these changes. RPMBUILD CHANGES ================ diff --git a/configure b/configure index 8a606c977c50141b1cd0e4836e6d5b559a45565f..91b8f1f405e9d3a15509138b40f0fa989ed6c1ce 100755 --- a/configure +++ b/configure @@ -24559,7 +24559,7 @@ $as_echo "${x_ac_deprecated=no}" >&6; } -ac_config_files="$ac_config_files Makefile auxdir/Makefile contribs/Makefile contribs/cray/Makefile contribs/cray/csm/Makefile contribs/cray/slurmsmwd/Makefile contribs/lua/Makefile contribs/mic/Makefile contribs/pam/Makefile contribs/pam_slurm_adopt/Makefile contribs/perlapi/Makefile contribs/perlapi/libslurm/Makefile contribs/perlapi/libslurm/perl/Makefile.PL contribs/perlapi/libslurmdb/Makefile contribs/perlapi/libslurmdb/perl/Makefile.PL contribs/seff/Makefile contribs/torque/Makefile contribs/openlava/Makefile contribs/sgather/Makefile contribs/sgi/Makefile contribs/sjobexit/Makefile contribs/pmi/Makefile contribs/pmi2/Makefile doc/Makefile doc/man/Makefile doc/man/man1/Makefile doc/man/man3/Makefile doc/man/man5/Makefile doc/man/man8/Makefile doc/html/Makefile doc/html/configurator.html doc/html/configurator.easy.html etc/Makefile src/Makefile src/api/Makefile src/bcast/Makefile src/common/Makefile src/layouts/Makefile src/layouts/power/Makefile src/layouts/unit/Makefile src/database/Makefile src/sacct/Makefile src/sacctmgr/Makefile src/sreport/Makefile src/salloc/Makefile src/sbatch/Makefile src/sbcast/Makefile src/sattach/Makefile src/scancel/Makefile src/scontrol/Makefile src/sdiag/Makefile src/sinfo/Makefile src/slurmctld/Makefile src/slurmd/Makefile src/slurmd/common/Makefile src/slurmd/slurmd/Makefile src/slurmd/slurmstepd/Makefile src/slurmdbd/Makefile src/smap/Makefile src/sprio/Makefile src/squeue/Makefile src/srun/Makefile src/srun/libsrun/Makefile src/sshare/Makefile src/sstat/Makefile src/strigger/Makefile src/sview/Makefile src/plugins/Makefile src/plugins/accounting_storage/Makefile src/plugins/accounting_storage/common/Makefile src/plugins/accounting_storage/filetxt/Makefile src/plugins/accounting_storage/mysql/Makefile src/plugins/accounting_storage/none/Makefile src/plugins/accounting_storage/slurmdbd/Makefile src/plugins/acct_gather_energy/Makefile src/plugins/acct_gather_energy/cray/Makefile src/plugins/acct_gather_energy/rapl/Makefile src/plugins/acct_gather_energy/ibmaem/Makefile src/plugins/acct_gather_energy/ipmi/Makefile src/plugins/acct_gather_energy/none/Makefile src/plugins/acct_gather_energy/xcc/Makefile src/plugins/acct_gather_interconnect/Makefile src/plugins/acct_gather_interconnect/ofed/Makefile src/plugins/acct_gather_interconnect/none/Makefile src/plugins/acct_gather_filesystem/Makefile src/plugins/acct_gather_filesystem/lustre/Makefile src/plugins/acct_gather_filesystem/none/Makefile src/plugins/acct_gather_profile/Makefile src/plugins/acct_gather_profile/hdf5/Makefile src/plugins/acct_gather_profile/hdf5/sh5util/Makefile src/plugins/acct_gather_profile/influxdb/Makefile src/plugins/acct_gather_profile/none/Makefile src/plugins/auth/Makefile src/plugins/auth/munge/Makefile src/plugins/auth/none/Makefile src/plugins/burst_buffer/Makefile src/plugins/burst_buffer/common/Makefile src/plugins/burst_buffer/datawarp/Makefile src/plugins/burst_buffer/generic/Makefile src/plugins/checkpoint/Makefile src/plugins/checkpoint/none/Makefile src/plugins/checkpoint/ompi/Makefile src/plugins/core_spec/Makefile src/plugins/core_spec/cray/Makefile src/plugins/core_spec/none/Makefile src/plugins/cred/Makefile src/plugins/cred/munge/Makefile src/plugins/cred/none/Makefile src/plugins/ext_sensors/Makefile src/plugins/ext_sensors/rrd/Makefile src/plugins/ext_sensors/none/Makefile src/plugins/gpu/Makefile src/plugins/gpu/generic/Makefile src/plugins/gpu/nvml/Makefile src/plugins/gres/Makefile src/plugins/gres/common/Makefile src/plugins/gres/gpu/Makefile src/plugins/gres/nic/Makefile src/plugins/gres/mic/Makefile src/plugins/gres/mps/Makefile src/plugins/jobacct_gather/Makefile src/plugins/jobacct_gather/common/Makefile src/plugins/jobacct_gather/linux/Makefile src/plugins/jobacct_gather/cgroup/Makefile src/plugins/jobacct_gather/none/Makefile src/plugins/jobcomp/Makefile src/plugins/jobcomp/elasticsearch/Makefile src/plugins/jobcomp/filetxt/Makefile src/plugins/jobcomp/none/Makefile src/plugins/jobcomp/script/Makefile src/plugins/jobcomp/mysql/Makefile src/plugins/job_container/Makefile src/plugins/job_container/cncu/Makefile src/plugins/job_container/none/Makefile src/plugins/job_submit/Makefile src/plugins/job_submit/all_partitions/Makefile src/plugins/job_submit/cray/Makefile src/plugins/job_submit/defaults/Makefile src/plugins/job_submit/logging/Makefile src/plugins/job_submit/lua/Makefile src/plugins/job_submit/partition/Makefile src/plugins/job_submit/pbs/Makefile src/plugins/job_submit/require_timelimit/Makefile src/plugins/job_submit/throttle/Makefile src/plugins/launch/Makefile src/plugins/launch/slurm/Makefile src/plugins/mcs/Makefile src/plugins/mcs/account/Makefile src/plugins/mcs/group/Makefile src/plugins/mcs/none/Makefile src/plugins/mcs/user/Makefile src/plugins/node_features/Makefile src/plugins/node_features/knl_cray/Makefile src/plugins/node_features/knl_generic/Makefile src/plugins/power/Makefile src/plugins/power/common/Makefile src/plugins/power/cray/Makefile src/plugins/power/none/Makefile src/plugins/preempt/Makefile src/plugins/preempt/none/Makefile src/plugins/preempt/partition_prio/Makefile src/plugins/preempt/qos/Makefile src/plugins/priority/Makefile src/plugins/priority/basic/Makefile src/plugins/priority/multifactor/Makefile src/plugins/proctrack/Makefile src/plugins/proctrack/cray/Makefile src/plugins/proctrack/cgroup/Makefile src/plugins/proctrack/pgid/Makefile src/plugins/proctrack/linuxproc/Makefile src/plugins/route/Makefile src/plugins/route/default/Makefile src/plugins/route/topology/Makefile src/plugins/sched/Makefile src/plugins/sched/backfill/Makefile src/plugins/sched/builtin/Makefile src/plugins/sched/hold/Makefile src/plugins/select/Makefile src/plugins/select/cons_res/Makefile src/plugins/select/cons_tres/Makefile src/plugins/select/cray/Makefile src/plugins/select/linear/Makefile src/plugins/select/other/Makefile src/plugins/site_factor/Makefile src/plugins/site_factor/none/Makefile src/plugins/slurmctld/Makefile src/plugins/slurmctld/nonstop/Makefile src/plugins/switch/Makefile src/plugins/switch/cray/Makefile src/plugins/switch/generic/Makefile src/plugins/switch/none/Makefile src/plugins/mpi/Makefile src/plugins/mpi/none/Makefile src/plugins/mpi/openmpi/Makefile src/plugins/mpi/pmi2/Makefile src/plugins/mpi/pmix/Makefile src/plugins/task/Makefile src/plugins/task/affinity/Makefile src/plugins/task/cgroup/Makefile src/plugins/task/cray/Makefile src/plugins/task/none/Makefile src/plugins/topology/Makefile src/plugins/topology/3d_torus/Makefile src/plugins/topology/hypercube/Makefile src/plugins/topology/node_rank/Makefile src/plugins/topology/none/Makefile src/plugins/topology/tree/Makefile testsuite/Makefile testsuite/expect/Makefile testsuite/slurm_unit/Makefile testsuite/slurm_unit/api/Makefile testsuite/slurm_unit/api/manual/Makefile testsuite/slurm_unit/common/Makefile testsuite/slurm_unit/common/slurm_protocol_pack/Makefile testsuite/slurm_unit/common/slurmdb_pack/Makefile" +ac_config_files="$ac_config_files Makefile auxdir/Makefile contribs/Makefile contribs/cray/Makefile contribs/cray/csm/Makefile contribs/cray/slurmsmwd/Makefile contribs/lua/Makefile contribs/mic/Makefile contribs/pam/Makefile contribs/pam_slurm_adopt/Makefile contribs/perlapi/Makefile contribs/perlapi/libslurm/Makefile contribs/perlapi/libslurm/perl/Makefile.PL contribs/perlapi/libslurmdb/Makefile contribs/perlapi/libslurmdb/perl/Makefile.PL contribs/seff/Makefile contribs/torque/Makefile contribs/openlava/Makefile contribs/sgather/Makefile contribs/sgi/Makefile contribs/sjobexit/Makefile contribs/pmi/Makefile contribs/pmi2/Makefile doc/Makefile doc/man/Makefile doc/man/man1/Makefile doc/man/man3/Makefile doc/man/man5/Makefile doc/man/man8/Makefile doc/html/Makefile doc/html/configurator.html doc/html/configurator.easy.html etc/Makefile src/Makefile src/api/Makefile src/bcast/Makefile src/common/Makefile src/layouts/Makefile src/layouts/power/Makefile src/layouts/unit/Makefile src/database/Makefile src/sacct/Makefile src/sacctmgr/Makefile src/sreport/Makefile src/salloc/Makefile src/sbatch/Makefile src/sbcast/Makefile src/sattach/Makefile src/scancel/Makefile src/scontrol/Makefile src/sdiag/Makefile src/sinfo/Makefile src/slurmctld/Makefile src/slurmd/Makefile src/slurmd/common/Makefile src/slurmd/slurmd/Makefile src/slurmd/slurmstepd/Makefile src/slurmdbd/Makefile src/smap/Makefile src/sprio/Makefile src/squeue/Makefile src/srun/Makefile src/srun/libsrun/Makefile src/sshare/Makefile src/sstat/Makefile src/strigger/Makefile src/sview/Makefile src/plugins/Makefile src/plugins/accounting_storage/Makefile src/plugins/accounting_storage/common/Makefile src/plugins/accounting_storage/filetxt/Makefile src/plugins/accounting_storage/mysql/Makefile src/plugins/accounting_storage/none/Makefile src/plugins/accounting_storage/slurmdbd/Makefile src/plugins/acct_gather_energy/Makefile src/plugins/acct_gather_energy/cray_aries/Makefile src/plugins/acct_gather_energy/rapl/Makefile src/plugins/acct_gather_energy/ibmaem/Makefile src/plugins/acct_gather_energy/ipmi/Makefile src/plugins/acct_gather_energy/none/Makefile src/plugins/acct_gather_energy/xcc/Makefile src/plugins/acct_gather_interconnect/Makefile src/plugins/acct_gather_interconnect/ofed/Makefile src/plugins/acct_gather_interconnect/none/Makefile src/plugins/acct_gather_filesystem/Makefile src/plugins/acct_gather_filesystem/lustre/Makefile src/plugins/acct_gather_filesystem/none/Makefile src/plugins/acct_gather_profile/Makefile src/plugins/acct_gather_profile/hdf5/Makefile src/plugins/acct_gather_profile/hdf5/sh5util/Makefile src/plugins/acct_gather_profile/influxdb/Makefile src/plugins/acct_gather_profile/none/Makefile src/plugins/auth/Makefile src/plugins/auth/munge/Makefile src/plugins/auth/none/Makefile src/plugins/burst_buffer/Makefile src/plugins/burst_buffer/common/Makefile src/plugins/burst_buffer/datawarp/Makefile src/plugins/burst_buffer/generic/Makefile src/plugins/checkpoint/Makefile src/plugins/checkpoint/none/Makefile src/plugins/checkpoint/ompi/Makefile src/plugins/core_spec/Makefile src/plugins/core_spec/cray_aries/Makefile src/plugins/core_spec/none/Makefile src/plugins/cred/Makefile src/plugins/cred/munge/Makefile src/plugins/cred/none/Makefile src/plugins/ext_sensors/Makefile src/plugins/ext_sensors/rrd/Makefile src/plugins/ext_sensors/none/Makefile src/plugins/gpu/Makefile src/plugins/gpu/generic/Makefile src/plugins/gpu/nvml/Makefile src/plugins/gres/Makefile src/plugins/gres/common/Makefile src/plugins/gres/gpu/Makefile src/plugins/gres/nic/Makefile src/plugins/gres/mic/Makefile src/plugins/gres/mps/Makefile src/plugins/jobacct_gather/Makefile src/plugins/jobacct_gather/common/Makefile src/plugins/jobacct_gather/linux/Makefile src/plugins/jobacct_gather/cgroup/Makefile src/plugins/jobacct_gather/none/Makefile src/plugins/jobcomp/Makefile src/plugins/jobcomp/elasticsearch/Makefile src/plugins/jobcomp/filetxt/Makefile src/plugins/jobcomp/none/Makefile src/plugins/jobcomp/script/Makefile src/plugins/jobcomp/mysql/Makefile src/plugins/job_container/Makefile src/plugins/job_container/cncu/Makefile src/plugins/job_container/none/Makefile src/plugins/job_submit/Makefile src/plugins/job_submit/all_partitions/Makefile src/plugins/job_submit/cray_aries/Makefile src/plugins/job_submit/defaults/Makefile src/plugins/job_submit/logging/Makefile src/plugins/job_submit/lua/Makefile src/plugins/job_submit/partition/Makefile src/plugins/job_submit/pbs/Makefile src/plugins/job_submit/require_timelimit/Makefile src/plugins/job_submit/throttle/Makefile src/plugins/launch/Makefile src/plugins/launch/slurm/Makefile src/plugins/mcs/Makefile src/plugins/mcs/account/Makefile src/plugins/mcs/group/Makefile src/plugins/mcs/none/Makefile src/plugins/mcs/user/Makefile src/plugins/node_features/Makefile src/plugins/node_features/knl_cray/Makefile src/plugins/node_features/knl_generic/Makefile src/plugins/power/Makefile src/plugins/power/common/Makefile src/plugins/power/cray_aries/Makefile src/plugins/power/none/Makefile src/plugins/preempt/Makefile src/plugins/preempt/none/Makefile src/plugins/preempt/partition_prio/Makefile src/plugins/preempt/qos/Makefile src/plugins/priority/Makefile src/plugins/priority/basic/Makefile src/plugins/priority/multifactor/Makefile src/plugins/proctrack/Makefile src/plugins/proctrack/cray_aries/Makefile src/plugins/proctrack/cgroup/Makefile src/plugins/proctrack/pgid/Makefile src/plugins/proctrack/linuxproc/Makefile src/plugins/route/Makefile src/plugins/route/default/Makefile src/plugins/route/topology/Makefile src/plugins/sched/Makefile src/plugins/sched/backfill/Makefile src/plugins/sched/builtin/Makefile src/plugins/sched/hold/Makefile src/plugins/select/Makefile src/plugins/select/cons_res/Makefile src/plugins/select/cons_tres/Makefile src/plugins/select/cray_aries/Makefile src/plugins/select/linear/Makefile src/plugins/select/other/Makefile src/plugins/site_factor/Makefile src/plugins/site_factor/none/Makefile src/plugins/slurmctld/Makefile src/plugins/slurmctld/nonstop/Makefile src/plugins/switch/Makefile src/plugins/switch/cray_aries/Makefile src/plugins/switch/generic/Makefile src/plugins/switch/none/Makefile src/plugins/mpi/Makefile src/plugins/mpi/none/Makefile src/plugins/mpi/openmpi/Makefile src/plugins/mpi/pmi2/Makefile src/plugins/mpi/pmix/Makefile src/plugins/task/Makefile src/plugins/task/affinity/Makefile src/plugins/task/cgroup/Makefile src/plugins/task/cray_aries/Makefile src/plugins/task/none/Makefile src/plugins/topology/Makefile src/plugins/topology/3d_torus/Makefile src/plugins/topology/hypercube/Makefile src/plugins/topology/node_rank/Makefile src/plugins/topology/none/Makefile src/plugins/topology/tree/Makefile testsuite/Makefile testsuite/expect/Makefile testsuite/slurm_unit/Makefile testsuite/slurm_unit/api/Makefile testsuite/slurm_unit/api/manual/Makefile testsuite/slurm_unit/common/Makefile testsuite/slurm_unit/common/slurm_protocol_pack/Makefile testsuite/slurm_unit/common/slurmdb_pack/Makefile" cat >confcache <<\_ACEOF @@ -25885,7 +25885,7 @@ do "src/plugins/accounting_storage/none/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/accounting_storage/none/Makefile" ;; "src/plugins/accounting_storage/slurmdbd/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/accounting_storage/slurmdbd/Makefile" ;; "src/plugins/acct_gather_energy/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/acct_gather_energy/Makefile" ;; - "src/plugins/acct_gather_energy/cray/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/acct_gather_energy/cray/Makefile" ;; + "src/plugins/acct_gather_energy/cray_aries/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/acct_gather_energy/cray_aries/Makefile" ;; "src/plugins/acct_gather_energy/rapl/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/acct_gather_energy/rapl/Makefile" ;; "src/plugins/acct_gather_energy/ibmaem/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/acct_gather_energy/ibmaem/Makefile" ;; "src/plugins/acct_gather_energy/ipmi/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/acct_gather_energy/ipmi/Makefile" ;; @@ -25913,7 +25913,7 @@ do "src/plugins/checkpoint/none/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/checkpoint/none/Makefile" ;; "src/plugins/checkpoint/ompi/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/checkpoint/ompi/Makefile" ;; "src/plugins/core_spec/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/core_spec/Makefile" ;; - "src/plugins/core_spec/cray/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/core_spec/cray/Makefile" ;; + "src/plugins/core_spec/cray_aries/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/core_spec/cray_aries/Makefile" ;; "src/plugins/core_spec/none/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/core_spec/none/Makefile" ;; "src/plugins/cred/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/cred/Makefile" ;; "src/plugins/cred/munge/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/cred/munge/Makefile" ;; @@ -25946,7 +25946,7 @@ do "src/plugins/job_container/none/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/job_container/none/Makefile" ;; "src/plugins/job_submit/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/job_submit/Makefile" ;; "src/plugins/job_submit/all_partitions/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/job_submit/all_partitions/Makefile" ;; - "src/plugins/job_submit/cray/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/job_submit/cray/Makefile" ;; + "src/plugins/job_submit/cray_aries/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/job_submit/cray_aries/Makefile" ;; "src/plugins/job_submit/defaults/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/job_submit/defaults/Makefile" ;; "src/plugins/job_submit/logging/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/job_submit/logging/Makefile" ;; "src/plugins/job_submit/lua/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/job_submit/lua/Makefile" ;; @@ -25966,7 +25966,7 @@ do "src/plugins/node_features/knl_generic/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/node_features/knl_generic/Makefile" ;; "src/plugins/power/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/power/Makefile" ;; "src/plugins/power/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/power/common/Makefile" ;; - "src/plugins/power/cray/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/power/cray/Makefile" ;; + "src/plugins/power/cray_aries/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/power/cray_aries/Makefile" ;; "src/plugins/power/none/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/power/none/Makefile" ;; "src/plugins/preempt/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/preempt/Makefile" ;; "src/plugins/preempt/none/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/preempt/none/Makefile" ;; @@ -25976,7 +25976,7 @@ do "src/plugins/priority/basic/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/priority/basic/Makefile" ;; "src/plugins/priority/multifactor/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/priority/multifactor/Makefile" ;; "src/plugins/proctrack/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/proctrack/Makefile" ;; - "src/plugins/proctrack/cray/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/proctrack/cray/Makefile" ;; + "src/plugins/proctrack/cray_aries/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/proctrack/cray_aries/Makefile" ;; "src/plugins/proctrack/cgroup/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/proctrack/cgroup/Makefile" ;; "src/plugins/proctrack/pgid/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/proctrack/pgid/Makefile" ;; "src/plugins/proctrack/linuxproc/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/proctrack/linuxproc/Makefile" ;; @@ -25990,7 +25990,7 @@ do "src/plugins/select/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/select/Makefile" ;; "src/plugins/select/cons_res/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/select/cons_res/Makefile" ;; "src/plugins/select/cons_tres/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/select/cons_tres/Makefile" ;; - "src/plugins/select/cray/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/select/cray/Makefile" ;; + "src/plugins/select/cray_aries/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/select/cray_aries/Makefile" ;; "src/plugins/select/linear/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/select/linear/Makefile" ;; "src/plugins/select/other/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/select/other/Makefile" ;; "src/plugins/site_factor/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/site_factor/Makefile" ;; @@ -25998,7 +25998,7 @@ do "src/plugins/slurmctld/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/slurmctld/Makefile" ;; "src/plugins/slurmctld/nonstop/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/slurmctld/nonstop/Makefile" ;; "src/plugins/switch/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/switch/Makefile" ;; - "src/plugins/switch/cray/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/switch/cray/Makefile" ;; + "src/plugins/switch/cray_aries/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/switch/cray_aries/Makefile" ;; "src/plugins/switch/generic/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/switch/generic/Makefile" ;; "src/plugins/switch/none/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/switch/none/Makefile" ;; "src/plugins/mpi/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/mpi/Makefile" ;; @@ -26009,7 +26009,7 @@ do "src/plugins/task/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/task/Makefile" ;; "src/plugins/task/affinity/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/task/affinity/Makefile" ;; "src/plugins/task/cgroup/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/task/cgroup/Makefile" ;; - "src/plugins/task/cray/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/task/cray/Makefile" ;; + "src/plugins/task/cray_aries/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/task/cray_aries/Makefile" ;; "src/plugins/task/none/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/task/none/Makefile" ;; "src/plugins/topology/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/topology/Makefile" ;; "src/plugins/topology/3d_torus/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/topology/3d_torus/Makefile" ;; diff --git a/configure.ac b/configure.ac index 016f2758881dc7795f1ec09e291ff7d5697bf39f..a59482f8c48a998822fce2a73705f8110ff498f1 100644 --- a/configure.ac +++ b/configure.ac @@ -447,7 +447,7 @@ AC_CONFIG_FILES([Makefile src/plugins/accounting_storage/none/Makefile src/plugins/accounting_storage/slurmdbd/Makefile src/plugins/acct_gather_energy/Makefile - src/plugins/acct_gather_energy/cray/Makefile + src/plugins/acct_gather_energy/cray_aries/Makefile src/plugins/acct_gather_energy/rapl/Makefile src/plugins/acct_gather_energy/ibmaem/Makefile src/plugins/acct_gather_energy/ipmi/Makefile @@ -475,7 +475,7 @@ AC_CONFIG_FILES([Makefile src/plugins/checkpoint/none/Makefile src/plugins/checkpoint/ompi/Makefile src/plugins/core_spec/Makefile - src/plugins/core_spec/cray/Makefile + src/plugins/core_spec/cray_aries/Makefile src/plugins/core_spec/none/Makefile src/plugins/cred/Makefile src/plugins/cred/munge/Makefile @@ -508,7 +508,7 @@ AC_CONFIG_FILES([Makefile src/plugins/job_container/none/Makefile src/plugins/job_submit/Makefile src/plugins/job_submit/all_partitions/Makefile - src/plugins/job_submit/cray/Makefile + src/plugins/job_submit/cray_aries/Makefile src/plugins/job_submit/defaults/Makefile src/plugins/job_submit/logging/Makefile src/plugins/job_submit/lua/Makefile @@ -528,7 +528,7 @@ AC_CONFIG_FILES([Makefile src/plugins/node_features/knl_generic/Makefile src/plugins/power/Makefile src/plugins/power/common/Makefile - src/plugins/power/cray/Makefile + src/plugins/power/cray_aries/Makefile src/plugins/power/none/Makefile src/plugins/preempt/Makefile src/plugins/preempt/none/Makefile @@ -538,7 +538,7 @@ AC_CONFIG_FILES([Makefile src/plugins/priority/basic/Makefile src/plugins/priority/multifactor/Makefile src/plugins/proctrack/Makefile - src/plugins/proctrack/cray/Makefile + src/plugins/proctrack/cray_aries/Makefile src/plugins/proctrack/cgroup/Makefile src/plugins/proctrack/pgid/Makefile src/plugins/proctrack/linuxproc/Makefile @@ -552,7 +552,7 @@ AC_CONFIG_FILES([Makefile src/plugins/select/Makefile src/plugins/select/cons_res/Makefile src/plugins/select/cons_tres/Makefile - src/plugins/select/cray/Makefile + src/plugins/select/cray_aries/Makefile src/plugins/select/linear/Makefile src/plugins/select/other/Makefile src/plugins/site_factor/Makefile @@ -560,7 +560,7 @@ AC_CONFIG_FILES([Makefile src/plugins/slurmctld/Makefile src/plugins/slurmctld/nonstop/Makefile src/plugins/switch/Makefile - src/plugins/switch/cray/Makefile + src/plugins/switch/cray_aries/Makefile src/plugins/switch/generic/Makefile src/plugins/switch/none/Makefile src/plugins/mpi/Makefile @@ -571,7 +571,7 @@ AC_CONFIG_FILES([Makefile src/plugins/task/Makefile src/plugins/task/affinity/Makefile src/plugins/task/cgroup/Makefile - src/plugins/task/cray/Makefile + src/plugins/task/cray_aries/Makefile src/plugins/task/none/Makefile src/plugins/topology/Makefile src/plugins/topology/3d_torus/Makefile diff --git a/src/common/gres.c b/src/common/gres.c index c26d319843fec8762473d5a63fafa3c7b9658116..eed407b8fdfabb7cf6b549c358a0ecc568b3a78d 100644 --- a/src/common/gres.c +++ b/src/common/gres.c @@ -10313,7 +10313,7 @@ extern void gres_plugin_job_merge(List from_job_gres_list, char *select_type = slurm_get_select_type(); if (select_type && (strstr(select_type, "cons_tres") || - (strstr(select_type, "cray") && + (strstr(select_type, "cray_aries") && (slurm_get_select_type_param() & CR_OTHER_CONS_TRES)))) { select_hetero = 1; } else diff --git a/src/common/node_select.c b/src/common/node_select.c index eeed1bd0ab3a49be3f4ff53b4f395b3dbfdab606..b7a423fccb7cc983ae9207276a952025d93f4beb 100644 --- a/src/common/node_select.c +++ b/src/common/node_select.c @@ -131,13 +131,13 @@ static char *_plugin_id2name(int plugin_id) if (plugin_id == SELECT_PLUGIN_SERIAL) return "serial"; if (plugin_id == SELECT_PLUGIN_CRAY_LINEAR) - return "cray+linear"; + return "cray_aries+linear"; if (plugin_id == SELECT_PLUGIN_CRAY_CONS_RES) - return "cray+cons_res"; + return "cray_aries+cons_res"; if (plugin_id == SELECT_PLUGIN_CONS_TRES) return "cons_tres"; if (plugin_id == SELECT_PLUGIN_CRAY_CONS_TRES) - return "cray+cons_tres"; + return "cray_aries+cons_tres"; snprintf(id_str, sizeof(id_str), "%d", plugin_id); return id_str; } @@ -197,10 +197,10 @@ extern int slurm_select_init(bool only_default) /* just ignore warnings here */ } else { #ifdef HAVE_NATIVE_CRAY - if (xstrcasecmp(select_type, "select/cray")) { - error("%s is incompatible with a native Cray system.", + if (xstrcasecmp(select_type, "select/cray_aries")) { + error("%s is incompatible with a Cray/Aries system.", select_type); - fatal("Use SelectType=select/cray"); + fatal("Use SelectType=select/cray_aries"); } #else /* if (!xstrcasecmp(select_type, "select/cray")) { */ @@ -320,7 +320,7 @@ again: ((plugin_id == SELECT_PLUGIN_CRAY_CONS_RES) || (plugin_id == SELECT_PLUGIN_CRAY_CONS_TRES) || (plugin_id == SELECT_PLUGIN_CRAY_LINEAR))) { - char *type = "select", *name = "select/cray"; + char *type = "select", *name = "select/cray_aries"; uint16_t save_params = slurm_get_select_type_param(); uint16_t params[2]; int cray_plugin_id[2], cray_offset; diff --git a/src/common/read_config.c b/src/common/read_config.c index ad6f758822acb64ec4a6e10bccbfcc6c34315578..5bd10d3d1250ccadb1e20235ee8c081e4e6c732f 100644 --- a/src/common/read_config.c +++ b/src/common/read_config.c @@ -4047,7 +4047,7 @@ _validate_and_set_defaults(slurm_ctl_conf_t *conf, s_p_hashtbl_t *hashtbl) #if defined(HAVE_NATIVE_CRAY) if (conf->mpi_params == NULL || strstr(conf->mpi_params, "ports=") == NULL) { - error("MpiParams=ports= is required on native Cray systems"); + error("MpiParams=ports= is required on Cray/Aries systems"); return SLURM_ERROR; } #endif @@ -4467,8 +4467,8 @@ _validate_and_set_defaults(slurm_ctl_conf_t *conf, s_p_hashtbl_t *hashtbl) conf->proctrack_type = xstrdup(DEFAULT_PROCTRACK_TYPE); } #ifdef HAVE_NATIVE_CRAY - if (xstrcmp(conf->proctrack_type, "proctrack/cray")) { - error("On a native Cray ProctrackType=proctrack/cray " + if (xstrcmp(conf->proctrack_type, "proctrack/cray_aries")) { + error("On a Cray/Aries ProctrackType=proctrack/cray_aries " "is required"); return SLURM_ERROR; } @@ -4647,7 +4647,7 @@ _validate_and_set_defaults(slurm_ctl_conf_t *conf, s_p_hashtbl_t *hashtbl) * to access the needed libraries. */ if (conf->slurm_user_id != 0) { - error("Cray requires SlurmUser=root (default), but have '%s'.", + error("Cray/Aries requires SlurmUser=root (default), but have '%s'.", conf->slurm_user_name); return SLURM_ERROR; } @@ -4934,9 +4934,9 @@ _validate_and_set_defaults(slurm_ctl_conf_t *conf, s_p_hashtbl_t *hashtbl) return SLURM_ERROR; } } else if (xstrcasecmp(tok, "SlurmdOffSpec") == 0) { - if (xstrcasestr(conf->task_plugin, "cray")) { - error("TaskPluginParam=SlurmdOffSpec " - "invalid with TaskPlugin=task/cray"); + if (xstrcasestr(conf->task_plugin, + "cray_aries")) { + error("TaskPluginParam=SlurmdOffSpec invalid with TaskPlugin=task/cray_aries"); return SLURM_ERROR; } conf->task_plugin_param |= SLURMD_OFF_SPEC; diff --git a/src/common/read_config.h b/src/common/read_config.h index 595570d61f9b88413403a672a27e0674da8fae0e..eb17e87d925a9596f2f1a4ecda27bd7d4138dc5f 100644 --- a/src/common/read_config.h +++ b/src/common/read_config.h @@ -144,7 +144,7 @@ extern uint16_t drop_priv_flag; #define DEFAULT_SCHED_TIME_SLICE 30 #define DEFAULT_SCHEDTYPE "sched/backfill" #if defined HAVE_NATIVE_CRAY -# define DEFAULT_SELECT_TYPE "select/cray" +# define DEFAULT_SELECT_TYPE "select/cray_aries" #else # define DEFAULT_SELECT_TYPE "select/linear" #endif @@ -163,7 +163,7 @@ extern uint16_t drop_priv_flag; #define DEFAULT_SUSPEND_TIME 0 #define DEFAULT_SUSPEND_TIMEOUT 30 #if defined HAVE_NATIVE_CRAY -# define DEFAULT_SWITCH_TYPE "switch/cray" +# define DEFAULT_SWITCH_TYPE "switch/cray_aries" #else # define DEFAULT_SWITCH_TYPE "switch/none" #endif diff --git a/src/common/slurm_protocol_api.c b/src/common/slurm_protocol_api.c index 73b40ea0fe175f4ebef0d1e4ef9248e1c9840161..8410993447b9896d8fcb49a42ecc611cddbcae1c 100644 --- a/src/common/slurm_protocol_api.c +++ b/src/common/slurm_protocol_api.c @@ -2857,7 +2857,7 @@ void slurm_set_select_type_param(uint16_t select_type_param) } } -/** Return true if (remote) system runs Cray XT/XE */ +/** Return true if (remote) system runs Cray Aries */ bool is_cray_select_type(void) { bool result = false; @@ -2865,7 +2865,7 @@ bool is_cray_select_type(void) if (slurmdbd_conf) { } else { slurm_ctl_conf_t *conf = slurm_conf_lock(); - result = xstrcasecmp(conf->select_type, "select/cray") == 0; + result = !xstrcasecmp(conf->select_type, "select/cray_aries"); slurm_conf_unlock(); } return result; diff --git a/src/plugins/acct_gather_energy/Makefile.am b/src/plugins/acct_gather_energy/Makefile.am index 220ee5f044c5965e0567198b52cfd6b964151a91..50c4fd36a2eda6964023e4e6f53559eb349591ab 100644 --- a/src/plugins/acct_gather_energy/Makefile.am +++ b/src/plugins/acct_gather_energy/Makefile.am @@ -1,3 +1,3 @@ # Makefile for accounting gather energy plugins -SUBDIRS = cray rapl ibmaem ipmi none xcc +SUBDIRS = cray_aries rapl ibmaem ipmi none xcc diff --git a/src/plugins/acct_gather_energy/Makefile.in b/src/plugins/acct_gather_energy/Makefile.in index 6faea8d90b93056b6953b01b117ffe4cd7292a26..c4b1d2b625a2c7c0e4487081f3de2111ca952f14 100644 --- a/src/plugins/acct_gather_energy/Makefile.in +++ b/src/plugins/acct_gather_energy/Makefile.in @@ -470,7 +470,7 @@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -SUBDIRS = cray rapl ibmaem ipmi none xcc +SUBDIRS = cray_aries rapl ibmaem ipmi none xcc all: all-recursive .SUFFIXES: diff --git a/src/plugins/acct_gather_energy/cray/Makefile.am b/src/plugins/acct_gather_energy/cray/Makefile.am deleted file mode 100644 index 7aa6572fd7adb0d4cadf11a023068a67e27b4329..0000000000000000000000000000000000000000 --- a/src/plugins/acct_gather_energy/cray/Makefile.am +++ /dev/null @@ -1,15 +0,0 @@ -# Makefile for acct_gather_energy/cray plugin - -AUTOMAKE_OPTIONS = foreign - -PLUGIN_FLAGS = -module -avoid-version --export-dynamic - -AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common - -pkglib_LTLIBRARIES = acct_gather_energy_cray.la - -# cpu/core energy accounting plugin. -acct_gather_energy_cray_la_SOURCES = acct_gather_energy_cray.c - -acct_gather_energy_cray_la_LDFLAGS = $(PLUGIN_FLAGS) -acct_gather_energy_cray_la_LIBADD = -lm diff --git a/src/plugins/acct_gather_energy/cray_aries/Makefile.am b/src/plugins/acct_gather_energy/cray_aries/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..147471ad9bd30c59487c2b4ce3498672157b123a --- /dev/null +++ b/src/plugins/acct_gather_energy/cray_aries/Makefile.am @@ -0,0 +1,15 @@ +# Makefile for acct_gather_energy/cray_aries plugin + +AUTOMAKE_OPTIONS = foreign + +PLUGIN_FLAGS = -module -avoid-version --export-dynamic + +AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common + +pkglib_LTLIBRARIES = acct_gather_energy_cray_aries.la + +# cpu/core energy accounting plugin. +acct_gather_energy_cray_aries_la_SOURCES = acct_gather_energy_cray_aries.c + +acct_gather_energy_cray_aries_la_LDFLAGS = $(PLUGIN_FLAGS) +acct_gather_energy_cray_aries_la_LIBADD = -lm diff --git a/src/plugins/acct_gather_energy/cray/Makefile.in b/src/plugins/acct_gather_energy/cray_aries/Makefile.in similarity index 94% rename from src/plugins/acct_gather_energy/cray/Makefile.in rename to src/plugins/acct_gather_energy/cray_aries/Makefile.in index 0de9778b178fe7d6c3987bff6730e2d66ba17336..8875b31c6491b91052f9b38c3650be588b4d4ac8 100644 --- a/src/plugins/acct_gather_energy/cray/Makefile.in +++ b/src/plugins/acct_gather_energy/cray_aries/Makefile.in @@ -14,7 +14,7 @@ @SET_MAKE@ -# Makefile for acct_gather_energy/cray plugin +# Makefile for acct_gather_energy/cray_aries plugin VPATH = @srcdir@ am__is_gnu_make = { \ @@ -91,7 +91,7 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ -subdir = src/plugins/acct_gather_energy/cray +subdir = src/plugins/acct_gather_energy/cray_aries ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/auxdir/ax_check_compile_flag.m4 \ $(top_srcdir)/auxdir/ax_check_zlib.m4 \ @@ -174,18 +174,19 @@ am__uninstall_files_from_dir = { \ } am__installdirs = "$(DESTDIR)$(pkglibdir)" LTLIBRARIES = $(pkglib_LTLIBRARIES) -acct_gather_energy_cray_la_DEPENDENCIES = -am_acct_gather_energy_cray_la_OBJECTS = acct_gather_energy_cray.lo -acct_gather_energy_cray_la_OBJECTS = \ - $(am_acct_gather_energy_cray_la_OBJECTS) +acct_gather_energy_cray_aries_la_DEPENDENCIES = +am_acct_gather_energy_cray_aries_la_OBJECTS = \ + acct_gather_energy_cray_aries.lo +acct_gather_energy_cray_aries_la_OBJECTS = \ + $(am_acct_gather_energy_cray_aries_la_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = -acct_gather_energy_cray_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ +acct_gather_energy_cray_aries_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ - $(AM_CFLAGS) $(CFLAGS) $(acct_gather_energy_cray_la_LDFLAGS) \ - $(LDFLAGS) -o $@ + $(AM_CFLAGS) $(CFLAGS) \ + $(acct_gather_energy_cray_aries_la_LDFLAGS) $(LDFLAGS) -o $@ AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false @@ -201,7 +202,7 @@ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -I$(top_builddir)/slurm depcomp = $(SHELL) $(top_srcdir)/auxdir/depcomp am__maybe_remake_depfiles = depfiles -am__depfiles_remade = ./$(DEPDIR)/acct_gather_energy_cray.Plo +am__depfiles_remade = ./$(DEPDIR)/acct_gather_energy_cray_aries.Plo am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) @@ -221,8 +222,8 @@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = -SOURCES = $(acct_gather_energy_cray_la_SOURCES) -DIST_SOURCES = $(acct_gather_energy_cray_la_SOURCES) +SOURCES = $(acct_gather_energy_cray_aries_la_SOURCES) +DIST_SOURCES = $(acct_gather_energy_cray_aries_la_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ @@ -496,12 +497,12 @@ top_srcdir = @top_srcdir@ AUTOMAKE_OPTIONS = foreign PLUGIN_FLAGS = -module -avoid-version --export-dynamic AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common -pkglib_LTLIBRARIES = acct_gather_energy_cray.la +pkglib_LTLIBRARIES = acct_gather_energy_cray_aries.la # cpu/core energy accounting plugin. -acct_gather_energy_cray_la_SOURCES = acct_gather_energy_cray.c -acct_gather_energy_cray_la_LDFLAGS = $(PLUGIN_FLAGS) -acct_gather_energy_cray_la_LIBADD = -lm +acct_gather_energy_cray_aries_la_SOURCES = acct_gather_energy_cray_aries.c +acct_gather_energy_cray_aries_la_LDFLAGS = $(PLUGIN_FLAGS) +acct_gather_energy_cray_aries_la_LIBADD = -lm all: all-am .SUFFIXES: @@ -515,9 +516,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/plugins/acct_gather_energy/cray/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/plugins/acct_gather_energy/cray_aries/Makefile'; \ $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign src/plugins/acct_gather_energy/cray/Makefile + $(AUTOMAKE) --foreign src/plugins/acct_gather_energy/cray_aries/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -571,8 +572,8 @@ clean-pkglibLTLIBRARIES: rm -f $${locs}; \ } -acct_gather_energy_cray.la: $(acct_gather_energy_cray_la_OBJECTS) $(acct_gather_energy_cray_la_DEPENDENCIES) $(EXTRA_acct_gather_energy_cray_la_DEPENDENCIES) - $(AM_V_CCLD)$(acct_gather_energy_cray_la_LINK) -rpath $(pkglibdir) $(acct_gather_energy_cray_la_OBJECTS) $(acct_gather_energy_cray_la_LIBADD) $(LIBS) +acct_gather_energy_cray_aries.la: $(acct_gather_energy_cray_aries_la_OBJECTS) $(acct_gather_energy_cray_aries_la_DEPENDENCIES) $(EXTRA_acct_gather_energy_cray_aries_la_DEPENDENCIES) + $(AM_V_CCLD)$(acct_gather_energy_cray_aries_la_LINK) -rpath $(pkglibdir) $(acct_gather_energy_cray_aries_la_OBJECTS) $(acct_gather_energy_cray_aries_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) @@ -580,7 +581,7 @@ mostlyclean-compile: distclean-compile: -rm -f *.tab.c -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/acct_gather_energy_cray.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/acct_gather_energy_cray_aries.Plo@am__quote@ # am--include-marker $(am__depfiles_remade): @$(MKDIR_P) $(@D) @@ -743,7 +744,7 @@ clean-am: clean-generic clean-libtool clean-pkglibLTLIBRARIES \ mostlyclean-am distclean: distclean-am - -rm -f ./$(DEPDIR)/acct_gather_energy_cray.Plo + -rm -f ./$(DEPDIR)/acct_gather_energy_cray_aries.Plo -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags @@ -789,7 +790,7 @@ install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am - -rm -f ./$(DEPDIR)/acct_gather_energy_cray.Plo + -rm -f ./$(DEPDIR)/acct_gather_energy_cray_aries.Plo -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic diff --git a/src/plugins/acct_gather_energy/cray/acct_gather_energy_cray.c b/src/plugins/acct_gather_energy/cray_aries/acct_gather_energy_cray_aries.c similarity index 97% rename from src/plugins/acct_gather_energy/cray/acct_gather_energy_cray.c rename to src/plugins/acct_gather_energy/cray_aries/acct_gather_energy_cray_aries.c index 84a0a5f44aeec3b746d031a3b028716758dea37d..b2d43d63552f3889a7eb01372748097e7d86b990 100644 --- a/src/plugins/acct_gather_energy/cray/acct_gather_energy_cray.c +++ b/src/plugins/acct_gather_energy/cray_aries/acct_gather_energy_cray_aries.c @@ -1,5 +1,6 @@ /*****************************************************************************\ - * acct_gather_energy_cray.c - slurm energy accounting plugin for cray. + * acct_gather_energy_cray_aries.c - slurm energy accounting plugin for + * Cray/Aries. ***************************************************************************** * Copyright (C) 2015 SchedMD LLC * Written by Danny Auble <da@schedmd.com> who borrowed from the rapl @@ -36,7 +37,7 @@ * \*****************************************************************************/ -/* acct_gather_energy_cray +/* acct_gather_energy_cray_aries * This plugin does not initiate a node-level thread. * It will be used to get energy values from the cray bmc when available */ @@ -71,8 +72,8 @@ * plugin_version - an unsigned 32-bit integer containing the Slurm version * (major.minor.micro combined into a single number). */ -const char plugin_name[] = "AcctGatherEnergy CRAY plugin"; -const char plugin_type[] = "acct_gather_energy/cray"; +const char plugin_name[] = "AcctGatherEnergy Cray/Aries plugin"; +const char plugin_type[] = "acct_gather_energy/cray_aries"; const uint32_t plugin_version = SLURM_VERSION_NUMBER; static acct_gather_energy_t *local_energy = NULL; diff --git a/src/plugins/core_spec/Makefile.am b/src/plugins/core_spec/Makefile.am index c88a776c95c13e2100f1a6c1a8ce5a24c8b4e5bf..44b1ed67c074b0b30f6c2ead8cc627cc40d3da4d 100644 --- a/src/plugins/core_spec/Makefile.am +++ b/src/plugins/core_spec/Makefile.am @@ -1,3 +1,3 @@ # Makefile for core specialization plugins -SUBDIRS = cray none +SUBDIRS = cray_aries none diff --git a/src/plugins/core_spec/Makefile.in b/src/plugins/core_spec/Makefile.in index a58e3ee159bf10726caa75f358d79395e9484457..5c40fa4de7674351e6a3247044ceb8e7c4d8de4b 100644 --- a/src/plugins/core_spec/Makefile.in +++ b/src/plugins/core_spec/Makefile.in @@ -470,7 +470,7 @@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -SUBDIRS = cray none +SUBDIRS = cray_aries none all: all-recursive .SUFFIXES: diff --git a/src/plugins/core_spec/cray/Makefile.am b/src/plugins/core_spec/cray/Makefile.am deleted file mode 100644 index dfe2f69dea429b98daafef9000c341ddff0d3a86..0000000000000000000000000000000000000000 --- a/src/plugins/core_spec/cray/Makefile.am +++ /dev/null @@ -1,14 +0,0 @@ -# Makefile for core_spec/cray plugin - -AUTOMAKE_OPTIONS = foreign - -PLUGIN_FLAGS = -module -avoid-version --export-dynamic - -AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common - -pkglib_LTLIBRARIES = core_spec_cray.la - -# Cray core specialization plugin. -core_spec_cray_la_SOURCES = core_spec_cray.c -core_spec_cray_la_CPPFLAGS = $(CRAY_JOB_CPPFLAGS) $(AM_CPPFLAGS) -core_spec_cray_la_LDFLAGS = $(CRAY_JOB_LDFLAGS) $(PLUGIN_FLAGS) diff --git a/src/plugins/core_spec/cray_aries/Makefile.am b/src/plugins/core_spec/cray_aries/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..060023fb53752a1ae4c077da24c544b4e7500dfd --- /dev/null +++ b/src/plugins/core_spec/cray_aries/Makefile.am @@ -0,0 +1,14 @@ +# Makefile for core_spec/cray_aries plugin + +AUTOMAKE_OPTIONS = foreign + +PLUGIN_FLAGS = -module -avoid-version --export-dynamic + +AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common + +pkglib_LTLIBRARIES = core_spec_cray_aries.la + +# Cray/Aries core specialization plugin. +core_spec_cray_aries_la_SOURCES = core_spec_cray_aries.c +core_spec_cray_aries_la_CPPFLAGS = $(CRAY_JOB_CPPFLAGS) $(AM_CPPFLAGS) +core_spec_cray_aries_la_LDFLAGS = $(CRAY_JOB_LDFLAGS) $(PLUGIN_FLAGS) diff --git a/src/plugins/core_spec/cray/Makefile.in b/src/plugins/core_spec/cray_aries/Makefile.in similarity index 91% rename from src/plugins/core_spec/cray/Makefile.in rename to src/plugins/core_spec/cray_aries/Makefile.in index 93f412665d73c9156b5d060e6d9a62770424e812..74014311fa27f81c7a904799f9e12d999244ce94 100644 --- a/src/plugins/core_spec/cray/Makefile.in +++ b/src/plugins/core_spec/cray_aries/Makefile.in @@ -14,7 +14,7 @@ @SET_MAKE@ -# Makefile for core_spec/cray plugin +# Makefile for core_spec/cray_aries plugin VPATH = @srcdir@ am__is_gnu_make = { \ @@ -91,7 +91,7 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ -subdir = src/plugins/core_spec/cray +subdir = src/plugins/core_spec/cray_aries ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/auxdir/ax_check_compile_flag.m4 \ $(top_srcdir)/auxdir/ax_check_zlib.m4 \ @@ -174,17 +174,19 @@ am__uninstall_files_from_dir = { \ } am__installdirs = "$(DESTDIR)$(pkglibdir)" LTLIBRARIES = $(pkglib_LTLIBRARIES) -core_spec_cray_la_LIBADD = -am_core_spec_cray_la_OBJECTS = core_spec_cray_la-core_spec_cray.lo -core_spec_cray_la_OBJECTS = $(am_core_spec_cray_la_OBJECTS) +core_spec_cray_aries_la_LIBADD = +am_core_spec_cray_aries_la_OBJECTS = \ + core_spec_cray_aries_la-core_spec_cray_aries.lo +core_spec_cray_aries_la_OBJECTS = \ + $(am_core_spec_cray_aries_la_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = -core_spec_cray_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ +core_spec_cray_aries_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ - $(AM_CFLAGS) $(CFLAGS) $(core_spec_cray_la_LDFLAGS) $(LDFLAGS) \ - -o $@ + $(AM_CFLAGS) $(CFLAGS) $(core_spec_cray_aries_la_LDFLAGS) \ + $(LDFLAGS) -o $@ AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false @@ -201,7 +203,7 @@ DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -I$(top_builddir)/slurm depcomp = $(SHELL) $(top_srcdir)/auxdir/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = \ - ./$(DEPDIR)/core_spec_cray_la-core_spec_cray.Plo + ./$(DEPDIR)/core_spec_cray_aries_la-core_spec_cray_aries.Plo am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) @@ -221,8 +223,8 @@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = -SOURCES = $(core_spec_cray_la_SOURCES) -DIST_SOURCES = $(core_spec_cray_la_SOURCES) +SOURCES = $(core_spec_cray_aries_la_SOURCES) +DIST_SOURCES = $(core_spec_cray_aries_la_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ @@ -496,12 +498,12 @@ top_srcdir = @top_srcdir@ AUTOMAKE_OPTIONS = foreign PLUGIN_FLAGS = -module -avoid-version --export-dynamic AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common -pkglib_LTLIBRARIES = core_spec_cray.la +pkglib_LTLIBRARIES = core_spec_cray_aries.la -# Cray core specialization plugin. -core_spec_cray_la_SOURCES = core_spec_cray.c -core_spec_cray_la_CPPFLAGS = $(CRAY_JOB_CPPFLAGS) $(AM_CPPFLAGS) -core_spec_cray_la_LDFLAGS = $(CRAY_JOB_LDFLAGS) $(PLUGIN_FLAGS) +# Cray/Aries core specialization plugin. +core_spec_cray_aries_la_SOURCES = core_spec_cray_aries.c +core_spec_cray_aries_la_CPPFLAGS = $(CRAY_JOB_CPPFLAGS) $(AM_CPPFLAGS) +core_spec_cray_aries_la_LDFLAGS = $(CRAY_JOB_LDFLAGS) $(PLUGIN_FLAGS) all: all-am .SUFFIXES: @@ -515,9 +517,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/plugins/core_spec/cray/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/plugins/core_spec/cray_aries/Makefile'; \ $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign src/plugins/core_spec/cray/Makefile + $(AUTOMAKE) --foreign src/plugins/core_spec/cray_aries/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -571,8 +573,8 @@ clean-pkglibLTLIBRARIES: rm -f $${locs}; \ } -core_spec_cray.la: $(core_spec_cray_la_OBJECTS) $(core_spec_cray_la_DEPENDENCIES) $(EXTRA_core_spec_cray_la_DEPENDENCIES) - $(AM_V_CCLD)$(core_spec_cray_la_LINK) -rpath $(pkglibdir) $(core_spec_cray_la_OBJECTS) $(core_spec_cray_la_LIBADD) $(LIBS) +core_spec_cray_aries.la: $(core_spec_cray_aries_la_OBJECTS) $(core_spec_cray_aries_la_DEPENDENCIES) $(EXTRA_core_spec_cray_aries_la_DEPENDENCIES) + $(AM_V_CCLD)$(core_spec_cray_aries_la_LINK) -rpath $(pkglibdir) $(core_spec_cray_aries_la_OBJECTS) $(core_spec_cray_aries_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) @@ -580,7 +582,7 @@ mostlyclean-compile: distclean-compile: -rm -f *.tab.c -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/core_spec_cray_la-core_spec_cray.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/core_spec_cray_aries_la-core_spec_cray_aries.Plo@am__quote@ # am--include-marker $(am__depfiles_remade): @$(MKDIR_P) $(@D) @@ -609,12 +611,12 @@ am--depfiles: $(am__depfiles_remade) @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< -core_spec_cray_la-core_spec_cray.lo: core_spec_cray.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(core_spec_cray_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT core_spec_cray_la-core_spec_cray.lo -MD -MP -MF $(DEPDIR)/core_spec_cray_la-core_spec_cray.Tpo -c -o core_spec_cray_la-core_spec_cray.lo `test -f 'core_spec_cray.c' || echo '$(srcdir)/'`core_spec_cray.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/core_spec_cray_la-core_spec_cray.Tpo $(DEPDIR)/core_spec_cray_la-core_spec_cray.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='core_spec_cray.c' object='core_spec_cray_la-core_spec_cray.lo' libtool=yes @AMDEPBACKSLASH@ +core_spec_cray_aries_la-core_spec_cray_aries.lo: core_spec_cray_aries.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(core_spec_cray_aries_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT core_spec_cray_aries_la-core_spec_cray_aries.lo -MD -MP -MF $(DEPDIR)/core_spec_cray_aries_la-core_spec_cray_aries.Tpo -c -o core_spec_cray_aries_la-core_spec_cray_aries.lo `test -f 'core_spec_cray_aries.c' || echo '$(srcdir)/'`core_spec_cray_aries.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/core_spec_cray_aries_la-core_spec_cray_aries.Tpo $(DEPDIR)/core_spec_cray_aries_la-core_spec_cray_aries.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='core_spec_cray_aries.c' object='core_spec_cray_aries_la-core_spec_cray_aries.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(core_spec_cray_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o core_spec_cray_la-core_spec_cray.lo `test -f 'core_spec_cray.c' || echo '$(srcdir)/'`core_spec_cray.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(core_spec_cray_aries_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o core_spec_cray_aries_la-core_spec_cray_aries.lo `test -f 'core_spec_cray_aries.c' || echo '$(srcdir)/'`core_spec_cray_aries.c mostlyclean-libtool: -rm -f *.lo @@ -750,7 +752,7 @@ clean-am: clean-generic clean-libtool clean-pkglibLTLIBRARIES \ mostlyclean-am distclean: distclean-am - -rm -f ./$(DEPDIR)/core_spec_cray_la-core_spec_cray.Plo + -rm -f ./$(DEPDIR)/core_spec_cray_aries_la-core_spec_cray_aries.Plo -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags @@ -796,7 +798,7 @@ install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am - -rm -f ./$(DEPDIR)/core_spec_cray_la-core_spec_cray.Plo + -rm -f ./$(DEPDIR)/core_spec_cray_aries_la-core_spec_cray_aries.Plo -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic diff --git a/src/plugins/core_spec/cray/core_spec_cray.c b/src/plugins/core_spec/cray_aries/core_spec_cray_aries.c similarity index 97% rename from src/plugins/core_spec/cray/core_spec_cray.c rename to src/plugins/core_spec/cray_aries/core_spec_cray_aries.c index 93f62166d5ae48946b8992b234f7bab11d8efb25..d31974e59b5855947568e47b2625a8c113bd4aa3 100644 --- a/src/plugins/core_spec/cray/core_spec_cray.c +++ b/src/plugins/core_spec/cray_aries/core_spec_cray_aries.c @@ -1,5 +1,5 @@ /*****************************************************************************\ - * core_spec_cray.c - Cray core specialization plugin. + * core_spec_cray_aries.c - Cray/Aries core specialization plugin. ***************************************************************************** * Copyright (C) 2014-2015 SchedMD LLC * Written by Morris Jette <jette@schemd.com> @@ -79,8 +79,8 @@ * plugin_version - an unsigned 32-bit integer containing the Slurm version * (major.minor.micro combined into a single number). */ -const char plugin_name[] = "Cray core specialization plugin"; -const char plugin_type[] = "core_spec/cray"; +const char plugin_name[] = "Cray/Aries core specialization plugin"; +const char plugin_type[] = "core_spec/cray_aries"; const uint32_t plugin_version = SLURM_VERSION_NUMBER; static uint64_t debug_flags = 0; diff --git a/src/plugins/job_submit/Makefile.am b/src/plugins/job_submit/Makefile.am index 3376e2fe272313c0e7bedaee379e24bfff765073..e393bcfb1cc2a50a23d8cb22249e9f9dbf9b5ed2 100644 --- a/src/plugins/job_submit/Makefile.am +++ b/src/plugins/job_submit/Makefile.am @@ -2,7 +2,7 @@ SUBDIRS = \ all_partitions \ - cray \ + cray_aries \ defaults \ logging \ lua \ diff --git a/src/plugins/job_submit/Makefile.in b/src/plugins/job_submit/Makefile.in index bc7d078888f237c8293ca3043a7d992e8529acbe..78932012528e048698c176ddaefbfab9b3efed7e 100644 --- a/src/plugins/job_submit/Makefile.in +++ b/src/plugins/job_submit/Makefile.in @@ -472,7 +472,7 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = \ all_partitions \ - cray \ + cray_aries \ defaults \ logging \ lua \ diff --git a/src/plugins/job_submit/cray/Makefile.am b/src/plugins/job_submit/cray/Makefile.am deleted file mode 100644 index 6fac8b54e7526acaa43aef922f197e02ef0f8fec..0000000000000000000000000000000000000000 --- a/src/plugins/job_submit/cray/Makefile.am +++ /dev/null @@ -1,13 +0,0 @@ -# Makefile for job_submit/cray plugin - -AUTOMAKE_OPTIONS = foreign - -AM_CPPFLAGS = -DDEFAULT_SCRIPT_DIR=\"$(sysconfdir)\" \ - -I$(top_srcdir) -I$(top_srcdir)/src/common - -PLUGIN_FLAGS = -module -avoid-version --export-dynamic - -pkglib_LTLIBRARIES = job_submit_cray.la -job_submit_cray_la_SOURCES = job_submit_cray.c -job_submit_cray_la_LDFLAGS = $(PLUGIN_FLAGS) - diff --git a/src/plugins/job_submit/cray_aries/Makefile.am b/src/plugins/job_submit/cray_aries/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..2d04c44ca0b6d17de5919006e3725b488eef6872 --- /dev/null +++ b/src/plugins/job_submit/cray_aries/Makefile.am @@ -0,0 +1,13 @@ +# Makefile for job_submit/cray_aries plugin + +AUTOMAKE_OPTIONS = foreign + +AM_CPPFLAGS = -DDEFAULT_SCRIPT_DIR=\"$(sysconfdir)\" \ + -I$(top_srcdir) -I$(top_srcdir)/src/common + +PLUGIN_FLAGS = -module -avoid-version --export-dynamic + +pkglib_LTLIBRARIES = job_submit_cray_aries.la +job_submit_cray_aries_la_SOURCES = job_submit_cray_aries.c +job_submit_cray_aries_la_LDFLAGS = $(PLUGIN_FLAGS) + diff --git a/src/plugins/job_submit/cray/Makefile.in b/src/plugins/job_submit/cray_aries/Makefile.in similarity index 95% rename from src/plugins/job_submit/cray/Makefile.in rename to src/plugins/job_submit/cray_aries/Makefile.in index ceeb8aa946e5a44d1de25fe70c3888f10ba5725d..2b5de3a33f83383178405c917b1ed1799d98019f 100644 --- a/src/plugins/job_submit/cray/Makefile.in +++ b/src/plugins/job_submit/cray_aries/Makefile.in @@ -14,7 +14,7 @@ @SET_MAKE@ -# Makefile for job_submit/cray plugin +# Makefile for job_submit/cray_aries plugin VPATH = @srcdir@ am__is_gnu_make = { \ @@ -91,7 +91,7 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ -subdir = src/plugins/job_submit/cray +subdir = src/plugins/job_submit/cray_aries ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/auxdir/ax_check_compile_flag.m4 \ $(top_srcdir)/auxdir/ax_check_zlib.m4 \ @@ -174,16 +174,17 @@ am__uninstall_files_from_dir = { \ } am__installdirs = "$(DESTDIR)$(pkglibdir)" LTLIBRARIES = $(pkglib_LTLIBRARIES) -job_submit_cray_la_LIBADD = -am_job_submit_cray_la_OBJECTS = job_submit_cray.lo -job_submit_cray_la_OBJECTS = $(am_job_submit_cray_la_OBJECTS) +job_submit_cray_aries_la_LIBADD = +am_job_submit_cray_aries_la_OBJECTS = job_submit_cray_aries.lo +job_submit_cray_aries_la_OBJECTS = \ + $(am_job_submit_cray_aries_la_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = -job_submit_cray_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ +job_submit_cray_aries_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ - $(AM_CFLAGS) $(CFLAGS) $(job_submit_cray_la_LDFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) $(job_submit_cray_aries_la_LDFLAGS) \ $(LDFLAGS) -o $@ AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) @@ -200,7 +201,7 @@ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -I$(top_builddir)/slurm depcomp = $(SHELL) $(top_srcdir)/auxdir/depcomp am__maybe_remake_depfiles = depfiles -am__depfiles_remade = ./$(DEPDIR)/job_submit_cray.Plo +am__depfiles_remade = ./$(DEPDIR)/job_submit_cray_aries.Plo am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) @@ -220,8 +221,8 @@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = -SOURCES = $(job_submit_cray_la_SOURCES) -DIST_SOURCES = $(job_submit_cray_la_SOURCES) +SOURCES = $(job_submit_cray_aries_la_SOURCES) +DIST_SOURCES = $(job_submit_cray_aries_la_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ @@ -497,9 +498,9 @@ AM_CPPFLAGS = -DDEFAULT_SCRIPT_DIR=\"$(sysconfdir)\" \ -I$(top_srcdir) -I$(top_srcdir)/src/common PLUGIN_FLAGS = -module -avoid-version --export-dynamic -pkglib_LTLIBRARIES = job_submit_cray.la -job_submit_cray_la_SOURCES = job_submit_cray.c -job_submit_cray_la_LDFLAGS = $(PLUGIN_FLAGS) +pkglib_LTLIBRARIES = job_submit_cray_aries.la +job_submit_cray_aries_la_SOURCES = job_submit_cray_aries.c +job_submit_cray_aries_la_LDFLAGS = $(PLUGIN_FLAGS) all: all-am .SUFFIXES: @@ -513,9 +514,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/plugins/job_submit/cray/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/plugins/job_submit/cray_aries/Makefile'; \ $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign src/plugins/job_submit/cray/Makefile + $(AUTOMAKE) --foreign src/plugins/job_submit/cray_aries/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -569,8 +570,8 @@ clean-pkglibLTLIBRARIES: rm -f $${locs}; \ } -job_submit_cray.la: $(job_submit_cray_la_OBJECTS) $(job_submit_cray_la_DEPENDENCIES) $(EXTRA_job_submit_cray_la_DEPENDENCIES) - $(AM_V_CCLD)$(job_submit_cray_la_LINK) -rpath $(pkglibdir) $(job_submit_cray_la_OBJECTS) $(job_submit_cray_la_LIBADD) $(LIBS) +job_submit_cray_aries.la: $(job_submit_cray_aries_la_OBJECTS) $(job_submit_cray_aries_la_DEPENDENCIES) $(EXTRA_job_submit_cray_aries_la_DEPENDENCIES) + $(AM_V_CCLD)$(job_submit_cray_aries_la_LINK) -rpath $(pkglibdir) $(job_submit_cray_aries_la_OBJECTS) $(job_submit_cray_aries_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) @@ -578,7 +579,7 @@ mostlyclean-compile: distclean-compile: -rm -f *.tab.c -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/job_submit_cray.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/job_submit_cray_aries.Plo@am__quote@ # am--include-marker $(am__depfiles_remade): @$(MKDIR_P) $(@D) @@ -741,7 +742,7 @@ clean-am: clean-generic clean-libtool clean-pkglibLTLIBRARIES \ mostlyclean-am distclean: distclean-am - -rm -f ./$(DEPDIR)/job_submit_cray.Plo + -rm -f ./$(DEPDIR)/job_submit_cray_aries.Plo -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags @@ -787,7 +788,7 @@ install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am - -rm -f ./$(DEPDIR)/job_submit_cray.Plo + -rm -f ./$(DEPDIR)/job_submit_cray_aries.Plo -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic diff --git a/src/plugins/job_submit/cray/job_submit_cray.c b/src/plugins/job_submit/cray_aries/job_submit_cray_aries.c similarity index 94% rename from src/plugins/job_submit/cray/job_submit_cray.c rename to src/plugins/job_submit/cray_aries/job_submit_cray_aries.c index 95ec5679b6cc8578de0ebc62e05f2eaf7953a387..7c43ae4448f7bdc3df418e41d9cd4fd8dd546690 100644 --- a/src/plugins/job_submit/cray/job_submit_cray.c +++ b/src/plugins/job_submit/cray_aries/job_submit_cray_aries.c @@ -1,6 +1,6 @@ /*****************************************************************************\ - * job_submit_cray.c - Infrastructure for native Slurm operation on Cray - * computers + * job_submit_cray_aries.c - Infrastructure for native Slurm operation on + * Cray/Aries computers ***************************************************************************** * Copyright (C) 2013 SchedMD LLC. * Copyright (C) 2014 Cray Inc. All Rights Reserved. @@ -73,8 +73,8 @@ * plugin_version - an unsigned 32-bit integer containing the Slurm version * (major.minor.micro combined into a single number). */ -const char plugin_name[] = "Job submit Cray plugin"; -const char plugin_type[] = "job_submit/cray"; +const char plugin_name[] = "Job submit Cray/Aries plugin"; +const char plugin_type[] = "job_submit/cray_aries"; const uint32_t plugin_version = SLURM_VERSION_NUMBER; #define CRAY_GRES "craynetwork" diff --git a/src/plugins/power/Makefile.am b/src/plugins/power/Makefile.am index ce2145e2a9cb067caefbed4c3605cd87bb5b2ba5..ccde44c3223fb799c5b9ae14f96d58df1fe7a950 100644 --- a/src/plugins/power/Makefile.am +++ b/src/plugins/power/Makefile.am @@ -1,3 +1,3 @@ # Makefile for power management plugins -SUBDIRS = common cray none +SUBDIRS = common cray_aries none diff --git a/src/plugins/power/Makefile.in b/src/plugins/power/Makefile.in index 3aac5130faf7c50f7bcfd9658ad2a626edfbbc6e..94fcdaa47aaf842fb525408d4bceed2065eb1214 100644 --- a/src/plugins/power/Makefile.in +++ b/src/plugins/power/Makefile.in @@ -470,7 +470,7 @@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -SUBDIRS = common cray none +SUBDIRS = common cray_aries none all: all-recursive .SUFFIXES: diff --git a/src/plugins/power/cray/Makefile.am b/src/plugins/power/cray/Makefile.am deleted file mode 100644 index 5f7e64a2b8d13d59bcb7583940f1d3f154062cf0..0000000000000000000000000000000000000000 --- a/src/plugins/power/cray/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -# Makefile for power/cray plugin - -AUTOMAKE_OPTIONS = foreign - -PLUGIN_FLAGS = -module -avoid-version --export-dynamic - -if WITH_JSON_PARSER - -AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common $(JSON_CPPFLAGS) - -pkglib_LTLIBRARIES = power_cray.la -power_cray_la_SOURCES = power_cray.c -power_cray_la_LDFLAGS = $(PLUGIN_FLAGS) $(JSON_LDFLAGS) -power_cray_la_LIBADD = ../common/libpower_common.la - -force: -$(power_cray_la_LIBADD) : force - @cd `dirname $@` && $(MAKE) `basename $@` - -else -EXTRA_power_cray_la_SOURCES = power_cray.c -endif diff --git a/src/plugins/power/cray_aries/Makefile.am b/src/plugins/power/cray_aries/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..e388442c32313498b7de0b966ea628c89c01a193 --- /dev/null +++ b/src/plugins/power/cray_aries/Makefile.am @@ -0,0 +1,22 @@ +# Makefile for power/cray_aries plugin + +AUTOMAKE_OPTIONS = foreign + +PLUGIN_FLAGS = -module -avoid-version --export-dynamic + +if WITH_JSON_PARSER + +AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common $(JSON_CPPFLAGS) + +pkglib_LTLIBRARIES = power_cray_aries.la +power_cray_aries_la_SOURCES = power_cray_aries.c +power_cray_aries_la_LDFLAGS = $(PLUGIN_FLAGS) $(JSON_LDFLAGS) +power_cray_aries_la_LIBADD = ../common/libpower_common.la + +force: +$(power_cray_aries_la_LIBADD) : force + @cd `dirname $@` && $(MAKE) `basename $@` + +else +EXTRA_power_cray_aries_la_SOURCES = power_cray_aries.c +endif diff --git a/src/plugins/power/cray/Makefile.in b/src/plugins/power/cray_aries/Makefile.in similarity index 92% rename from src/plugins/power/cray/Makefile.in rename to src/plugins/power/cray_aries/Makefile.in index 677788b23db794ec38134fb942127bdbdf35bf76..0c87c2865634274aee033cd3a3300bb309f95693 100644 --- a/src/plugins/power/cray/Makefile.in +++ b/src/plugins/power/cray_aries/Makefile.in @@ -14,7 +14,7 @@ @SET_MAKE@ -# Makefile for power/cray plugin +# Makefile for power/cray_aries plugin VPATH = @srcdir@ am__is_gnu_make = { \ @@ -91,7 +91,7 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ -subdir = src/plugins/power/cray +subdir = src/plugins/power/cray_aries ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/auxdir/ax_check_compile_flag.m4 \ $(top_srcdir)/auxdir/ax_check_zlib.m4 \ @@ -174,20 +174,23 @@ am__uninstall_files_from_dir = { \ } am__installdirs = "$(DESTDIR)$(pkglibdir)" LTLIBRARIES = $(pkglib_LTLIBRARIES) -@WITH_JSON_PARSER_TRUE@power_cray_la_DEPENDENCIES = \ +@WITH_JSON_PARSER_TRUE@power_cray_aries_la_DEPENDENCIES = \ @WITH_JSON_PARSER_TRUE@ ../common/libpower_common.la -am__power_cray_la_SOURCES_DIST = power_cray.c -@WITH_JSON_PARSER_TRUE@am_power_cray_la_OBJECTS = power_cray.lo -am__EXTRA_power_cray_la_SOURCES_DIST = power_cray.c -power_cray_la_OBJECTS = $(am_power_cray_la_OBJECTS) +am__power_cray_aries_la_SOURCES_DIST = power_cray_aries.c +@WITH_JSON_PARSER_TRUE@am_power_cray_aries_la_OBJECTS = \ +@WITH_JSON_PARSER_TRUE@ power_cray_aries.lo +am__EXTRA_power_cray_aries_la_SOURCES_DIST = power_cray_aries.c +power_cray_aries_la_OBJECTS = $(am_power_cray_aries_la_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = -power_cray_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(power_cray_la_LDFLAGS) $(LDFLAGS) -o $@ -@WITH_JSON_PARSER_TRUE@am_power_cray_la_rpath = -rpath $(pkglibdir) +power_cray_aries_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(AM_CFLAGS) $(CFLAGS) $(power_cray_aries_la_LDFLAGS) \ + $(LDFLAGS) -o $@ +@WITH_JSON_PARSER_TRUE@am_power_cray_aries_la_rpath = -rpath \ +@WITH_JSON_PARSER_TRUE@ $(pkglibdir) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false @@ -203,7 +206,7 @@ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -I$(top_builddir)/slurm depcomp = $(SHELL) $(top_srcdir)/auxdir/depcomp am__maybe_remake_depfiles = depfiles -am__depfiles_remade = ./$(DEPDIR)/power_cray.Plo +am__depfiles_remade = ./$(DEPDIR)/power_cray_aries.Plo am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) @@ -223,9 +226,10 @@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = -SOURCES = $(power_cray_la_SOURCES) $(EXTRA_power_cray_la_SOURCES) -DIST_SOURCES = $(am__power_cray_la_SOURCES_DIST) \ - $(am__EXTRA_power_cray_la_SOURCES_DIST) +SOURCES = $(power_cray_aries_la_SOURCES) \ + $(EXTRA_power_cray_aries_la_SOURCES) +DIST_SOURCES = $(am__power_cray_aries_la_SOURCES_DIST) \ + $(am__EXTRA_power_cray_aries_la_SOURCES_DIST) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ @@ -499,11 +503,11 @@ top_srcdir = @top_srcdir@ AUTOMAKE_OPTIONS = foreign PLUGIN_FLAGS = -module -avoid-version --export-dynamic @WITH_JSON_PARSER_TRUE@AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common $(JSON_CPPFLAGS) -@WITH_JSON_PARSER_TRUE@pkglib_LTLIBRARIES = power_cray.la -@WITH_JSON_PARSER_TRUE@power_cray_la_SOURCES = power_cray.c -@WITH_JSON_PARSER_TRUE@power_cray_la_LDFLAGS = $(PLUGIN_FLAGS) $(JSON_LDFLAGS) -@WITH_JSON_PARSER_TRUE@power_cray_la_LIBADD = ../common/libpower_common.la -@WITH_JSON_PARSER_FALSE@EXTRA_power_cray_la_SOURCES = power_cray.c +@WITH_JSON_PARSER_TRUE@pkglib_LTLIBRARIES = power_cray_aries.la +@WITH_JSON_PARSER_TRUE@power_cray_aries_la_SOURCES = power_cray_aries.c +@WITH_JSON_PARSER_TRUE@power_cray_aries_la_LDFLAGS = $(PLUGIN_FLAGS) $(JSON_LDFLAGS) +@WITH_JSON_PARSER_TRUE@power_cray_aries_la_LIBADD = ../common/libpower_common.la +@WITH_JSON_PARSER_FALSE@EXTRA_power_cray_aries_la_SOURCES = power_cray_aries.c all: all-am .SUFFIXES: @@ -517,9 +521,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/plugins/power/cray/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/plugins/power/cray_aries/Makefile'; \ $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign src/plugins/power/cray/Makefile + $(AUTOMAKE) --foreign src/plugins/power/cray_aries/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -573,8 +577,8 @@ clean-pkglibLTLIBRARIES: rm -f $${locs}; \ } -power_cray.la: $(power_cray_la_OBJECTS) $(power_cray_la_DEPENDENCIES) $(EXTRA_power_cray_la_DEPENDENCIES) - $(AM_V_CCLD)$(power_cray_la_LINK) $(am_power_cray_la_rpath) $(power_cray_la_OBJECTS) $(power_cray_la_LIBADD) $(LIBS) +power_cray_aries.la: $(power_cray_aries_la_OBJECTS) $(power_cray_aries_la_DEPENDENCIES) $(EXTRA_power_cray_aries_la_DEPENDENCIES) + $(AM_V_CCLD)$(power_cray_aries_la_LINK) $(am_power_cray_aries_la_rpath) $(power_cray_aries_la_OBJECTS) $(power_cray_aries_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) @@ -582,7 +586,7 @@ mostlyclean-compile: distclean-compile: -rm -f *.tab.c -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/power_cray.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/power_cray_aries.Plo@am__quote@ # am--include-marker $(am__depfiles_remade): @$(MKDIR_P) $(@D) @@ -745,7 +749,7 @@ clean-am: clean-generic clean-libtool clean-pkglibLTLIBRARIES \ mostlyclean-am distclean: distclean-am - -rm -f ./$(DEPDIR)/power_cray.Plo + -rm -f ./$(DEPDIR)/power_cray_aries.Plo -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags @@ -791,7 +795,7 @@ install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am - -rm -f ./$(DEPDIR)/power_cray.Plo + -rm -f ./$(DEPDIR)/power_cray_aries.Plo -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic @@ -831,7 +835,7 @@ uninstall-am: uninstall-pkglibLTLIBRARIES @WITH_JSON_PARSER_TRUE@force: -@WITH_JSON_PARSER_TRUE@$(power_cray_la_LIBADD) : force +@WITH_JSON_PARSER_TRUE@$(power_cray_aries_la_LIBADD) : force @WITH_JSON_PARSER_TRUE@ @cd `dirname $@` && $(MAKE) `basename $@` # Tell versions [3.59,3.63) of GNU make to not export all variables. diff --git a/src/plugins/power/cray/power_cray.c b/src/plugins/power/cray_aries/power_cray_aries.c similarity index 99% rename from src/plugins/power/cray/power_cray.c rename to src/plugins/power/cray_aries/power_cray_aries.c index be60cb22e31f754781d77d5ad5667296d765d1ac..4c39262df1f2f188a006d25e0b38edde574888b1 100644 --- a/src/plugins/power/cray/power_cray.c +++ b/src/plugins/power/cray_aries/power_cray_aries.c @@ -1,5 +1,5 @@ /*****************************************************************************\ - * power_cray.c - Plugin for Cray power management. + * power_cray_aries.c - Plugin for Cray/Aries power management. ***************************************************************************** * Copyright (C) 2014-2015 SchedMD LLC. * Written by Morris Jette <jette@schedmd.com> @@ -125,8 +125,8 @@ typedef struct power_config_nodes { * plugin_version - an unsigned 32-bit integer containing the Slurm version * (major.minor.micro combined into a single number). */ -const char plugin_name[] = "power cray plugin"; -const char plugin_type[] = "power/cray"; +const char plugin_name[] = "power Cray/Aries plugin"; +const char plugin_type[] = "power/cray_aries"; const uint32_t plugin_version = SLURM_VERSION_NUMBER; /*********************** local variables *********************/ diff --git a/src/plugins/proctrack/Makefile.am b/src/plugins/proctrack/Makefile.am index 0b02984b63b8b7973533ca7042a8c1841697b8eb..49c845a845981dc99df22b0414b335c2190e12a0 100644 --- a/src/plugins/proctrack/Makefile.am +++ b/src/plugins/proctrack/Makefile.am @@ -1,7 +1,7 @@ # Makefile for proctrack plugins if HAVE_NATIVE_CRAY -CRAY = cray +CRAY = cray_aries endif SUBDIRS = $(CRAY) linuxproc pgid diff --git a/src/plugins/proctrack/Makefile.in b/src/plugins/proctrack/Makefile.in index 6be1c1cc833f2700131efe9d3e42ffc015bf489b..e9cb05c3669100da24077a1206192c4f98dd5129 100644 --- a/src/plugins/proctrack/Makefile.in +++ b/src/plugins/proctrack/Makefile.in @@ -199,7 +199,7 @@ am__define_uniq_tagged_files = \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags -DIST_SUBDIRS = cray linuxproc pgid cgroup +DIST_SUBDIRS = cray_aries linuxproc pgid cgroup am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ @@ -471,7 +471,7 @@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -@HAVE_NATIVE_CRAY_TRUE@CRAY = cray +@HAVE_NATIVE_CRAY_TRUE@CRAY = cray_aries SUBDIRS = $(CRAY) linuxproc pgid $(am__append_1) all: all-recursive diff --git a/src/plugins/proctrack/cray/Makefile.am b/src/plugins/proctrack/cray_aries/Makefile.am similarity index 54% rename from src/plugins/proctrack/cray/Makefile.am rename to src/plugins/proctrack/cray_aries/Makefile.am index d0b8c6309cd9c3339ae41f484d5831c4ff0dfc6c..935281246695855f1b7130b5c6f961b5b04ea6d7 100644 --- a/src/plugins/proctrack/cray/Makefile.am +++ b/src/plugins/proctrack/cray_aries/Makefile.am @@ -6,7 +6,7 @@ PLUGIN_FLAGS = - -module -avoid-version --export-dynamic AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common $(CRAY_JOB_CPPFLAGS) -pkglib_LTLIBRARIES = proctrack_cray.la +pkglib_LTLIBRARIES = proctrack_cray_aries.la -proctrack_cray_la_SOURCES = proctrack_cray.c -proctrack_cray_la_LDFLAGS = $(PLUGIN_FLAGS) $(CRAY_JOB_LDFLAGS) +proctrack_cray_aries_la_SOURCES = proctrack_cray_aries.c +proctrack_cray_aries_la_LDFLAGS = $(PLUGIN_FLAGS) $(CRAY_JOB_LDFLAGS) diff --git a/src/plugins/proctrack/cray/Makefile.in b/src/plugins/proctrack/cray_aries/Makefile.in similarity index 95% rename from src/plugins/proctrack/cray/Makefile.in rename to src/plugins/proctrack/cray_aries/Makefile.in index 00aad238939bb4a9109299f9831273184a60ee13..cfc9938cdf19ccf221c987e82276ffa2697bf749 100644 --- a/src/plugins/proctrack/cray/Makefile.in +++ b/src/plugins/proctrack/cray_aries/Makefile.in @@ -91,7 +91,7 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ -subdir = src/plugins/proctrack/cray +subdir = src/plugins/proctrack/cray_aries ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/auxdir/ax_check_compile_flag.m4 \ $(top_srcdir)/auxdir/ax_check_zlib.m4 \ @@ -174,17 +174,18 @@ am__uninstall_files_from_dir = { \ } am__installdirs = "$(DESTDIR)$(pkglibdir)" LTLIBRARIES = $(pkglib_LTLIBRARIES) -proctrack_cray_la_LIBADD = -am_proctrack_cray_la_OBJECTS = proctrack_cray.lo -proctrack_cray_la_OBJECTS = $(am_proctrack_cray_la_OBJECTS) +proctrack_cray_aries_la_LIBADD = +am_proctrack_cray_aries_la_OBJECTS = proctrack_cray_aries.lo +proctrack_cray_aries_la_OBJECTS = \ + $(am_proctrack_cray_aries_la_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = -proctrack_cray_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ +proctrack_cray_aries_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ - $(AM_CFLAGS) $(CFLAGS) $(proctrack_cray_la_LDFLAGS) $(LDFLAGS) \ - -o $@ + $(AM_CFLAGS) $(CFLAGS) $(proctrack_cray_aries_la_LDFLAGS) \ + $(LDFLAGS) -o $@ AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false @@ -200,7 +201,7 @@ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -I$(top_builddir)/slurm depcomp = $(SHELL) $(top_srcdir)/auxdir/depcomp am__maybe_remake_depfiles = depfiles -am__depfiles_remade = ./$(DEPDIR)/proctrack_cray.Plo +am__depfiles_remade = ./$(DEPDIR)/proctrack_cray_aries.Plo am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) @@ -220,8 +221,8 @@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = -SOURCES = $(proctrack_cray_la_SOURCES) -DIST_SOURCES = $(proctrack_cray_la_SOURCES) +SOURCES = $(proctrack_cray_aries_la_SOURCES) +DIST_SOURCES = $(proctrack_cray_aries_la_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ @@ -495,9 +496,9 @@ top_srcdir = @top_srcdir@ AUTOMAKE_OPTIONS = foreign PLUGIN_FLAGS = - -module -avoid-version --export-dynamic AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common $(CRAY_JOB_CPPFLAGS) -pkglib_LTLIBRARIES = proctrack_cray.la -proctrack_cray_la_SOURCES = proctrack_cray.c -proctrack_cray_la_LDFLAGS = $(PLUGIN_FLAGS) $(CRAY_JOB_LDFLAGS) +pkglib_LTLIBRARIES = proctrack_cray_aries.la +proctrack_cray_aries_la_SOURCES = proctrack_cray_aries.c +proctrack_cray_aries_la_LDFLAGS = $(PLUGIN_FLAGS) $(CRAY_JOB_LDFLAGS) all: all-am .SUFFIXES: @@ -511,9 +512,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/plugins/proctrack/cray/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/plugins/proctrack/cray_aries/Makefile'; \ $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign src/plugins/proctrack/cray/Makefile + $(AUTOMAKE) --foreign src/plugins/proctrack/cray_aries/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -567,8 +568,8 @@ clean-pkglibLTLIBRARIES: rm -f $${locs}; \ } -proctrack_cray.la: $(proctrack_cray_la_OBJECTS) $(proctrack_cray_la_DEPENDENCIES) $(EXTRA_proctrack_cray_la_DEPENDENCIES) - $(AM_V_CCLD)$(proctrack_cray_la_LINK) -rpath $(pkglibdir) $(proctrack_cray_la_OBJECTS) $(proctrack_cray_la_LIBADD) $(LIBS) +proctrack_cray_aries.la: $(proctrack_cray_aries_la_OBJECTS) $(proctrack_cray_aries_la_DEPENDENCIES) $(EXTRA_proctrack_cray_aries_la_DEPENDENCIES) + $(AM_V_CCLD)$(proctrack_cray_aries_la_LINK) -rpath $(pkglibdir) $(proctrack_cray_aries_la_OBJECTS) $(proctrack_cray_aries_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) @@ -576,7 +577,7 @@ mostlyclean-compile: distclean-compile: -rm -f *.tab.c -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/proctrack_cray.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/proctrack_cray_aries.Plo@am__quote@ # am--include-marker $(am__depfiles_remade): @$(MKDIR_P) $(@D) @@ -739,7 +740,7 @@ clean-am: clean-generic clean-libtool clean-pkglibLTLIBRARIES \ mostlyclean-am distclean: distclean-am - -rm -f ./$(DEPDIR)/proctrack_cray.Plo + -rm -f ./$(DEPDIR)/proctrack_cray_aries.Plo -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags @@ -785,7 +786,7 @@ install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am - -rm -f ./$(DEPDIR)/proctrack_cray.Plo + -rm -f ./$(DEPDIR)/proctrack_cray_aries.Plo -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic diff --git a/src/plugins/proctrack/cray/proctrack_cray.c b/src/plugins/proctrack/cray_aries/proctrack_cray_aries.c similarity index 98% rename from src/plugins/proctrack/cray/proctrack_cray.c rename to src/plugins/proctrack/cray_aries/proctrack_cray_aries.c index febe140f691869f1b0d4ef7f28e4d9e8d9304421..54a3fe1bb316d16054b2a049a8b7077485a89596 100644 --- a/src/plugins/proctrack/cray/proctrack_cray.c +++ b/src/plugins/proctrack/cray_aries/proctrack_cray_aries.c @@ -1,5 +1,5 @@ /*****************************************************************************\ - * proctrack_cray.c - process tracking via Cray's APIs. + * proctrack_cray_aries.c - process tracking via Cray's API with Aries. ***************************************************************************** * Copyright (C) 2013 SchedMD LLC * Written by Danny Auble <da@schedmd.com> who borrowed heavily from @@ -60,8 +60,8 @@ #include "src/slurmd/slurmstepd/slurmstepd_job.h" -const char plugin_name[] = "Process tracking via Cray job module"; -const char plugin_type[] = "proctrack/cray"; +const char plugin_name[] = "Process tracking via Cray/Aries job module"; +const char plugin_type[] = "proctrack/cray_aries"; const uint32_t plugin_version = SLURM_VERSION_NUMBER; /* diff --git a/src/plugins/select/Makefile.am b/src/plugins/select/Makefile.am index c1e6db5bf5c41be477c82d73d1df6cd63d2772c6..09fdfd2313378fa86e3efe6158445ac3c2496f77 100644 --- a/src/plugins/select/Makefile.am +++ b/src/plugins/select/Makefile.am @@ -1,19 +1,19 @@ # Makefile for node selection plugins -# NOTE: other must be in the list before cray lest the build break -SUBDIRS = other cons_res cons_tres cray linear +# NOTE: other must be in the list before cray_aries lest the build break +SUBDIRS = other cons_res cons_tres cray_aries linear # Each plugin here needs a plugin_id, here are the currect plug_ids # for each plugin. -# bluegene = 100 ==> Not currently used -# cons_res = 101 -# linear = 102 -# bgq = 103 ==> Not currently used -# alps + linear = 104 ==> Not currently used -# alps + cons_res = 105 ==> Not currently used -# serial = 106 ==> Not currently used -# cray + linear = 107 -# cray + cons_res = 108 -# cons_tres = 109 -# cray + cons_tres = 110 +# bluegene = 100 ==> Not currently used +# cons_res = 101 +# linear = 102 +# bgq = 103 ==> Not currently used +# alps + linear = 104 ==> Not currently used +# alps + cons_res = 105 ==> Not currently used +# serial = 106 ==> Not currently used +# cray_aries + linear = 107 +# cray_aries + cons_res = 108 +# cons_tres = 109 +# cray_aries + cons_tres = 110 diff --git a/src/plugins/select/Makefile.in b/src/plugins/select/Makefile.in index a944534be94a95d0a772d4bda0b46d69c14ea591..e20d24010d7aa1c510820f57853318b71f75d90b 100644 --- a/src/plugins/select/Makefile.in +++ b/src/plugins/select/Makefile.in @@ -471,8 +471,8 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -# NOTE: other must be in the list before cray lest the build break -SUBDIRS = other cons_res cons_tres cray linear +# NOTE: other must be in the list before cray_aries lest the build break +SUBDIRS = other cons_res cons_tres cray_aries linear all: all-recursive .SUFFIXES: @@ -791,17 +791,17 @@ uninstall-am: # Each plugin here needs a plugin_id, here are the currect plug_ids # for each plugin. -# bluegene = 100 ==> Not currently used -# cons_res = 101 -# linear = 102 -# bgq = 103 ==> Not currently used -# alps + linear = 104 ==> Not currently used -# alps + cons_res = 105 ==> Not currently used -# serial = 106 ==> Not currently used -# cray + linear = 107 -# cray + cons_res = 108 -# cons_tres = 109 -# cray + cons_tres = 110 +# bluegene = 100 ==> Not currently used +# cons_res = 101 +# linear = 102 +# bgq = 103 ==> Not currently used +# alps + linear = 104 ==> Not currently used +# alps + cons_res = 105 ==> Not currently used +# serial = 106 ==> Not currently used +# cray_aries + linear = 107 +# cray_aries + cons_res = 108 +# cons_tres = 109 +# cray_aries + cons_tres = 110 # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/src/plugins/select/cray/Makefile.am b/src/plugins/select/cray/Makefile.am deleted file mode 100644 index d848200116a3ed3f5326abada528c695bbb740ef..0000000000000000000000000000000000000000 --- a/src/plugins/select/cray/Makefile.am +++ /dev/null @@ -1,15 +0,0 @@ -# Makefile for select/cray plugin - -AUTOMAKE_OPTIONS = foreign - -PLUGIN_FLAGS = -module -avoid-version --export-dynamic - -AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common \ - -I$(top_srcdir)/src/plugins/select/other $(CRAY_SELECT_CPPFLAGS) - -pkglib_LTLIBRARIES = select_cray.la - -# Cray node selection plugin. -select_cray_la_SOURCES = ccm.c ccm.h select_cray.c -select_cray_la_LDFLAGS = $(PLUGIN_FLAGS) $(CRAY_SELECT_LDFLAGS) -select_cray_la_LIBADD = ../other/libother_select.la diff --git a/src/plugins/select/cray_aries/Makefile.am b/src/plugins/select/cray_aries/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..0df1d1b4636dba19f25cc8098203d06aad00ea82 --- /dev/null +++ b/src/plugins/select/cray_aries/Makefile.am @@ -0,0 +1,15 @@ +# Makefile for select/cray_aries plugin + +AUTOMAKE_OPTIONS = foreign + +PLUGIN_FLAGS = -module -avoid-version --export-dynamic + +AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common \ + -I$(top_srcdir)/src/plugins/select/other $(CRAY_SELECT_CPPFLAGS) + +pkglib_LTLIBRARIES = select_cray_aries.la + +# Cray/Aries node selection plugin. +select_cray_aries_la_SOURCES = ccm.c ccm.h select_cray_aries.c +select_cray_aries_la_LDFLAGS = $(PLUGIN_FLAGS) $(CRAY_SELECT_LDFLAGS) +select_cray_aries_la_LIBADD = ../other/libother_select.la diff --git a/src/plugins/select/cray/Makefile.in b/src/plugins/select/cray_aries/Makefile.in similarity index 94% rename from src/plugins/select/cray/Makefile.in rename to src/plugins/select/cray_aries/Makefile.in index 96fbf7330ddf8be28431c063c21b9159b342a9c6..5e25463d74c3e77ab84bc1f38da46e5db1efa806 100644 --- a/src/plugins/select/cray/Makefile.in +++ b/src/plugins/select/cray_aries/Makefile.in @@ -14,7 +14,7 @@ @SET_MAKE@ -# Makefile for select/cray plugin +# Makefile for select/cray_aries plugin VPATH = @srcdir@ am__is_gnu_make = { \ @@ -91,7 +91,7 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ -subdir = src/plugins/select/cray +subdir = src/plugins/select/cray_aries ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/auxdir/ax_check_compile_flag.m4 \ $(top_srcdir)/auxdir/ax_check_zlib.m4 \ @@ -174,17 +174,17 @@ am__uninstall_files_from_dir = { \ } am__installdirs = "$(DESTDIR)$(pkglibdir)" LTLIBRARIES = $(pkglib_LTLIBRARIES) -select_cray_la_DEPENDENCIES = ../other/libother_select.la -am_select_cray_la_OBJECTS = ccm.lo select_cray.lo -select_cray_la_OBJECTS = $(am_select_cray_la_OBJECTS) +select_cray_aries_la_DEPENDENCIES = ../other/libother_select.la +am_select_cray_aries_la_OBJECTS = ccm.lo select_cray_aries.lo +select_cray_aries_la_OBJECTS = $(am_select_cray_aries_la_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = -select_cray_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ +select_cray_aries_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ - $(AM_CFLAGS) $(CFLAGS) $(select_cray_la_LDFLAGS) $(LDFLAGS) -o \ - $@ + $(AM_CFLAGS) $(CFLAGS) $(select_cray_aries_la_LDFLAGS) \ + $(LDFLAGS) -o $@ AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false @@ -200,7 +200,8 @@ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -I$(top_builddir)/slurm depcomp = $(SHELL) $(top_srcdir)/auxdir/depcomp am__maybe_remake_depfiles = depfiles -am__depfiles_remade = ./$(DEPDIR)/ccm.Plo ./$(DEPDIR)/select_cray.Plo +am__depfiles_remade = ./$(DEPDIR)/ccm.Plo \ + ./$(DEPDIR)/select_cray_aries.Plo am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) @@ -220,8 +221,8 @@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = -SOURCES = $(select_cray_la_SOURCES) -DIST_SOURCES = $(select_cray_la_SOURCES) +SOURCES = $(select_cray_aries_la_SOURCES) +DIST_SOURCES = $(select_cray_aries_la_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ @@ -497,12 +498,12 @@ PLUGIN_FLAGS = -module -avoid-version --export-dynamic AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common \ -I$(top_srcdir)/src/plugins/select/other $(CRAY_SELECT_CPPFLAGS) -pkglib_LTLIBRARIES = select_cray.la +pkglib_LTLIBRARIES = select_cray_aries.la -# Cray node selection plugin. -select_cray_la_SOURCES = ccm.c ccm.h select_cray.c -select_cray_la_LDFLAGS = $(PLUGIN_FLAGS) $(CRAY_SELECT_LDFLAGS) -select_cray_la_LIBADD = ../other/libother_select.la +# Cray/Aries node selection plugin. +select_cray_aries_la_SOURCES = ccm.c ccm.h select_cray_aries.c +select_cray_aries_la_LDFLAGS = $(PLUGIN_FLAGS) $(CRAY_SELECT_LDFLAGS) +select_cray_aries_la_LIBADD = ../other/libother_select.la all: all-am .SUFFIXES: @@ -516,9 +517,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/plugins/select/cray/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/plugins/select/cray_aries/Makefile'; \ $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign src/plugins/select/cray/Makefile + $(AUTOMAKE) --foreign src/plugins/select/cray_aries/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -572,8 +573,8 @@ clean-pkglibLTLIBRARIES: rm -f $${locs}; \ } -select_cray.la: $(select_cray_la_OBJECTS) $(select_cray_la_DEPENDENCIES) $(EXTRA_select_cray_la_DEPENDENCIES) - $(AM_V_CCLD)$(select_cray_la_LINK) -rpath $(pkglibdir) $(select_cray_la_OBJECTS) $(select_cray_la_LIBADD) $(LIBS) +select_cray_aries.la: $(select_cray_aries_la_OBJECTS) $(select_cray_aries_la_DEPENDENCIES) $(EXTRA_select_cray_aries_la_DEPENDENCIES) + $(AM_V_CCLD)$(select_cray_aries_la_LINK) -rpath $(pkglibdir) $(select_cray_aries_la_OBJECTS) $(select_cray_aries_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) @@ -582,7 +583,7 @@ distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ccm.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/select_cray.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/select_cray_aries.Plo@am__quote@ # am--include-marker $(am__depfiles_remade): @$(MKDIR_P) $(@D) @@ -746,7 +747,7 @@ clean-am: clean-generic clean-libtool clean-pkglibLTLIBRARIES \ distclean: distclean-am -rm -f ./$(DEPDIR)/ccm.Plo - -rm -f ./$(DEPDIR)/select_cray.Plo + -rm -f ./$(DEPDIR)/select_cray_aries.Plo -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags @@ -793,7 +794,7 @@ installcheck-am: maintainer-clean: maintainer-clean-am -rm -f ./$(DEPDIR)/ccm.Plo - -rm -f ./$(DEPDIR)/select_cray.Plo + -rm -f ./$(DEPDIR)/select_cray_aries.Plo -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic diff --git a/src/plugins/select/cray/ccm.c b/src/plugins/select/cray_aries/ccm.c similarity index 100% rename from src/plugins/select/cray/ccm.c rename to src/plugins/select/cray_aries/ccm.c diff --git a/src/plugins/select/cray/ccm.h b/src/plugins/select/cray_aries/ccm.h similarity index 100% rename from src/plugins/select/cray/ccm.h rename to src/plugins/select/cray_aries/ccm.h diff --git a/src/plugins/select/cray/select_cray.c b/src/plugins/select/cray_aries/select_cray_aries.c similarity index 99% rename from src/plugins/select/cray/select_cray.c rename to src/plugins/select/cray_aries/select_cray_aries.c index 1619453b598a8eeae8cc5afc5f1b2dbcda8bcfaa..1c0a5320de4df6781f828d438cd1c03e69fc6db4 100644 --- a/src/plugins/select/cray/select_cray.c +++ b/src/plugins/select/cray_aries/select_cray_aries.c @@ -1,5 +1,5 @@ /*****************************************************************************\ - * select_cray.c - node selection plugin for cray systems. + * select_cray_aries.c - node selection plugin for cray systems with Aries. ***************************************************************************** * Copyright (C) 2013-2014 SchedMD LLC * Copyright 2013 Cray Inc. All Rights Reserved. @@ -223,8 +223,8 @@ static uint64_t debug_flags = 0; * plugin_version - an unsigned 32-bit integer containing the Slurm version * (major.minor.micro combined into a single number). */ -const char plugin_name[] = "Cray node selection plugin"; -const char plugin_type[] = "select/cray"; +const char plugin_name[] = "Cray/Aries node selection plugin"; +const char plugin_type[] = "select/cray_aries"; uint32_t plugin_id = SELECT_PLUGIN_CRAY_LINEAR; const uint32_t plugin_version = SLURM_VERSION_NUMBER; diff --git a/src/plugins/switch/Makefile.am b/src/plugins/switch/Makefile.am index 99d4db0023bb5918837e339f116fa748064af9a0..ddfe019a65b84ba0c0a92d185d3eadd03291b7db 100644 --- a/src/plugins/switch/Makefile.am +++ b/src/plugins/switch/Makefile.am @@ -1,3 +1,3 @@ # Makefile for switch plugins -SUBDIRS = cray generic none +SUBDIRS = cray_aries generic none diff --git a/src/plugins/switch/Makefile.in b/src/plugins/switch/Makefile.in index 223c41e48f3161a4fdd9599203bceb34df708f20..18d40200b99980b2ccfd73ee9330a4fc8adf6f8f 100644 --- a/src/plugins/switch/Makefile.in +++ b/src/plugins/switch/Makefile.in @@ -470,7 +470,7 @@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -SUBDIRS = cray generic none +SUBDIRS = cray_aries generic none all: all-recursive .SUFFIXES: diff --git a/src/plugins/switch/cray/Makefile.am b/src/plugins/switch/cray_aries/Makefile.am similarity index 51% rename from src/plugins/switch/cray/Makefile.am rename to src/plugins/switch/cray_aries/Makefile.am index f27cfbedc0c125fb19256621c5f8b9a0b61ac2cd..dd0f763a5f198a41a1f9cca528cd892f903cf341 100644 --- a/src/plugins/switch/cray/Makefile.am +++ b/src/plugins/switch/cray_aries/Makefile.am @@ -1,26 +1,26 @@ -# Makefile for switch/cray plugin +# Makefile for switch/cray_aries plugin AUTOMAKE_OPTIONS = foreign PLUGIN_FLAGS = -module -avoid-version --export-dynamic -pkglib_LTLIBRARIES = switch_cray.la +pkglib_LTLIBRARIES = switch_cray_aries.la -# Cray switch plugin. -switch_cray_la_SOURCES = \ +# Cray_Aries switch plugin. +switch_cray_aries_la_SOURCES = \ cookies.c \ gpu.c \ iaa.c \ pe_info.c \ scaling.c \ - switch_cray.c \ - switch_cray.h \ + switch_cray_aries.c \ + switch_cray_aries.h \ util.c -switch_cray_la_LDFLAGS = \ +switch_cray_aries_la_LDFLAGS = \ \ $(PLUGIN_FLAGS) \ $(CRAY_SWITCH_LDFLAGS) -switch_cray_la_CPPFLAGS = \ +switch_cray_aries_la_CPPFLAGS = \ -I$(top_srcdir) \ -I$(top_srcdir)/src/common \ $(CRAY_SWITCH_CPPFLAGS) diff --git a/src/plugins/switch/cray/Makefile.in b/src/plugins/switch/cray_aries/Makefile.in similarity index 77% rename from src/plugins/switch/cray/Makefile.in rename to src/plugins/switch/cray_aries/Makefile.in index d62ebaab2f8da3ea453d671ec9a0b86374ec4b60..9a9b011198770592c852adbd69c918d56cadb72c 100644 --- a/src/plugins/switch/cray/Makefile.in +++ b/src/plugins/switch/cray_aries/Makefile.in @@ -14,7 +14,7 @@ @SET_MAKE@ -# Makefile for switch/cray plugin +# Makefile for switch/cray_aries plugin VPATH = @srcdir@ am__is_gnu_make = { \ @@ -91,7 +91,7 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ -subdir = src/plugins/switch/cray +subdir = src/plugins/switch/cray_aries ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/auxdir/ax_check_compile_flag.m4 \ $(top_srcdir)/auxdir/ax_check_zlib.m4 \ @@ -174,20 +174,22 @@ am__uninstall_files_from_dir = { \ } am__installdirs = "$(DESTDIR)$(pkglibdir)" LTLIBRARIES = $(pkglib_LTLIBRARIES) -switch_cray_la_LIBADD = -am_switch_cray_la_OBJECTS = switch_cray_la-cookies.lo \ - switch_cray_la-gpu.lo switch_cray_la-iaa.lo \ - switch_cray_la-pe_info.lo switch_cray_la-scaling.lo \ - switch_cray_la-switch_cray.lo switch_cray_la-util.lo -switch_cray_la_OBJECTS = $(am_switch_cray_la_OBJECTS) +switch_cray_aries_la_LIBADD = +am_switch_cray_aries_la_OBJECTS = switch_cray_aries_la-cookies.lo \ + switch_cray_aries_la-gpu.lo switch_cray_aries_la-iaa.lo \ + switch_cray_aries_la-pe_info.lo \ + switch_cray_aries_la-scaling.lo \ + switch_cray_aries_la-switch_cray_aries.lo \ + switch_cray_aries_la-util.lo +switch_cray_aries_la_OBJECTS = $(am_switch_cray_aries_la_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = -switch_cray_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ +switch_cray_aries_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ - $(AM_CFLAGS) $(CFLAGS) $(switch_cray_la_LDFLAGS) $(LDFLAGS) -o \ - $@ + $(AM_CFLAGS) $(CFLAGS) $(switch_cray_aries_la_LDFLAGS) \ + $(LDFLAGS) -o $@ AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false @@ -203,13 +205,13 @@ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -I$(top_builddir)/slurm depcomp = $(SHELL) $(top_srcdir)/auxdir/depcomp am__maybe_remake_depfiles = depfiles -am__depfiles_remade = ./$(DEPDIR)/switch_cray_la-cookies.Plo \ - ./$(DEPDIR)/switch_cray_la-gpu.Plo \ - ./$(DEPDIR)/switch_cray_la-iaa.Plo \ - ./$(DEPDIR)/switch_cray_la-pe_info.Plo \ - ./$(DEPDIR)/switch_cray_la-scaling.Plo \ - ./$(DEPDIR)/switch_cray_la-switch_cray.Plo \ - ./$(DEPDIR)/switch_cray_la-util.Plo +am__depfiles_remade = ./$(DEPDIR)/switch_cray_aries_la-cookies.Plo \ + ./$(DEPDIR)/switch_cray_aries_la-gpu.Plo \ + ./$(DEPDIR)/switch_cray_aries_la-iaa.Plo \ + ./$(DEPDIR)/switch_cray_aries_la-pe_info.Plo \ + ./$(DEPDIR)/switch_cray_aries_la-scaling.Plo \ + ./$(DEPDIR)/switch_cray_aries_la-switch_cray_aries.Plo \ + ./$(DEPDIR)/switch_cray_aries_la-util.Plo am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) @@ -229,8 +231,8 @@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = -SOURCES = $(switch_cray_la_SOURCES) -DIST_SOURCES = $(switch_cray_la_SOURCES) +SOURCES = $(switch_cray_aries_la_SOURCES) +DIST_SOURCES = $(switch_cray_aries_la_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ @@ -503,25 +505,25 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AUTOMAKE_OPTIONS = foreign PLUGIN_FLAGS = -module -avoid-version --export-dynamic -pkglib_LTLIBRARIES = switch_cray.la +pkglib_LTLIBRARIES = switch_cray_aries.la -# Cray switch plugin. -switch_cray_la_SOURCES = \ +# Cray_Aries switch plugin. +switch_cray_aries_la_SOURCES = \ cookies.c \ gpu.c \ iaa.c \ pe_info.c \ scaling.c \ - switch_cray.c \ - switch_cray.h \ + switch_cray_aries.c \ + switch_cray_aries.h \ util.c -switch_cray_la_LDFLAGS = \ +switch_cray_aries_la_LDFLAGS = \ \ $(PLUGIN_FLAGS) \ $(CRAY_SWITCH_LDFLAGS) -switch_cray_la_CPPFLAGS = \ +switch_cray_aries_la_CPPFLAGS = \ -I$(top_srcdir) \ -I$(top_srcdir)/src/common \ $(CRAY_SWITCH_CPPFLAGS) @@ -539,9 +541,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/plugins/switch/cray/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/plugins/switch/cray_aries/Makefile'; \ $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign src/plugins/switch/cray/Makefile + $(AUTOMAKE) --foreign src/plugins/switch/cray_aries/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -595,8 +597,8 @@ clean-pkglibLTLIBRARIES: rm -f $${locs}; \ } -switch_cray.la: $(switch_cray_la_OBJECTS) $(switch_cray_la_DEPENDENCIES) $(EXTRA_switch_cray_la_DEPENDENCIES) - $(AM_V_CCLD)$(switch_cray_la_LINK) -rpath $(pkglibdir) $(switch_cray_la_OBJECTS) $(switch_cray_la_LIBADD) $(LIBS) +switch_cray_aries.la: $(switch_cray_aries_la_OBJECTS) $(switch_cray_aries_la_DEPENDENCIES) $(EXTRA_switch_cray_aries_la_DEPENDENCIES) + $(AM_V_CCLD)$(switch_cray_aries_la_LINK) -rpath $(pkglibdir) $(switch_cray_aries_la_OBJECTS) $(switch_cray_aries_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) @@ -604,13 +606,13 @@ mostlyclean-compile: distclean-compile: -rm -f *.tab.c -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/switch_cray_la-cookies.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/switch_cray_la-gpu.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/switch_cray_la-iaa.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/switch_cray_la-pe_info.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/switch_cray_la-scaling.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/switch_cray_la-switch_cray.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/switch_cray_la-util.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/switch_cray_aries_la-cookies.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/switch_cray_aries_la-gpu.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/switch_cray_aries_la-iaa.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/switch_cray_aries_la-pe_info.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/switch_cray_aries_la-scaling.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/switch_cray_aries_la-switch_cray_aries.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/switch_cray_aries_la-util.Plo@am__quote@ # am--include-marker $(am__depfiles_remade): @$(MKDIR_P) $(@D) @@ -639,54 +641,54 @@ am--depfiles: $(am__depfiles_remade) @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< -switch_cray_la-cookies.lo: cookies.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(switch_cray_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT switch_cray_la-cookies.lo -MD -MP -MF $(DEPDIR)/switch_cray_la-cookies.Tpo -c -o switch_cray_la-cookies.lo `test -f 'cookies.c' || echo '$(srcdir)/'`cookies.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/switch_cray_la-cookies.Tpo $(DEPDIR)/switch_cray_la-cookies.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='cookies.c' object='switch_cray_la-cookies.lo' libtool=yes @AMDEPBACKSLASH@ +switch_cray_aries_la-cookies.lo: cookies.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(switch_cray_aries_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT switch_cray_aries_la-cookies.lo -MD -MP -MF $(DEPDIR)/switch_cray_aries_la-cookies.Tpo -c -o switch_cray_aries_la-cookies.lo `test -f 'cookies.c' || echo '$(srcdir)/'`cookies.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/switch_cray_aries_la-cookies.Tpo $(DEPDIR)/switch_cray_aries_la-cookies.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='cookies.c' object='switch_cray_aries_la-cookies.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(switch_cray_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o switch_cray_la-cookies.lo `test -f 'cookies.c' || echo '$(srcdir)/'`cookies.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(switch_cray_aries_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o switch_cray_aries_la-cookies.lo `test -f 'cookies.c' || echo '$(srcdir)/'`cookies.c -switch_cray_la-gpu.lo: gpu.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(switch_cray_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT switch_cray_la-gpu.lo -MD -MP -MF $(DEPDIR)/switch_cray_la-gpu.Tpo -c -o switch_cray_la-gpu.lo `test -f 'gpu.c' || echo '$(srcdir)/'`gpu.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/switch_cray_la-gpu.Tpo $(DEPDIR)/switch_cray_la-gpu.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gpu.c' object='switch_cray_la-gpu.lo' libtool=yes @AMDEPBACKSLASH@ +switch_cray_aries_la-gpu.lo: gpu.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(switch_cray_aries_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT switch_cray_aries_la-gpu.lo -MD -MP -MF $(DEPDIR)/switch_cray_aries_la-gpu.Tpo -c -o switch_cray_aries_la-gpu.lo `test -f 'gpu.c' || echo '$(srcdir)/'`gpu.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/switch_cray_aries_la-gpu.Tpo $(DEPDIR)/switch_cray_aries_la-gpu.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gpu.c' object='switch_cray_aries_la-gpu.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(switch_cray_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o switch_cray_la-gpu.lo `test -f 'gpu.c' || echo '$(srcdir)/'`gpu.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(switch_cray_aries_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o switch_cray_aries_la-gpu.lo `test -f 'gpu.c' || echo '$(srcdir)/'`gpu.c -switch_cray_la-iaa.lo: iaa.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(switch_cray_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT switch_cray_la-iaa.lo -MD -MP -MF $(DEPDIR)/switch_cray_la-iaa.Tpo -c -o switch_cray_la-iaa.lo `test -f 'iaa.c' || echo '$(srcdir)/'`iaa.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/switch_cray_la-iaa.Tpo $(DEPDIR)/switch_cray_la-iaa.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='iaa.c' object='switch_cray_la-iaa.lo' libtool=yes @AMDEPBACKSLASH@ +switch_cray_aries_la-iaa.lo: iaa.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(switch_cray_aries_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT switch_cray_aries_la-iaa.lo -MD -MP -MF $(DEPDIR)/switch_cray_aries_la-iaa.Tpo -c -o switch_cray_aries_la-iaa.lo `test -f 'iaa.c' || echo '$(srcdir)/'`iaa.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/switch_cray_aries_la-iaa.Tpo $(DEPDIR)/switch_cray_aries_la-iaa.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='iaa.c' object='switch_cray_aries_la-iaa.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(switch_cray_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o switch_cray_la-iaa.lo `test -f 'iaa.c' || echo '$(srcdir)/'`iaa.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(switch_cray_aries_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o switch_cray_aries_la-iaa.lo `test -f 'iaa.c' || echo '$(srcdir)/'`iaa.c -switch_cray_la-pe_info.lo: pe_info.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(switch_cray_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT switch_cray_la-pe_info.lo -MD -MP -MF $(DEPDIR)/switch_cray_la-pe_info.Tpo -c -o switch_cray_la-pe_info.lo `test -f 'pe_info.c' || echo '$(srcdir)/'`pe_info.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/switch_cray_la-pe_info.Tpo $(DEPDIR)/switch_cray_la-pe_info.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pe_info.c' object='switch_cray_la-pe_info.lo' libtool=yes @AMDEPBACKSLASH@ +switch_cray_aries_la-pe_info.lo: pe_info.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(switch_cray_aries_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT switch_cray_aries_la-pe_info.lo -MD -MP -MF $(DEPDIR)/switch_cray_aries_la-pe_info.Tpo -c -o switch_cray_aries_la-pe_info.lo `test -f 'pe_info.c' || echo '$(srcdir)/'`pe_info.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/switch_cray_aries_la-pe_info.Tpo $(DEPDIR)/switch_cray_aries_la-pe_info.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pe_info.c' object='switch_cray_aries_la-pe_info.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(switch_cray_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o switch_cray_la-pe_info.lo `test -f 'pe_info.c' || echo '$(srcdir)/'`pe_info.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(switch_cray_aries_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o switch_cray_aries_la-pe_info.lo `test -f 'pe_info.c' || echo '$(srcdir)/'`pe_info.c -switch_cray_la-scaling.lo: scaling.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(switch_cray_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT switch_cray_la-scaling.lo -MD -MP -MF $(DEPDIR)/switch_cray_la-scaling.Tpo -c -o switch_cray_la-scaling.lo `test -f 'scaling.c' || echo '$(srcdir)/'`scaling.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/switch_cray_la-scaling.Tpo $(DEPDIR)/switch_cray_la-scaling.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='scaling.c' object='switch_cray_la-scaling.lo' libtool=yes @AMDEPBACKSLASH@ +switch_cray_aries_la-scaling.lo: scaling.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(switch_cray_aries_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT switch_cray_aries_la-scaling.lo -MD -MP -MF $(DEPDIR)/switch_cray_aries_la-scaling.Tpo -c -o switch_cray_aries_la-scaling.lo `test -f 'scaling.c' || echo '$(srcdir)/'`scaling.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/switch_cray_aries_la-scaling.Tpo $(DEPDIR)/switch_cray_aries_la-scaling.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='scaling.c' object='switch_cray_aries_la-scaling.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(switch_cray_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o switch_cray_la-scaling.lo `test -f 'scaling.c' || echo '$(srcdir)/'`scaling.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(switch_cray_aries_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o switch_cray_aries_la-scaling.lo `test -f 'scaling.c' || echo '$(srcdir)/'`scaling.c -switch_cray_la-switch_cray.lo: switch_cray.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(switch_cray_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT switch_cray_la-switch_cray.lo -MD -MP -MF $(DEPDIR)/switch_cray_la-switch_cray.Tpo -c -o switch_cray_la-switch_cray.lo `test -f 'switch_cray.c' || echo '$(srcdir)/'`switch_cray.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/switch_cray_la-switch_cray.Tpo $(DEPDIR)/switch_cray_la-switch_cray.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='switch_cray.c' object='switch_cray_la-switch_cray.lo' libtool=yes @AMDEPBACKSLASH@ +switch_cray_aries_la-switch_cray_aries.lo: switch_cray_aries.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(switch_cray_aries_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT switch_cray_aries_la-switch_cray_aries.lo -MD -MP -MF $(DEPDIR)/switch_cray_aries_la-switch_cray_aries.Tpo -c -o switch_cray_aries_la-switch_cray_aries.lo `test -f 'switch_cray_aries.c' || echo '$(srcdir)/'`switch_cray_aries.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/switch_cray_aries_la-switch_cray_aries.Tpo $(DEPDIR)/switch_cray_aries_la-switch_cray_aries.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='switch_cray_aries.c' object='switch_cray_aries_la-switch_cray_aries.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(switch_cray_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o switch_cray_la-switch_cray.lo `test -f 'switch_cray.c' || echo '$(srcdir)/'`switch_cray.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(switch_cray_aries_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o switch_cray_aries_la-switch_cray_aries.lo `test -f 'switch_cray_aries.c' || echo '$(srcdir)/'`switch_cray_aries.c -switch_cray_la-util.lo: util.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(switch_cray_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT switch_cray_la-util.lo -MD -MP -MF $(DEPDIR)/switch_cray_la-util.Tpo -c -o switch_cray_la-util.lo `test -f 'util.c' || echo '$(srcdir)/'`util.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/switch_cray_la-util.Tpo $(DEPDIR)/switch_cray_la-util.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='util.c' object='switch_cray_la-util.lo' libtool=yes @AMDEPBACKSLASH@ +switch_cray_aries_la-util.lo: util.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(switch_cray_aries_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT switch_cray_aries_la-util.lo -MD -MP -MF $(DEPDIR)/switch_cray_aries_la-util.Tpo -c -o switch_cray_aries_la-util.lo `test -f 'util.c' || echo '$(srcdir)/'`util.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/switch_cray_aries_la-util.Tpo $(DEPDIR)/switch_cray_aries_la-util.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='util.c' object='switch_cray_aries_la-util.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(switch_cray_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o switch_cray_la-util.lo `test -f 'util.c' || echo '$(srcdir)/'`util.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(switch_cray_aries_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o switch_cray_aries_la-util.lo `test -f 'util.c' || echo '$(srcdir)/'`util.c mostlyclean-libtool: -rm -f *.lo @@ -822,13 +824,13 @@ clean-am: clean-generic clean-libtool clean-pkglibLTLIBRARIES \ mostlyclean-am distclean: distclean-am - -rm -f ./$(DEPDIR)/switch_cray_la-cookies.Plo - -rm -f ./$(DEPDIR)/switch_cray_la-gpu.Plo - -rm -f ./$(DEPDIR)/switch_cray_la-iaa.Plo - -rm -f ./$(DEPDIR)/switch_cray_la-pe_info.Plo - -rm -f ./$(DEPDIR)/switch_cray_la-scaling.Plo - -rm -f ./$(DEPDIR)/switch_cray_la-switch_cray.Plo - -rm -f ./$(DEPDIR)/switch_cray_la-util.Plo + -rm -f ./$(DEPDIR)/switch_cray_aries_la-cookies.Plo + -rm -f ./$(DEPDIR)/switch_cray_aries_la-gpu.Plo + -rm -f ./$(DEPDIR)/switch_cray_aries_la-iaa.Plo + -rm -f ./$(DEPDIR)/switch_cray_aries_la-pe_info.Plo + -rm -f ./$(DEPDIR)/switch_cray_aries_la-scaling.Plo + -rm -f ./$(DEPDIR)/switch_cray_aries_la-switch_cray_aries.Plo + -rm -f ./$(DEPDIR)/switch_cray_aries_la-util.Plo -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags @@ -874,13 +876,13 @@ install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am - -rm -f ./$(DEPDIR)/switch_cray_la-cookies.Plo - -rm -f ./$(DEPDIR)/switch_cray_la-gpu.Plo - -rm -f ./$(DEPDIR)/switch_cray_la-iaa.Plo - -rm -f ./$(DEPDIR)/switch_cray_la-pe_info.Plo - -rm -f ./$(DEPDIR)/switch_cray_la-scaling.Plo - -rm -f ./$(DEPDIR)/switch_cray_la-switch_cray.Plo - -rm -f ./$(DEPDIR)/switch_cray_la-util.Plo + -rm -f ./$(DEPDIR)/switch_cray_aries_la-cookies.Plo + -rm -f ./$(DEPDIR)/switch_cray_aries_la-gpu.Plo + -rm -f ./$(DEPDIR)/switch_cray_aries_la-iaa.Plo + -rm -f ./$(DEPDIR)/switch_cray_aries_la-pe_info.Plo + -rm -f ./$(DEPDIR)/switch_cray_aries_la-scaling.Plo + -rm -f ./$(DEPDIR)/switch_cray_aries_la-switch_cray_aries.Plo + -rm -f ./$(DEPDIR)/switch_cray_aries_la-util.Plo -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic diff --git a/src/plugins/switch/cray/cookies.c b/src/plugins/switch/cray_aries/cookies.c similarity index 99% rename from src/plugins/switch/cray/cookies.c rename to src/plugins/switch/cray_aries/cookies.c index 2de23f392b150b3f75eaf0db441768dbacd26483..deb93d8fdc1b653bfbdad128dc3d4fc9d417fa38 100644 --- a/src/plugins/switch/cray/cookies.c +++ b/src/plugins/switch/cray_aries/cookies.c @@ -35,7 +35,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. \*****************************************************************************/ -#include "switch_cray.h" +#include "switch_cray_aries.h" #if defined(HAVE_NATIVE_CRAY) || defined(HAVE_CRAY_NETWORK) diff --git a/src/plugins/switch/cray/gpu.c b/src/plugins/switch/cray_aries/gpu.c similarity index 99% rename from src/plugins/switch/cray/gpu.c rename to src/plugins/switch/cray_aries/gpu.c index e997cc18fca440d90a05315d20fcfaebd13e5b2d..056a7c34d5febc964b7aef29c86c0b6c5d6293cd 100644 --- a/src/plugins/switch/cray/gpu.c +++ b/src/plugins/switch/cray_aries/gpu.c @@ -35,7 +35,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. \*****************************************************************************/ -#include "switch_cray.h" +#include "switch_cray_aries.h" #ifdef HAVE_NATIVE_CRAY diff --git a/src/plugins/switch/cray/iaa.c b/src/plugins/switch/cray_aries/iaa.c similarity index 99% rename from src/plugins/switch/cray/iaa.c rename to src/plugins/switch/cray_aries/iaa.c index 5bda7b43381193b7b9da3fe7b85433ef3ed001e2..778776c1c13b2051a92b3df03a03757c21cdeb6f 100644 --- a/src/plugins/switch/cray/iaa.c +++ b/src/plugins/switch/cray_aries/iaa.c @@ -35,7 +35,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. \*****************************************************************************/ -#include "switch_cray.h" +#include "switch_cray_aries.h" #if defined(HAVE_NATIVE_CRAY_GA) || defined(HAVE_CRAY_NETWORK) diff --git a/src/plugins/switch/cray/pe_info.c b/src/plugins/switch/cray_aries/pe_info.c similarity index 99% rename from src/plugins/switch/cray/pe_info.c rename to src/plugins/switch/cray_aries/pe_info.c index b2f0db536f11c134be148188eb0ffc5054bbc825..196a5aa2a9caae0169a3fde93fc8becf8a9b99ec 100644 --- a/src/plugins/switch/cray/pe_info.c +++ b/src/plugins/switch/cray_aries/pe_info.c @@ -35,7 +35,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. \*****************************************************************************/ -#include "switch_cray.h" +#include "switch_cray_aries.h" #if defined (HAVE_NATIVE_CRAY) || defined(HAVE_CRAY_NETWORK) diff --git a/src/plugins/switch/cray/scaling.c b/src/plugins/switch/cray_aries/scaling.c similarity index 99% rename from src/plugins/switch/cray/scaling.c rename to src/plugins/switch/cray_aries/scaling.c index 40f77660152ffc9bf53dee77bd6ba9dc551a226c..7ef5b29a3646a2d7c02fbe8e36ba85794da0a5bb 100644 --- a/src/plugins/switch/cray/scaling.c +++ b/src/plugins/switch/cray_aries/scaling.c @@ -37,7 +37,7 @@ #define _GNU_SOURCE -#include "switch_cray.h" +#include "switch_cray_aries.h" #if defined(HAVE_NATIVE_CRAY) || defined(HAVE_CRAY_NETWORK) diff --git a/src/plugins/switch/cray/switch_cray.c b/src/plugins/switch/cray_aries/switch_cray_aries.c similarity index 99% rename from src/plugins/switch/cray/switch_cray.c rename to src/plugins/switch/cray_aries/switch_cray_aries.c index 2f5db8219343767f64aa33a1e828e65fd9d10ff7..8ab7bfe5217fac4890a61e765b20511fff138316 100644 --- a/src/plugins/switch/cray/switch_cray.c +++ b/src/plugins/switch/cray_aries/switch_cray_aries.c @@ -1,5 +1,5 @@ /*****************************************************************************\ - * switch_cray.c - Library for managing a switch on a Cray system. + * switch_cray_aries.c - Library for managing a switch on a Cray/Aries system. ***************************************************************************** * Copyright (C) 2013 SchedMD LLC * Copyright 2013 Cray Inc. All Rights Reserved. @@ -54,7 +54,7 @@ #include <sys/stat.h> #include <unistd.h> -#include "switch_cray.h" +#include "switch_cray_aries.h" #include "slurm/slurm.h" #include "slurm/slurm_errno.h" #include "src/common/pack.h" @@ -97,8 +97,8 @@ static bool lustre_no_flush = false; * plugin_version - an unsigned 32-bit integer containing the Slurm version * (major.minor.micro combined into a single number). */ -const char plugin_name[] = "switch CRAY plugin"; -const char plugin_type[] = "switch/cray"; +const char plugin_name[] = "switch Cray/Aries plugin"; +const char plugin_type[] = "switch/cray_aries"; const uint32_t plugin_version = SLURM_VERSION_NUMBER; const uint32_t plugin_id = SWITCH_PLUGIN_CRAY; diff --git a/src/plugins/switch/cray/switch_cray.h b/src/plugins/switch/cray_aries/switch_cray_aries.h similarity index 97% rename from src/plugins/switch/cray/switch_cray.h rename to src/plugins/switch/cray_aries/switch_cray_aries.h index bd7ae9ca5105255cc4eb580c4ba8438d5ca6acae..59f30392eccca223e18d57ccd0af83e909411aed 100644 --- a/src/plugins/switch/cray/switch_cray.h +++ b/src/plugins/switch/cray_aries/switch_cray_aries.h @@ -1,5 +1,5 @@ /*****************************************************************************\ - * switch_cray.h - Library for managing a switch on a Cray system. + * switch_cray_aries.h - Library for managing a switch on a Cray/Aries system. ***************************************************************************** * Copyright (C) 2013 SchedMD LLC * Copyright 2013 Cray Inc. All Rights Reserved. @@ -35,8 +35,8 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. \*****************************************************************************/ -#ifndef SWITCH_CRAY_H -#define SWITCH_CRAY_H +#ifndef SWITCH_CRAY_ARIES_H +#define SWITCH_CRAY_ARIES_H #include "config.h" @@ -185,4 +185,4 @@ extern int release_cookies(slurm_cray_jobinfo_t *job); #define CRAY_INFO(fmt, ...) info("(%s: %d: %s) "fmt, THIS_FILE, __LINE__, \ __func__, ##__VA_ARGS__); -#endif /* SWITCH_CRAY_H */ +#endif /* SWITCH_CRAY_ARIES_H */ diff --git a/src/plugins/switch/cray/util.c b/src/plugins/switch/cray_aries/util.c similarity index 99% rename from src/plugins/switch/cray/util.c rename to src/plugins/switch/cray_aries/util.c index b4fa4dfe69545c68b7d2fcbfee56428f33b6c191..5170d0ef31d2a0af900fa3d609eedab6ac98ea8f 100644 --- a/src/plugins/switch/cray/util.c +++ b/src/plugins/switch/cray_aries/util.c @@ -42,7 +42,7 @@ #include <sys/types.h> #include <sys/stat.h> -#include "switch_cray.h" +#include "switch_cray_aries.h" #include "slurm/slurm.h" #include "src/common/slurm_protocol_api.h" #include "src/common/slurm_step_layout.h" diff --git a/src/plugins/task/Makefile.am b/src/plugins/task/Makefile.am index 6c5c49ab1e30d3f8613eaee7b9832a321178b3cd..8d2a36eb68493d00289f009f0730a7e2a7f4a92a 100644 --- a/src/plugins/task/Makefile.am +++ b/src/plugins/task/Makefile.am @@ -1,6 +1,6 @@ # Makefile for task plugins -SUBDIRS = cray none +SUBDIRS = cray_aries none if HAVE_SCHED_SETAFFINITY SUBDIRS += affinity diff --git a/src/plugins/task/Makefile.in b/src/plugins/task/Makefile.in index eb0cbed4e88d791d584549147c4d46787532dde0..cd777907fc8eef8145437569d4134361134a6783 100644 --- a/src/plugins/task/Makefile.in +++ b/src/plugins/task/Makefile.in @@ -200,7 +200,7 @@ am__define_uniq_tagged_files = \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags -DIST_SUBDIRS = cray none affinity cgroup +DIST_SUBDIRS = cray_aries none affinity cgroup am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ @@ -472,7 +472,7 @@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -SUBDIRS = cray none $(am__append_1) $(am__append_2) +SUBDIRS = cray_aries none $(am__append_1) $(am__append_2) all: all-recursive .SUFFIXES: diff --git a/src/plugins/task/cray/Makefile.am b/src/plugins/task/cray_aries/Makefile.am similarity index 50% rename from src/plugins/task/cray/Makefile.am rename to src/plugins/task/cray_aries/Makefile.am index c79fb6977d358c47aa92801566e8f5cae2e315cd..0ddb84dc37295859b0b700710bff9e3c8e5a87bf 100644 --- a/src/plugins/task/cray/Makefile.am +++ b/src/plugins/task/cray_aries/Makefile.am @@ -1,4 +1,4 @@ -# Makefile for task/cray plugin +# Makefile for task/cray_aries plugin AUTOMAKE_OPTIONS = foreign @@ -6,9 +6,9 @@ PLUGIN_FLAGS = -module -avoid-version --export-dynamic AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common $(CRAY_TASK_CPPFLAGS) -pkglib_LTLIBRARIES = task_cray.la +pkglib_LTLIBRARIES = task_cray_aries.la # Null task plugin. -task_cray_la_SOURCES = task_cray.c -task_cray_la_LDFLAGS = $(PLUGIN_FLAGS) $(CRAY_TASK_LDFLAGS) \ +task_cray_aries_la_SOURCES = task_cray_aries.c +task_cray_aries_la_LDFLAGS = $(PLUGIN_FLAGS) $(CRAY_TASK_LDFLAGS) \ $(NUMA_LIBS) diff --git a/src/plugins/task/cray/Makefile.in b/src/plugins/task/cray_aries/Makefile.in similarity index 95% rename from src/plugins/task/cray/Makefile.in rename to src/plugins/task/cray_aries/Makefile.in index d648885e50f13faf90f07e1b5457a85ffd143a00..46d6701b639e26c19a9d2a78419b798a4610d373 100644 --- a/src/plugins/task/cray/Makefile.in +++ b/src/plugins/task/cray_aries/Makefile.in @@ -14,7 +14,7 @@ @SET_MAKE@ -# Makefile for task/cray plugin +# Makefile for task/cray_aries plugin VPATH = @srcdir@ am__is_gnu_make = { \ @@ -91,7 +91,7 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ -subdir = src/plugins/task/cray +subdir = src/plugins/task/cray_aries ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/auxdir/ax_check_compile_flag.m4 \ $(top_srcdir)/auxdir/ax_check_zlib.m4 \ @@ -174,16 +174,17 @@ am__uninstall_files_from_dir = { \ } am__installdirs = "$(DESTDIR)$(pkglibdir)" LTLIBRARIES = $(pkglib_LTLIBRARIES) -task_cray_la_LIBADD = -am_task_cray_la_OBJECTS = task_cray.lo -task_cray_la_OBJECTS = $(am_task_cray_la_OBJECTS) +task_cray_aries_la_LIBADD = +am_task_cray_aries_la_OBJECTS = task_cray_aries.lo +task_cray_aries_la_OBJECTS = $(am_task_cray_aries_la_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = -task_cray_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(task_cray_la_LDFLAGS) $(LDFLAGS) -o $@ +task_cray_aries_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(AM_CFLAGS) $(CFLAGS) $(task_cray_aries_la_LDFLAGS) \ + $(LDFLAGS) -o $@ AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false @@ -199,7 +200,7 @@ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -I$(top_builddir)/slurm depcomp = $(SHELL) $(top_srcdir)/auxdir/depcomp am__maybe_remake_depfiles = depfiles -am__depfiles_remade = ./$(DEPDIR)/task_cray.Plo +am__depfiles_remade = ./$(DEPDIR)/task_cray_aries.Plo am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) @@ -219,8 +220,8 @@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = -SOURCES = $(task_cray_la_SOURCES) -DIST_SOURCES = $(task_cray_la_SOURCES) +SOURCES = $(task_cray_aries_la_SOURCES) +DIST_SOURCES = $(task_cray_aries_la_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ @@ -494,11 +495,11 @@ top_srcdir = @top_srcdir@ AUTOMAKE_OPTIONS = foreign PLUGIN_FLAGS = -module -avoid-version --export-dynamic AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common $(CRAY_TASK_CPPFLAGS) -pkglib_LTLIBRARIES = task_cray.la +pkglib_LTLIBRARIES = task_cray_aries.la # Null task plugin. -task_cray_la_SOURCES = task_cray.c -task_cray_la_LDFLAGS = $(PLUGIN_FLAGS) $(CRAY_TASK_LDFLAGS) \ +task_cray_aries_la_SOURCES = task_cray_aries.c +task_cray_aries_la_LDFLAGS = $(PLUGIN_FLAGS) $(CRAY_TASK_LDFLAGS) \ $(NUMA_LIBS) all: all-am @@ -514,9 +515,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/plugins/task/cray/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/plugins/task/cray_aries/Makefile'; \ $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign src/plugins/task/cray/Makefile + $(AUTOMAKE) --foreign src/plugins/task/cray_aries/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -570,8 +571,8 @@ clean-pkglibLTLIBRARIES: rm -f $${locs}; \ } -task_cray.la: $(task_cray_la_OBJECTS) $(task_cray_la_DEPENDENCIES) $(EXTRA_task_cray_la_DEPENDENCIES) - $(AM_V_CCLD)$(task_cray_la_LINK) -rpath $(pkglibdir) $(task_cray_la_OBJECTS) $(task_cray_la_LIBADD) $(LIBS) +task_cray_aries.la: $(task_cray_aries_la_OBJECTS) $(task_cray_aries_la_DEPENDENCIES) $(EXTRA_task_cray_aries_la_DEPENDENCIES) + $(AM_V_CCLD)$(task_cray_aries_la_LINK) -rpath $(pkglibdir) $(task_cray_aries_la_OBJECTS) $(task_cray_aries_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) @@ -579,7 +580,7 @@ mostlyclean-compile: distclean-compile: -rm -f *.tab.c -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/task_cray.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/task_cray_aries.Plo@am__quote@ # am--include-marker $(am__depfiles_remade): @$(MKDIR_P) $(@D) @@ -742,7 +743,7 @@ clean-am: clean-generic clean-libtool clean-pkglibLTLIBRARIES \ mostlyclean-am distclean: distclean-am - -rm -f ./$(DEPDIR)/task_cray.Plo + -rm -f ./$(DEPDIR)/task_cray_aries.Plo -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags @@ -788,7 +789,7 @@ install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am - -rm -f ./$(DEPDIR)/task_cray.Plo + -rm -f ./$(DEPDIR)/task_cray_aries.Plo -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic diff --git a/src/plugins/task/cray/task_cray.c b/src/plugins/task/cray_aries/task_cray_aries.c similarity index 99% rename from src/plugins/task/cray/task_cray.c rename to src/plugins/task/cray_aries/task_cray_aries.c index 141fd3d7b3e219ccd6fe12e3c01fec3adf101968..581aea14c6bf83db33162c26649c92fd977a99a6 100644 --- a/src/plugins/task/cray/task_cray.c +++ b/src/plugins/task/cray_aries/task_cray_aries.c @@ -1,6 +1,6 @@ /*****************************************************************************\ - * task_cray.c - Library for task pre-launch and post_termination functions - * on a cray system + * task_cray_aries.c - Library for task pre-launch and post_termination + * functions on a Cray/Aries system ***************************************************************************** * Copyright (C) 2013 SchedMD LLC * Copyright 2013 Cray Inc. All Rights Reserved. @@ -89,8 +89,8 @@ static uint64_t debug_flags = 0; * plugin_version - an unsigned 32-bit integer containing the Slurm version * (major.minor.micro combined into a single number). */ -const char plugin_name[] = "task CRAY plugin"; -const char plugin_type[] = "task/cray"; +const char plugin_name[] = "task Cray/Aries plugin"; +const char plugin_type[] = "task/cray_aries"; const uint32_t plugin_version = SLURM_VERSION_NUMBER; #ifdef HAVE_NATIVE_CRAY diff --git a/src/slurmctld/job_scheduler.c b/src/slurmctld/job_scheduler.c index b916b1056a91b354c26b6f5792ece070788b7360..7b267d96ac1f61bf94cba5e7f7164ea67ecdd455 100644 --- a/src/slurmctld/job_scheduler.c +++ b/src/slurmctld/job_scheduler.c @@ -3016,7 +3016,7 @@ extern int update_job_dependency(struct job_record *job_ptr, char *new_depend) char *select_type = slurm_get_select_type(); if (select_type && (strstr(select_type, "cons_tres") || - (strstr(select_type, "cray") && + (strstr(select_type, "cray_aries") && (slurm_get_select_type_param() & CR_OTHER_CONS_TRES)))) { select_hetero = 1; } else diff --git a/src/slurmctld/step_mgr.c b/src/slurmctld/step_mgr.c index 432ff2c637d5f1acd0ba6450a8a8a5a031e3a557..3560a3dbfcca4333984fcca5dc892d75a629d903 100644 --- a/src/slurmctld/step_mgr.c +++ b/src/slurmctld/step_mgr.c @@ -252,7 +252,7 @@ static void _build_pending_step(struct job_record *job_ptr, } /* - * Invoke post_job_step except if select/cray is used. In that plugin + * Invoke post_job_step except if select/cray_aries is used. In that plugin * post_job_step() is invoked after Node Health Check completes */ static void _post_job_step(struct step_record *step_ptr) @@ -261,7 +261,7 @@ static void _post_job_step(struct step_record *step_ptr) static int select_cray_plugin = -1; if (select_cray_plugin == -1) { - if (!xstrcmp(slurmctld_conf.select_type, "select/cray")) + if (!xstrcmp(slurmctld_conf.select_type, "select/cray_aries")) select_cray_plugin = 1; else select_cray_plugin = 0; diff --git a/src/slurmd/slurmd/slurmd.c b/src/slurmd/slurmd/slurmd.c index 25fa89ffd9ad1463c92d8a08e6afb41b2a4759fa..6fc3dd19e346a64b602f9ad6c9bba432a1fd530b 100644 --- a/src/slurmd/slurmd/slurmd.c +++ b/src/slurmd/slurmd/slurmd.c @@ -888,7 +888,7 @@ _read_config(void) #ifndef HAVE_FRONT_END if (!xstrcmp(cf->select_type, "select/cons_res")) cr_flag = true; - if (!xstrcmp(cf->select_type, "select/cray") && + if (!xstrcmp(cf->select_type, "select/cray_aries") && (cf->select_type_param & CR_OTHER_CONS_RES)) cr_flag = true; diff --git a/src/slurmd/slurmstepd/slurmstepd_job.c b/src/slurmd/slurmstepd/slurmstepd_job.c index 847a4cceefb7e8108153be8394949b7f922c00aa..fcae559b87cb7338c2970e9c4bf3a15e31e58e7f 100644 --- a/src/slurmd/slurmstepd/slurmstepd_job.c +++ b/src/slurmd/slurmstepd/slurmstepd_job.c @@ -179,7 +179,7 @@ _job_init_task_info(stepd_step_rec_t *job, uint32_t **gtid, if (job->flags & LAUNCH_MULTI_PROG) { char *switch_type = slurm_get_switch_type(); - if (!xstrcmp(switch_type, "switch/cray")) + if (!xstrcmp(switch_type, "switch/cray_aries")) multi_prog_parse(job, gtid); xfree(switch_type); for (i = 0; i < job->node_tasks; i++){ diff --git a/src/srun/srun.c b/src/srun/srun.c index 9e3c5088e9c60365822691e8dec4212f1dea3a7b..3751dabbb828a98a080f0a6d2e587576e66450fe 100644 --- a/src/srun/srun.c +++ b/src/srun/srun.c @@ -165,7 +165,7 @@ static bool _enable_pack_steps(void) enabled = true; else { char *select_type = slurm_get_select_type(); - if (select_type && strstr(select_type, "cray")) + if (select_type && strstr(select_type, "cray_aries")) enabled = false; xfree(select_type); }