On Jan 30, 2018, at 11:51 AM, n8tm via users <users@lists.open-mpi.org> wrote: > > Most Linux distros ignore repetition of forward slash. Sometimes used as > excuse for sloppiness.
That path is generated during configure. Meaning: some CLI arg to configure was (probably) given as "--with-SOMETHING=/usr/". Open MPI's configure usually strips out "/usr" prefixes, because it's generally not a good idea to do -I/usr/include, -L/usr/lib or -L/usr/lib64 in the wrappers -- it creates confusion and/or ambiguity in conjunction with default compiler/linker search paths. However, Open MPI's configure script does not strip off any trailing "/" characters when processing directory names that are provided by the user. Hence, my *guess* is that --with-SOMETHING=/usr/ was provided (instead of --with-SOMETHING=/usr, or even --with-SOMETHING). And "/usr/" didn't compare exactly to "/usr", so configure let it through. So yes, perhaps we should catch that unusual case in the configure script, and a) strip all trailing /'s, and b) therefore detect that the path was /usr, and c) therefore filter it out. But I'd hardly call the present behavior "sloppy". -- Jeff Squyres jsquy...@cisco.com _______________________________________________ users mailing list users@lists.open-mpi.org https://lists.open-mpi.org/mailman/listinfo/users