Opened 6 years ago

Last modified 5 years ago

#1541 new bug

PMI crash on call to MPI_Comm_get_attr() for singleton execution

Reported by: dinan Owned by:
Priority: major Milestone: future
Component: mpich Keywords: PMI
Cc: balaji@…

Description (last modified by balaji)

The attached test case crashes with the output below when MPI_Comm_get_attr() is called from a single process execution (not launched with mpiexec).

$ ./a.out
[mpiexec@mcswl158.mcs.anl.gov] match_arg (./utils/args/args.c:122):
unrecognized argument pmi_args
[mpiexec@mcswl158.mcs.anl.gov] HYDU_parse_array
(./utils/args/args.c:140): argument matching returned error
[mpiexec@mcswl158.mcs.anl.gov] parse_args (./ui/mpich/utils.c:1387):
error parsing input array
[mpiexec@mcswl158.mcs.anl.gov] HYD_uii_mpx_get_parameters
(./ui/mpich/utils.c:1438): unable to parse user arguments

Usage: ./mpiexec [global opts] [exec1 local opts] : [exec2 local opts] : ...

Global options (passed to all executables):

     Global environment options:
       -genv {name} {value}             environment variable name and value
       -genvlist {env1,env2,...}        environment variable list to pass
       -genvnone                        do not pass any environment variables
       -genvall                         pass all environment variables
not managed
                                             by the launcher (default)

     Other global options:
       -f {name}                        file containing the host names
       -hosts {host list}               comma separated host list
       -wdir {dirname}                  working directory to use
       -configfile {name}               config file containing MPMD
launch options


Local options (passed to individual executables):

     Local environment options:
       -env {name} {value}              environment variable name and value
       -envlist {env1,env2,...}         environment variable list to pass
       -envnone                         do not pass any environment variables
       -envall                          pass all environment variables
(default)

     Other local options:
       -n/-np {value}                   number of processes
       {exec_name} {args}               executable name and arguments


Hydra specific options (treated as global):

     Launch options:
       -launcher                        launcher to use ( ssh rsh fork
slurm ll lsf sge manual persist)
       -launcher-exec                   executable to use to launch processes
       -enable-x/-disable-x             enable or disable X forwarding

     Resource management kernel options:
       -rmk                             resource management kernel to use
( user slurm ll lsf sge pbs)

     Hybrid programming options:
       -ranks-per-proc                  assign so many ranks to each process

     Processor topology options:
       -binding                         process-to-core binding mode
       -topolib                         processor topology library ( hwloc)

     Checkpoint/Restart options:
       -ckpoint-interval                checkpoint interval
       -ckpoint-prefix                  checkpoint file prefix
       -ckpoint-num                     checkpoint number to restart
       -ckpointlib                      checkpointing library (none)

     Demux engine options:
       -demux                           demux engine ( poll select)

     Other Hydra options:
       -verbose                         verbose mode
       -info                            build information
       -print-all-exitcodes             print exit codes of all processes
       -iface                           network interface to use
       -ppn                             processes per node
       -profile                         turn on internal profiling
       -prepend-rank                    prepend rank to output
       -prepend-pattern                 prepend pattern to output
       -outfile-pattern                 direct stdout to file
       -errfile-pattern                 direct stderr to file
       -nameserver                      name server information
(host:port format)
       -disable-auto-cleanup            don't cleanup processes on error
       -disable-hostname-propagation    let MPICH2 auto-detect the hostname
       -order-nodes                     order nodes as
ascending/descending cores

Please see the intructions provided at
http://wiki.mcs.anl.gov/mpich2/index.php/Using_the_Hydra_Process_Manager
for further details

*HUNG* CTRL+C

Attachments (1)

test.c (434 bytes) - added by dinan 6 years ago.
Test case

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by dinan

Test case

comment:1 Changed 6 years ago by balaji

  • Description modified (diff)

comment:2 Changed 6 years ago by balaji

  • Owner set to balaji
  • Status changed from new to accepted

comment:3 Changed 5 years ago by balaji

  • Description modified (diff)
  • Status changed from accepted to new

comment:4 Changed 5 years ago by balaji

  • Owner balaji deleted
Note: See TracTickets for help on using tickets.