-
Notifications
You must be signed in to change notification settings - Fork 376
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made a few updates to the multinode test: 1. accept a -x flag to turn off setting the service/node/flags - this is needed to work with CXI 2. accept a -u flag to set a process manager: pmi or pmix 3. modify the code to get the rank from the appropriate environment variable if a process manager is specified. 4. Add a runmultinode.py script which enables users to run the test using a backing process manager. The python script takes a YAML configuration file which defines the environment and test. An example python configuration file: multinode: environment: FI_MR_CACHE_MAX_SIZE: -1 FI_MR_CACHE_MAX_COUNT: 524288 FI_SHM_USE_XPMEM: 1 FI_LOG_LEVEL: info bind-to: core map-by-count: 1 map-by: l3cache pattern: full_mesh Script Usage: usage: runmultinode.py [-h] [--dry-run] [--ci CI] [-C CAPABILITY] [-i ITERATIONS] [-l {internal,srun,mpirun}] [-p PROVIDER] [-np NUM_PROCS] [-c CONFIG] [-t PROCS_PER_NODE] libfabric multinode test with slurm optional arguments: -h, --help show this help message and exit --dry-run Perform a dry run without making any changes. --ci CI Commands to prepend to test call. Only used with the internal launcher option -C CAPABILITY, --capability CAPABILITY libfabric capability -i ITERATIONS, --iterations ITERATIONS Number of iterations -l {internal,srun,mpirun}, --launcher {internal,srun,mpirun} launcher to use for running job. If nothing is specified, test manages processes internally. Available options: internal, srun and mpirun Required arguments: -p PROVIDER, --provider PROVIDER libfabric provider -np NUM_PROCS, --num-procs NUM_PROCS Map process by node, l3cache, etc -c CONFIG, --config CONFIG Test configuration Required if using srun: -t PROCS_PER_NODE, --procs-per-node PROCS_PER_NODE Number of procs per node Running the script: runmultinode.py -p cxi -i 1 --procs-per-node 8 --num-procs 8 -l srun -c mn.yaml Signed-off-by: Amir Shehata <shehataa@ornl.gov>
- Loading branch information
1 parent
8477665
commit ad3a40c
Showing
8 changed files
with
339 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.