5406fdfb80
This commit looks larger than it really is since it includes a fair amount of code cleanup. The SIGSTOP/SIGCONT+checkpointing work uses some of the functionality in r20391. Basic use case below (note that the checkpoint generated is useable as usual if the stopped application is terminated). {{{ shell 1) mpirun -np 2 -am ft-enable-cr my-app ... running ... shell 2) ompi-checkpoint --stop -v MPIRUN_PID [localhost:001300] [ 0.00 / 0.20] Requested - ... [localhost:001300] [ 0.00 / 0.20] Pending - ... [localhost:001300] [ 0.01 / 0.21] Running - ... [localhost:001300] [ 1.01 / 1.22] Stopped - ompi_global_snapshot_1234.ckpt Snapshot Ref.: 0 ompi_global_snapshot_1234.ckpt shell 2) killall -CONT mpirun ... Application Continues execution in shell 1 ... }}} Other items in this commit are mostly cleanup that has been sitting off-trunk for too long: * Add a new {{{opal_crs_base_ckpt_options_t}}} type that encapsulates the various options that could be passed to the CRS. Currently only TERM and STOP, but this makes adding others ''much'' easier. * Eliminate ORTE_SNAPC_CKPT_STATE_PENDING_TERM, since it served a redundant purpose with the new options type. * Lay some basic ground work for some future features. This commit was SVN r21995. The following SVN revision numbers were found above: r20391 --> open-mpi/ompi@0704b98668
68 строки
1.5 KiB
Plaintext
68 строки
1.5 KiB
Plaintext
#
|
|
# Copyright (c) 2008-2009 The Trustees of Indiana University and Indiana
|
|
# University Research and Technology
|
|
# Corporation. All rights reserved.
|
|
#
|
|
# $COPYRIGHT$
|
|
#
|
|
# Additional copyrights may follow
|
|
#
|
|
# $HEADER$
|
|
#
|
|
# An Aggregate MCA Parameter Set to enable checkpoint/restart capabilities
|
|
# for a job.
|
|
#
|
|
# Usage:
|
|
# shell$ mpirun -am ft-enable-cr ./app
|
|
#
|
|
|
|
#
|
|
# OPAL Parameters
|
|
# - Turn off OPAL only checkpointing
|
|
# - Select only checkpoint ready components
|
|
# - Enable Additional FT infrastructure
|
|
# - Auto-select OPAL CRS component
|
|
# - If available, use the FT Thread (Default)
|
|
#
|
|
opal_cr_allow_opal_only=0
|
|
mca_base_component_distill_checkpoint_ready=1
|
|
ft_cr_enabled=1
|
|
crs=
|
|
opal_cr_use_thread=1
|
|
|
|
#
|
|
# ORTE Parameters
|
|
# - Wrap the RML
|
|
# - Use the 'full' Snapshot Coordinator
|
|
#
|
|
rml_wrapper=ftrm
|
|
snapc=full
|
|
#filem=rsh
|
|
|
|
#
|
|
# OMPI Parameters
|
|
# - Wrap the PML
|
|
# - Use a Bookmark Exchange Fully Coordinated Checkpoint/Restart Coordination Protocol
|
|
#
|
|
pml_wrapper=crcpw
|
|
crcp=bkmrk
|
|
|
|
#
|
|
# Temporary fix to force the event engine to use poll to behave well with BLCR
|
|
#
|
|
opal_event_include=poll
|
|
|
|
#
|
|
# We currently only support the following options to the OpenIB BTL
|
|
# Future development will attempt to eliminate many of these restrictions
|
|
#
|
|
btl_openib_want_fork_support=1
|
|
btl_openib_use_async_event_thread=0
|
|
btl_openib_use_eager_rdma=0
|
|
btl_openib_cpc_include=oob
|
|
|
|
# Enable SIGTSTP/SIGCONT capability
|
|
# killall -TSTP mpirun
|
|
# killall -CONT mpirun
|
|
orte_forward_job_control=1
|