Take a look in orte/mca/plm/rsh/plm_rsh_component.c, the orte_plm_rsh_search function
On Oct 17, 2012, at 9:50 PM, marco atzeri <marco.atz...@gmail.com> wrote: > On 10/18/2012 2:45 AM, Ralph Castain wrote: >> > >> >>> >>>>> >>>>> trying to debug I notice a strange pattern on ssh search: >>>>> 1) ssh is only searched on the PATH directories that end with "bin" >>>>> other directories are skipped. >>>>> 2) //usr/bin/ssh is not on the PATH but is searched. >>>>> Why and where is defined in the code ? >>> >>> any idea from where this //usr/bin/ssh is coming for ? >> >> /usr/bin is one of the default posix locations for system binaries, so I >> would expect it is in your path. > > /usr/bin yes > but > //usr/bin no. > > on cygwin "//" is always a network path and "//usr/bin" does not exist. >> >> >>> >>>>> >>>>> 103 321183 [main] orterun 6304 normalize_posix_path: src >>>>> /home/marco/bin/ssh >>>>> 100 324353 [main] orterun 6304 normalize_posix_path: src >>>>> /usr/local/bin/ssh >>>>> 99 327381 [main] orterun 6304 normalize_posix_path: src /usr/bin/ssh >>>>> 36 1805679 [main] orterun 6304 normalize_posix_path: src >>>>> /home/marco/bin/ssh >>>>> 34 1807010 [main] orterun 6304 normalize_posix_path: src >>>>> /usr/local/bin/ssh >>>>> 34 1808236 [main] orterun 6304 normalize_posix_path: src /usr/bin/ssh > > my path is much longer but only the bin directory are searched > >>>>> 37 1810858 [main] orterun 6304 normalize_posix_path: src //usr/bin/ssh > > this is the anomaly > >>>>> >>>>> as immediately after the "//" search mpirun crashes >>>>> >>>>> 703 9508968 [WNetOpenEnum] orterun 8020 cygthread::stub: thread >>>>> 'WNetOpenEnum', id 0x15A0, stack_ptr 0x28BAD40 >>>>> --- Process 8020, exception 000006AB at 776BB9BC >>>>> 41286 9550254 [main] orterun 8020 fs_info::update: Cannot get volume >>>>> attributes (\??\UNC), C0000010 >>>>> >>>>> I suspect this search is the culprit. >>>>> >>>>> If someone is interested I put here >>>>> http://matzeri.altervista.org/works/ompi/ >>>>> >>>>> all the config, check and make logs plus the ompi_info output. >>>>> >>>>> Regards >>>>> Marco >>> > > _______________________________________________ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users