1
1

Update instructions for installing completion scripts and add them to

the tarball.

This commit was SVN r29707.
This commit is contained in:
Nathan Hjelm 2013-11-14 15:26:00 +00:00
parent 0f420f3676
commit c4e4871ee5
3 changed files with 20 additions and 5 deletions

View File

@ -31,6 +31,8 @@ dist_amca_param_DATA += \
endif # WANT_FT_CR
EXTRA_DIST = \
completion/mpirun.sh \
completion/mpirun.zsh \
dist/make_dist_tarball \
dist/linux/openmpi.spec \
dist/mofed/compile_debian_mlnx_example.in \

View File

@ -4,10 +4,16 @@
#
# Bash completion script for Open MPI's mpirun
#
# Put this file in ~/.bash_completion.d if using standard
# bash completion.
# Check for orterun
# Installation:
# If bash completion is not already installed, follow the instructions at:
# http://anonscm.debian.org/gitweb/?p=bash-completion/bash-completion.git;a=blob_plain;f=README
#
# Then install mpirun completion by dropping this file into either the system bash_completion.d
# (usually found in /etc) or somewhere in your home directory (~/.bash_completion.d is a good place).
# If installing the script in a location other than the system-wide location, you will probably need
# to add the following to either ~/.bash_profile or ~/.bash_completion:
#
# [ -r /path/to/mpirun.sh ] && . /path/to/mpirun.sh
# find available MCA variables
_get_mca_variable_names() {

View File

@ -5,8 +5,15 @@
# Copyright (c) 2013 Los Alamos National Security, LLC. All rights
# reserved.
#
# To install copy this file to _mpirun in any directory in $fpath.
# If completion is not already set up, follow the instructions in section
# 20.2 of the zsh completion documentation found here:
# http://zsh.sourceforge.net/Doc/Release/Completion-System.html
#
# Rename this to _mpirun a place it into any directory in your $fpath. If
# needed, you can add another directory to $fpath (I use ~/.zsh/completion)
# by adding the following line to ~/.zshrc before the call to compinit:
#
# fpath=(/path/to/completion/scripts $fpath)
local mca_variable_names mca_variable_values mca_component_names