Menu

#719 switcher can select tags for uninstalled packages

5.0 (deprecated)
open-fixed
Packages (227)
5
2005-11-29
2005-09-05
Erich Focht
No

If nothing was entered in the switcher configurator
menu switcher currently selects the first tag available in
the database, even if the tag belongs to a package
which was NOT selected to be installed.

A reasonable default setup is to select mpi=none as
system wide setting if nothing was selected in the
configurator menu. This way users aren't forced to use
an unwanted MPI version and many sysadmin trouble
can be avoided.

Discussion

  • Jeff Squyres

    Jeff Squyres - 2005-09-05

    Logged In: YES
    user_id=11722

    I disagree. An MPI should be selected by default. This is an HPC OSCAR
    cluster, after all -- MPI is a common thing that people do on them. The point
    of OSCAR is that it should "just work" -- including MPI.

    However, the code could/should be made smarter to ensure that only an
    MPI that is installed is selected.

     
  • Erich Focht

    Erich Focht - 2005-09-06

    Logged In: YES
    user_id=338721

    OK, I see your point. So let's fix the default setting to
    avoid uninstalled packages.

    To explain my pain: we're frequently using 4-8 MPI
    versions because of different ISV applications and
    compilers. Having no path to an mpirun is often much
    better than using the wrong one which comes from some
    system setting one doesn't know about. But the solution is
    simple, one _can_ select mpi=none in the configuration
    step...

     
  • Jeff Squyres

    Jeff Squyres - 2005-09-06

    Logged In: YES
    user_id=11722

    Agreed.

    Now I understand the example with 6.5.6 in the other bug (if you have ISV
    software compiled for a specific MPI). Sorry about marking it as open -- I
    clicked on the reply link as soon as your first mail came in, and it therefore
    didn't have your "fixed" flags set on it when I submitted.

     
  • Erich Focht

    Erich Focht - 2005-09-06
    • status: open --> open-fixed
     
  • Erich Focht

    Erich Focht - 2005-09-06
    • assigned_to: nobody --> efocht
    • summary: switcher should set mpi=none if nothing was selected --> switcher can select tags for uninstalled packages
     
  • Erich Focht

    Erich Focht - 2005-09-06

    Logged In: YES
    user_id=338721

    Changed subject of bug.
    Fixed in trunk (r3682).
    Adapted packages/switcher/scripts/package_config.pm to
    allow only the tags from selected packages. Simplified ODA
    access code.

     
  • John

    John - 2005-11-29
    • milestone: 473437 --> 5.0 (deprecated)
     
  • Bernard Li

    Bernard Li - 2006-05-20

    Logged In: YES
    user_id=879102

    Erich, can this bug be closed?