{"action":"created","issue":{"url":"https://api.github.com/repos/raffenet/mpich-migrate-test/issues/615","repository_url":"https://api.github.com/repos/raffenet/mpich-migrate-test","labels_url":"https://api.github.com/repos/raffenet/mpich-migrate-test/issues/615/labels{/name}","comments_url":"https://api.github.com/repos/raffenet/mpich-migrate-test/issues/615/comments","events_url":"https://api.github.com/repos/raffenet/mpich-migrate-test/issues/615/events","html_url":"https://github.com/raffenet/mpich-migrate-test/issues/615","id":168446441,"number":615,"title":"mpich2.module","user":{"login":"raffenet","id":1410792,"avatar_url":"https://avatars.githubusercontent.com/u/1410792?v=3","gravatar_id":"","url":"https://api.github.com/users/raffenet","html_url":"https://github.com/raffenet","followers_url":"https://api.github.com/users/raffenet/followers","following_url":"https://api.github.com/users/raffenet/following{/other_user}","gists_url":"https://api.github.com/users/raffenet/gists{/gist_id}","starred_url":"https://api.github.com/users/raffenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raffenet/subscriptions","organizations_url":"https://api.github.com/users/raffenet/orgs","repos_url":"https://api.github.com/users/raffenet/repos","events_url":"https://api.github.com/users/raffenet/events{/privacy}","received_events_url":"https://api.github.com/users/raffenet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-30T03:27:08Z","updated_at":"2016-07-30T03:27:09Z","closed_at":null,"body":"**Originally by _chan@mcs.anl.gov_ on 2009-05-20 18:13:00 -0500**\n\n___\n\n\n```\n\n\nThe offending file is src/packaging/envmods/mpich2.module.in.\nmpich2.module shouldn't be installed $datadir in its current form,\ne.g. commenting out the install line in the envmods/Makefile.sm\nfor 1.1 release.\n\nA.Chan\n\n----- \"Anthony Chan\" <chan@mcs.anl.gov> wrote:\n\n> Actually prepended PATH is wrong, @datadir@ is ${prefix}/share,\n> since prefix is not defined in the module, the file is\n> totally useless.\n>\n> ----- chan@mcs.anl.gov wrote:\n>\n> > I notice in mpcih2-1.1rc1's install dir, $datadir, has a file\n> > called mpich2.module which has the following line.\n> >\n> > *********************************\n> > #%Module 1.0\n> > #\n> > #  MPICH2 module for use with 'environment-modules' package:\n> > #\n> > prepend-path            PATH            @datadir@/bin\n> > *********************************\n> >\n> > 1st, the file is incomplete.\n> >      It needs at least to update MANPATH and LD_LIBRARY_PATH\n> >      if it is a shared library build.\n> >\n> > 2nd, I think the file should be in $sysconfdir instead\n> >      of $datadir since .module file is a configuration\n> >      file.\n> >\n> > 3rd, this module file format seems like one particular favor of\n> > modulefiles,\n> >      should there some tests in configure to check if user\n> environment\n> >      has \"module\" command before even configure/build the .module\n> file\n> > ?\n> >      I have been using cmod on my laptop for years, it is different\n> > from\n> >      Tcl/tk based modulefiles....\n> >\n> > 4th, should the path to the module files be appended with version of\n> >      mpich2 or even compiler used.... ?\n> >\n> > A.Chan\n```"},"comment":{"url":"https://api.github.com/repos/raffenet/mpich-migrate-test/issues/comments/236337989","html_url":"https://github.com/raffenet/mpich-migrate-test/issues/615#issuecomment-236337989","issue_url":"https://api.github.com/repos/raffenet/mpich-migrate-test/issues/615","id":236337989,"user":{"login":"raffenet","id":1410792,"avatar_url":"https://avatars.githubusercontent.com/u/1410792?v=3","gravatar_id":"","url":"https://api.github.com/users/raffenet","html_url":"https://github.com/raffenet","followers_url":"https://api.github.com/users/raffenet/followers","following_url":"https://api.github.com/users/raffenet/following{/other_user}","gists_url":"https://api.github.com/users/raffenet/gists{/gist_id}","starred_url":"https://api.github.com/users/raffenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raffenet/subscriptions","organizations_url":"https://api.github.com/users/raffenet/orgs","repos_url":"https://api.github.com/users/raffenet/repos","events_url":"https://api.github.com/users/raffenet/events{/privacy}","received_events_url":"https://api.github.com/users/raffenet/received_events","type":"User","site_admin":false},"created_at":"2016-07-30T03:27:09Z","updated_at":"2016-07-30T03:27:09Z","body":"**Originally by _Anthony Chan_ on 2009-05-21 09:55:24 -0500**\n\n___\n```\n\n\nUnless something has changed, the installed mpich2.module is incorrect.\nI listed all the problems that i saw in the original bug report.\n\nA.Chan\n----- \"mpich2\" <mpich2-maint@mcs.anl.gov> wrote:\n\n> ------------------------------+---------------------------------------------\n>  Reporter:  chan@mcs.anl.gov  |        Owner:\n>      Type:  bug               |       Status:  new\n>  Priority:  major             |    Milestone:\n> Component:  mpich2            |   Resolution:\n>  Keywords:                    |\n> ------------------------------+---------------------------------------------\n>\n>\n> Comment (by balaji):\n>\n>  In the current form, it should still work for static builds, isn't\n> it? So,\n>  what's the problem in building it without commenting it out in\n>  Makefile.sm? This is needed by the folks who create binary packages\n> for\n>  MPICH2.\n>\n> --\n> Ticket URL:\n> <https://trac.mcs.anl.gov/projects/mpich2/ticket/615#comment:2>\n```"}}
{"actor":{"display_login":"raffenet"}}