On 1/9/2019 3:12 AM, Honggang Li wrote: > The original patch was wrote by Doug Ledford. > > For RHEL users who need to run multiple instances of opensm over > multiple InfiniBand ports, most of time, they need to pass five options > to all instances of opensm. > > 1) guid > 2) subnet_prefix > 3) partition_config_file > 4) log_file > 5) dump_files_dir This is based on only using command line and not opensm config/options files. > 1), 3) and 4) are available in upstream. But 2) and 5) are not. > We need create separate configuration files for opensm instances > to apply 2) and 5), when those options are unavailable. 5 was available in either config/options file or via OSM_TMP_DIR environment variable. > We add '--subnet_prefix' option because: > openmpi will refuse to run if you have two physically separate subnets > with the same subnet prefix. The subnet prefix is supposed to be unique > on each subnet. It's how software can tell for certain whether or not > to end points can communicate with each other. > > We add '--dump_files_dir' option to keep dumps of different fabrics > into different directories. > > Signed-off-by: Honggang Li <honli@xxxxxxxxxx> Thanks. Applied. -- Hal