📄 mpirun.ch_v.args
字号:
#!/bin/shcase $arg in -chv-jobid) chvOptions="$chvOptions --jobid=\"$1\"" chv_jobid="$1" shift; device_knows_arg=1 ;; -chv-machines-file) chvOptions="$chvOptions --machines-file=\"$1\"" chv_machines_file="$1" shift; device_knows_arg=1 ;; -chv-stable-machines-file) chvOptions="$chvOptions --stable-machines-file=\"$1\"" chv_stable_machines_file="$1" shift; device_knows_arg=1 ;; -chv-n-el) chvOptions="$chvOptions --n-el=\"$1\"" chv_n_el="$1" shift; device_knows_arg=1 ;; -chv-n-cs) chvOptions="$chvOptions --n-cs=\"$1\"" chv_n_cs="$1" shift; device_knows_arg=1 ;; -chv-runtime-port) chvOptions="$chvOptions --runtime-port=\"$1\"" chv_runtime_port="$1" shift; device_knows_arg=1 ;; -chv-stdio-port) chvOptions="$chvOptions --stdio-port=\"$1\"" chv_stdio_port="$1" shift; device_knows_arg=1 ;; -chv-stder-port) chvOptions="$chvOptions --stder-port=\"$1\"" chv_stder_port="$1" shift; device_knows_arg=1 ;; -chv-el-port) chvOptions="$chvOptions --el-port=\"$1\"" chv_el_port="$1" shift; device_knows_arg=1 ;; -chv-cs-port) chvOptions="$chvOptions --cs-port=\"$1\"" chv_cs_port="$1" shift; device_knows_arg=1 ;; -chv-ckpt-use-local-copy) chvOptions="$chvOptions --ckpt-use-local-copy" chv_ckpt_use_local_copy="1" device_knows_arg=1 ;; -chv-ckpt-timeout) chvOptions="$chvOptions --ckpt-timeout=\"$1\"" chv_ckpt_timeout="$1" shift; device_knows_arg=1 ;; -chv-ckpt-strategy) chvOptions="$chvOptions --ckpt-strategy=\"$1\"" chv_ckpt_strategy="$1" shift; device_knows_arg=1 ;; -chv-el-strategy) chvOptions="$chvOptions --el-strategy=\"$1\"" chv_el_strategy="$1" shift; device_knows_arg=1 ;; -chv-sc-port) chvOptions="$chvOptions --sc-port=\"$1\"" chv_sc_port="$1" shift; device_knows_arg=1 ;; -chv-rsh) chvOptions="$chvOptions --rsh=\"$1\"" chv_rsh="$1" shift; device_knows_arg=1 ;; -chv-working-dir) chvOptions="$chvOptions --working-dir=\"$1\"" chv_working_dir="$1" shift; device_knows_arg=1 ;; -chv-tmp-dir) chvOptions="$chvOptions --tmp-dir=\"$1\"" chv_tmp_dir="$1" shift; device_knows_arg=1 ;; -chv-helpers-dir) chvOptions="$chvOptions --helpers-dir=\"$1\"" chv_helpers_dir="$1" shift; device_knows_arg=1 ;; -chv-master-sched) chvOptions="$chvOptions --master-sched=\"$1\"" chv_master_sched="$1" shift; device_knows_arg=1 ;; -chv-debug) chvOptions="$chvOptions --debug=\"$1\"" chv_debug="$1" shift; device_knows_arg=1 ;; -usage | --usage)cat <<EOF Special Options for ch_v device -chv-jobid <int> unique id for the job. (default=rand) -chv-machines_file <filename> machines file like for any MPICH device (typical deployment may use at least 3 more machines than np) -chv-stable_machines_file <filename> file of stable machines (machines having a high MTBF) -chv-n_el <int> number of event loggers -chv-n_cs <int> number of checkpoint servers (default=np/5) -chv-runtime_port <port> port for the runtime process (default=autoselect) -chv-stdio_port <port> port for the collection of standard Input/Output of servers and processes -chv-stder_port <port> port for the collection of error Output of servers and processes -chv-el_port <port> port for the event logger (default=autoselect) -chv-cs_port <port> port for the checkpoint server (default=autoselect) -chv-ckpt_use_local_copy set if the checkpoint should use a local copy (improves fault recovery time in global coherent checkpoint protocols) -chv-ckpt_timeout <seconds> timeout of checkpoints (0 for no checkpoint) -chv-ckpt_strategy <(nockpt|random|roundrobin)> strategy of checkpoints. Use for Message-logging protocols -chv-el_strategy <(normal|slow)> strategy of event logger. Use for Message-logging protocols with event logger (only for performance measurement) -chv-sc_port <port> port for the checkpoint scheduler (default=autoselect) -chv-rsh <command> remote shell program for executing remote commands -chv-working_dir <path> working directory for running the MPI application (default=current pwd) -chv-tmp_dir <path> writeable directory (this directory must be writeable on all machines of the machines file and stable machines file. A local filesystem is necessary for performances) -chv-helpers_dir <path> directory with the helpers (checkpointserver, etc...) (default=same directory as vrun) -chv-master_sched <ip:port> address of the master scheduler (only for multiple applications scheduling) -chv-debug <[%filename|ip:[port]][+|-labels]*> debugging options. First part is the target, second part the selection. Target may be %filename for storing in a file, or ip:[port] for sending debugs to a debug server. Selection use +label or -label to force or prevent the displaying of certain informations.EOFesac
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -