You can subscribe to this list here.
1996 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(14) |
Jul
(6) |
Aug
(7) |
Sep
(1) |
Oct
(16) |
Nov
(9) |
Dec
(2) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
1997 |
Jan
(9) |
Feb
(1) |
Mar
(1) |
Apr
(3) |
May
(4) |
Jun
(6) |
Jul
|
Aug
(1) |
Sep
|
Oct
(3) |
Nov
|
Dec
|
1998 |
Jan
(5) |
Feb
(5) |
Mar
(1) |
Apr
|
May
(3) |
Jun
(1) |
Jul
|
Aug
(3) |
Sep
(6) |
Oct
(8) |
Nov
|
Dec
(1) |
1999 |
Jan
(2) |
Feb
(1) |
Mar
(2) |
Apr
(2) |
May
|
Jun
(2) |
Jul
|
Aug
(10) |
Sep
(1) |
Oct
|
Nov
(6) |
Dec
(6) |
2000 |
Jan
(5) |
Feb
(19) |
Mar
(27) |
Apr
(22) |
May
(11) |
Jun
(1) |
Jul
|
Aug
(7) |
Sep
(3) |
Oct
(1) |
Nov
(13) |
Dec
(4) |
2001 |
Jan
(14) |
Feb
|
Mar
(5) |
Apr
(9) |
May
|
Jun
(5) |
Jul
(19) |
Aug
(8) |
Sep
(4) |
Oct
(4) |
Nov
(9) |
Dec
(17) |
2002 |
Jan
(17) |
Feb
(11) |
Mar
(5) |
Apr
(17) |
May
(17) |
Jun
(7) |
Jul
(18) |
Aug
(10) |
Sep
(20) |
Oct
(30) |
Nov
(3) |
Dec
(2) |
2003 |
Jan
(8) |
Feb
|
Mar
(2) |
Apr
|
May
(16) |
Jun
(35) |
Jul
(2) |
Aug
(4) |
Sep
(10) |
Oct
(45) |
Nov
(7) |
Dec
(13) |
2004 |
Jan
|
Feb
|
Mar
(3) |
Apr
(5) |
May
(3) |
Jun
(11) |
Jul
(1) |
Aug
(2) |
Sep
(34) |
Oct
(26) |
Nov
(32) |
Dec
|
2005 |
Jan
(11) |
Feb
(2) |
Mar
(6) |
Apr
(60) |
May
(21) |
Jun
(14) |
Jul
(3) |
Aug
(6) |
Sep
(6) |
Oct
(13) |
Nov
(10) |
Dec
(19) |
2006 |
Jan
(32) |
Feb
(36) |
Mar
(7) |
Apr
(24) |
May
(5) |
Jun
(10) |
Jul
(4) |
Aug
(17) |
Sep
(13) |
Oct
(12) |
Nov
(1) |
Dec
(7) |
2007 |
Jan
(21) |
Feb
(16) |
Mar
(19) |
Apr
(2) |
May
(15) |
Jun
(18) |
Jul
(6) |
Aug
(2) |
Sep
(33) |
Oct
(21) |
Nov
|
Dec
|
2008 |
Jan
(10) |
Feb
(6) |
Mar
(2) |
Apr
(6) |
May
|
Jun
(13) |
Jul
(7) |
Aug
(12) |
Sep
(22) |
Oct
(8) |
Nov
(1) |
Dec
(25) |
2009 |
Jan
(6) |
Feb
(9) |
Mar
(13) |
Apr
(15) |
May
(17) |
Jun
(6) |
Jul
(7) |
Aug
|
Sep
(9) |
Oct
(28) |
Nov
(6) |
Dec
|
2010 |
Jan
(17) |
Feb
(3) |
Mar
|
Apr
(2) |
May
(20) |
Jun
(3) |
Jul
(9) |
Aug
(18) |
Sep
(10) |
Oct
(8) |
Nov
(9) |
Dec
(2) |
2011 |
Jan
(9) |
Feb
(4) |
Mar
(9) |
Apr
(7) |
May
(9) |
Jun
(31) |
Jul
(9) |
Aug
(15) |
Sep
(17) |
Oct
(7) |
Nov
(31) |
Dec
(2) |
2012 |
Jan
(16) |
Feb
(14) |
Mar
(59) |
Apr
(36) |
May
(28) |
Jun
(17) |
Jul
(6) |
Aug
(12) |
Sep
(21) |
Oct
(38) |
Nov
(14) |
Dec
(8) |
2013 |
Jan
(22) |
Feb
(8) |
Mar
(16) |
Apr
(50) |
May
(8) |
Jun
(44) |
Jul
(22) |
Aug
(7) |
Sep
(6) |
Oct
(5) |
Nov
(10) |
Dec
(1) |
2014 |
Jan
(1) |
Feb
(4) |
Mar
(16) |
Apr
(11) |
May
(24) |
Jun
(22) |
Jul
(32) |
Aug
(5) |
Sep
(5) |
Oct
(3) |
Nov
(15) |
Dec
(6) |
2015 |
Jan
(1) |
Feb
(33) |
Mar
(10) |
Apr
(2) |
May
(2) |
Jun
(8) |
Jul
(14) |
Aug
(4) |
Sep
(6) |
Oct
(1) |
Nov
(14) |
Dec
(8) |
2016 |
Jan
(8) |
Feb
|
Mar
|
Apr
|
May
(4) |
Jun
|
Jul
(8) |
Aug
(18) |
Sep
(3) |
Oct
|
Nov
(4) |
Dec
|
2017 |
Jan
(1) |
Feb
(8) |
Mar
(32) |
Apr
(31) |
May
(23) |
Jun
(1) |
Jul
(7) |
Aug
(28) |
Sep
(17) |
Oct
(18) |
Nov
(16) |
Dec
(17) |
2018 |
Jan
(6) |
Feb
(26) |
Mar
(6) |
Apr
(15) |
May
(22) |
Jun
(11) |
Jul
(12) |
Aug
(28) |
Sep
(7) |
Oct
(22) |
Nov
(21) |
Dec
(10) |
2019 |
Jan
(12) |
Feb
(23) |
Mar
(4) |
Apr
(17) |
May
(29) |
Jun
(5) |
Jul
(15) |
Aug
(12) |
Sep
(21) |
Oct
(17) |
Nov
(9) |
Dec
(8) |
2020 |
Jan
(11) |
Feb
(14) |
Mar
(28) |
Apr
(2) |
May
(2) |
Jun
(9) |
Jul
(5) |
Aug
(2) |
Sep
(7) |
Oct
(5) |
Nov
(1) |
Dec
(7) |
2021 |
Jan
(5) |
Feb
(11) |
Mar
(6) |
Apr
(1) |
May
(10) |
Jun
(21) |
Jul
(21) |
Aug
(8) |
Sep
(4) |
Oct
(37) |
Nov
(4) |
Dec
|
2022 |
Jan
(27) |
Feb
|
Mar
(34) |
Apr
(41) |
May
(3) |
Jun
(18) |
Jul
(16) |
Aug
(5) |
Sep
(1) |
Oct
(3) |
Nov
(9) |
Dec
|
2023 |
Jan
(13) |
Feb
(2) |
Mar
(2) |
Apr
(18) |
May
(4) |
Jun
(9) |
Jul
(3) |
Aug
(3) |
Sep
(6) |
Oct
(6) |
Nov
(4) |
Dec
(3) |
2024 |
Jan
(8) |
Feb
(13) |
Mar
(1) |
Apr
(5) |
May
(4) |
Jun
(11) |
Jul
(3) |
Aug
(7) |
Sep
(5) |
Oct
(6) |
Nov
(9) |
Dec
(20) |
2025 |
Jan
(40) |
Feb
(27) |
Mar
(4) |
Apr
(2) |
May
(15) |
Jun
(14) |
Jul
(3) |
Aug
(5) |
Sep
(8) |
Oct
(5) |
Nov
|
Dec
|
From: Xavier D. <xav...@gm...> - 2023-10-06 17:40:52
|
Dear Danny, Could you provide the whole modulefile, the command you run and loaded module you get after running the commands. It would help to guide you. When defining dependencies with "module load" or "prereq", it is important not to enclose these commands within an evaluation mode test (e.g., "if { [ module-info mode remove ] } {"). This way, what is done at load evaluation is reversed during unload. Let's say you have "module load tbb" in your modulefile. tbb will get loaded as a dependency when loading your module and it will be automatically unloaded when unloading your module. @Paul: I do not think there is a difference between using *-path commands or "module use" in modulefile. Best regards, Xavier Le ven. 6 oct. 2023 à 18:35, Paul Markfort <pau...@gm...> a écrit : > > Took me awhile to find it (module use, completely forgot what the command was, just remembered there was one), but you should use the "module use" or "module use --append" command to mess with MODULEPATH. > > My guess is those modules you are having trouble with, are in the /hpc/sw/modulefiles/nec/apps/intel_oneapi/.files_2023.2/ folder. > (the module command can't find them to unload them). > > Hopefully, the implied "module unuse" command waits until the end of module processing to run (when the module unload is run, the module use becomes a module unuse). > > Xavier, > May I suggest you update the man page so the append-path and prepend-path items suggest you use "module use" to modify MODULEPATH. > > > On 10/6/2023 10:20 AM, Danny Sternkopf wrote: > > Dear all, > > > > we have module which is loading quite few submodules. But when unloading it not all the dependent modules get unloaded. That's why we us a section like this: > > > > if { [ module-info mode remove ] } { > > module unload tbb > > module unload compiler-rt > > module unload oclfpga > > remove-path MODULEPATH /hpc/sw/modulefiles/nec/apps/intel_oneapi/.files_2023.2/ > > } > > > > I also tried with a "module-info mode unload" section, but there is no difference. > > > > We're using: > > $ module --version > > Modules Release 4.5.2 (2020-07-30) > > > > Should it work like this? Or is there something completely wrong here? > > > > The "module-info mode load" section works as expected btw. > > if { [ module-info mode load ] } { > > prepend-path MODULEPATH /hpc/sw/modulefiles/nec/apps/intel_oneapi/.files_2023.2/ > > } > > > > Thank you and Best regards, > > Danny |
From: Paul M. <pau...@gm...> - 2023-10-06 16:34:22
|
Took me awhile to find it (module use, completely forgot what the command was, just remembered there was one), but you should use the "module use" or "module use --append" command to mess with MODULEPATH. My guess is those modules you are having trouble with, are in the /hpc/sw/modulefiles/nec/apps/intel_oneapi/.files_2023.2/ folder. (the module command can't find them to unload them). Hopefully, the implied "module unuse" command waits until the end of module processing to run (when the module unload is run, the module use becomes a module unuse). Xavier, May I suggest you update the man page so the append-path and prepend-path items suggest you use "module use" to modify MODULEPATH. On 10/6/2023 10:20 AM, Danny Sternkopf wrote: > Dear all, > > we have module which is loading quite few submodules. But when unloading it not all the dependent modules get unloaded. That's why we us a section like this: > > if { [ module-info mode remove ] } { > module unload tbb > module unload compiler-rt > module unload oclfpga > remove-path MODULEPATH /hpc/sw/modulefiles/nec/apps/intel_oneapi/.files_2023.2/ > } > > I also tried with a "module-info mode unload" section, but there is no difference. > > We're using: > $ module --version > Modules Release 4.5.2 (2020-07-30) > > Should it work like this? Or is there something completely wrong here? > > The "module-info mode load" section works as expected btw. > if { [ module-info mode load ] } { > prepend-path MODULEPATH /hpc/sw/modulefiles/nec/apps/intel_oneapi/.files_2023.2/ > } > > Thank you and Best regards, > Danny > > Senior System Analyst, HPCE Division > NEC Deutschland GmbH > Frankfurter Strasse 135, 63067 Offenbach, Germany > Mobile: +49 (0)1522 2851510 > Office: +49 (0)69 8062 3488 > > NEC Deutschland GmbH, Fritz-Vomfelde-Straße 14-16, D-40547 Düsseldorf, Germany > Geschäftsführer: Christopher Richard Jackson - Handelsregister Düsseldorf HRB 579413 > > > > > _______________________________________________ > Modules-interest mailing list > Mod...@li... > https://lists.sourceforge.net/lists/listinfo/modules-interest > -- -------------------------------------------------------- The views and opinions expressed above are strictly those of the author(s). The content of this message has not been reviewed nor approved by any entity whatsoever. -------------------------------------------------------- Paul FM Info: http://paulfm.com/~paulfm/ -------------------------------------------------------- |
From: Danny S. <Dan...@EM...> - 2023-10-06 16:01:36
|
Dear all, we have module which is loading quite few submodules. But when unloading it not all the dependent modules get unloaded. That's why we us a section like this: if { [ module-info mode remove ] } { module unload tbb module unload compiler-rt module unload oclfpga remove-path MODULEPATH /hpc/sw/modulefiles/nec/apps/intel_oneapi/.files_2023.2/ } I also tried with a "module-info mode unload" section, but there is no difference. We're using: $ module --version Modules Release 4.5.2 (2020-07-30) Should it work like this? Or is there something completely wrong here? The "module-info mode load" section works as expected btw. if { [ module-info mode load ] } { prepend-path MODULEPATH /hpc/sw/modulefiles/nec/apps/intel_oneapi/.files_2023.2/ } Thank you and Best regards, Danny Senior System Analyst, HPCE Division NEC Deutschland GmbH Frankfurter Strasse 135, 63067 Offenbach, Germany Mobile: +49 (0)1522 2851510 Office: +49 (0)69 8062 3488 NEC Deutschland GmbH, Fritz-Vomfelde-Straße 14-16, D-40547 Düsseldorf, Germany Geschäftsführer: Christopher Richard Jackson - Handelsregister Düsseldorf HRB 579413 |
From: Xavier D. <xav...@gm...> - 2023-09-29 04:55:41
|
Many thanks Adrien for your report. What you spot was actually a specific bug of stickiness reloading detection with virtual modules. Ticket #506 [1] was opened to work on this issue. It is now closed and the fix will be part of version 5.4. Regards, Xavier [1] https://github.com/cea-hpc/modules/issues/506 Le mar. 22 août 2023 à 09:23, Adrien COTTE - Groupe EOLEN <adr...@eo...> a écrit : > > Yes, I already use sticky. > And you are right, it's working on a simple module. > > So now, I need to debug to understand why I still have "Error: Unload of sticky module skipped". > > Maybe the usage of sticky is tricky on virtual modules? > > Thank you for your quick answer, it helps a lot. > > Best, > Adrien > > ________________________________ > From: Xavier Delaruelle <xav...@gm...> > Sent: Monday, August 21, 2023 7:13:58 PM > To: Environment Modules usage and discussion. <mod...@li...> > Subject: Re: [Modules] Switching the version of a sticky module? > > Hi Adrien, > > Such feature is already available since the introduction if the sticky tag. > > You just need to declare that the generic "pmix" name is sticky, not a > precise version: > > module-tag sticky pmix > > This way you are able to switch from one version to another without any error. > > See example at the end of the "Sticky modules" section in: > https://modules.readthedocs.io/en/latest/MIGRATING.html#sticky-modules > > Best regards, > Xavier > > Le lun. 21 août 2023 à 18:23, Adrien COTTE - Groupe EOLEN > <adr...@eo...> a écrit : > > > > Hi, > > > > Many thanks again for the new "sticky_purge" config feature. > > > > But now, I would like to allow my users to switch the version of a sticky module. > > > > For example, my users must have a pmix module loaded, but no matters the version. > > > > $ module switch pmix/3.1.5 pmix/4.2.4 > > > > Currently I have to use the "-f" option to perform that. > > > > Is it a good idea to add a "allow_sticky_switch_version" config or not? > > > > Best, > > Adrien > > _______________________________________________ > > Modules-interest mailing list > > Mod...@li... > > https://lists.sourceforge.net/lists/listinfo/modules-interest > > > _______________________________________________ > Modules-interest mailing list > Mod...@li... > https://lists.sourceforge.net/lists/listinfo/modules-interest > _______________________________________________ > Modules-interest mailing list > Mod...@li... > https://lists.sourceforge.net/lists/listinfo/modules-interest |
From: LAURENT F. <lau...@ev...> - 2023-09-27 13:15:12
|
Ok Xavier. Thanks a lot for your nice support (again 😉) I will investigate more and probably find the solution with your inputs. Bye Laurent From: Xavier Delaruelle <xav...@gm...> Sent: 27 September 2023 14:09 To: LAURENT FIGADERE <lau...@at...> Cc: Environment Modules usage and discussion. <mod...@li...> Subject: Re: [Modules] Question Module Caution: External email. Do not open attachments or click links, unless this email comes from a known sender and you know the content is safe. Le mer. 27 sept. 2023 à 13:34, LAURENT FIGADERE <lau...@ev...<mailto:lau...@ev...>> a écrit : Hi Xavier, Ok thanks: I am adding the option set_shell_startup during the installation and cross check if it’s resolving my issue. Concerning the header: you said ‘Modulefiles should start with the #%Module magic cookie string’ But as I told to you my modulefiles start with : ‘#%Module2.0’. Does it mean I have to remove 2.0 ? "2.0" can be kept. Version specification can be set right after #%Module". I suspect that such error comes from .modulerc or .version files inside your modulepaths that do not start with "#%Module". By running the command with --debug, you will be able to spot where this error comes from. Regards, Xavier Regards Laurent From: Xavier Delaruelle <xav...@gm...<mailto:xav...@gm...>> Sent: 27 September 2023 13:23 To: Environment Modules usage and discussion. <mod...@li...<mailto:mod...@li...>>; LAURENT FIGADERE <lau...@at...<mailto:lau...@at...>> Subject: Re: [Modules] Question Module Caution: External email. Do not open attachments or click links, unless this email comes from a known sender and you know the content is safe. Hi Laurent, Le mer. 27 sept. 2023 à 13:11, LAURENT FIGADERE via Modules-interest <mod...@li...<mailto:mod...@li...>> a écrit : Hi all, We are using for the moment module version 4.7.0. With this version, I have sometimes this error: Module ERROR: Magic cookie '#%Module' missing Even the modulefiles exist and contains the header: #%Module2.0 First question: do you know this issue root cause? Modulefiles should start with the #%Module magic cookie string. This error is obtained when this magic cookie is not found at the start of the file. You should be seing this error consistently for the same files. Running command in --debug mode would help to see the file with issues. To give more info, we are loading the modulefiles in several jobs in parallel at the same time. I saw in recent release, since 5.1, this documentation: https://modules.readthedocs.io/en/latest/module.html#mconfig-mcookie_check Can MODULES_MCOOKIE_CHECK or MODULES_MCOOKIE_VERSION_CHECK help to resolve these errors? MODULES_MCOOKIE_CHECK would help to disable the magic cookie check. But to use it you must ensure that only modulefiles are inside the modulepath directories. And now, I have another question. To try if it could help us to remove these errors, I tried to use module version 5.3.1. But now, I am faced to another issue: even I source the bash init, I have this eror here after: Like the init was not done properly. Did somebody see this kind of issue? Your test.sh script runs inside a sub-shell. It does not inherit the module shell function unless module was initialized in the upper shell session with the set_shell_startup option enabled (https://modules.readthedocs.io/en/latest/module.html#mconfig-set_shell_startup). Regards, Xavier |
From: Xavier D. <xav...@gm...> - 2023-09-27 12:09:30
|
Le mer. 27 sept. 2023 à 13:34, LAURENT FIGADERE <lau...@ev...> a écrit : > Hi Xavier, > > > > Ok thanks: I am adding the option set_shell_startup during the > installation and cross check if it’s resolving my issue. > > > > Concerning the header: you said ‘Modulefiles should start with the > #%Module magic cookie string’ > > But as I told to you my modulefiles start with : ‘*#%Module2.0*’. > > Does it mean I have to remove *2.0* ? > "2.0" can be kept. Version specification can be set right after #%Module". I suspect that such error comes from .modulerc or .version files inside your modulepaths that do not start with "#%Module". By running the command with --debug, you will be able to spot where this error comes from. Regards, Xavier > > > Regards > > Laurent > > > > *From:* Xavier Delaruelle <xav...@gm...> > *Sent:* 27 September 2023 13:23 > *To:* Environment Modules usage and discussion. < > mod...@li...>; LAURENT FIGADERE < > lau...@at...> > *Subject:* Re: [Modules] Question Module > > > > *Caution:* External email. Do not open attachments or click links, unless > this email comes from a known sender and you know the content is safe. > > > > Hi Laurent, > > > > Le mer. 27 sept. 2023 à 13:11, LAURENT FIGADERE via Modules-interest < > mod...@li...> a écrit : > > Hi all, > > > > We are using for the moment module version 4.7.0. > > With this version, I have sometimes this error: > > Module ERROR: Magic cookie '#%Module' missing > > > > Even the modulefiles exist and contains the header: > > #%Module2.0 > > > > First question: do you know this issue root cause? > > > > Modulefiles should start with the #%Module magic cookie string. This error > is obtained when this magic cookie is not found at the start of the file. > > > > You should be seing this error consistently for the same files. Running > command in --debug mode would help to see the file with issues. > > > > To give more info, we are loading the modulefiles in several jobs in > parallel at the same time. > > > > I saw in recent release, since *5.1,* this documentation: > > https://modules.readthedocs.io/en/latest/module.html#mconfig-mcookie_check > > > > Can MODULES_MCOOKIE_CHECK or MODULES_MCOOKIE_VERSION_CHECK help to > resolve these errors? > > > > MODULES_MCOOKIE_CHECK would help to disable the magic cookie check. But to > use it you must ensure that only modulefiles are inside the modulepath > directories. > > > > > > And now, I have another question. > > To try if it could help us to remove these errors, I tried to use module > version 5.3.1. > > > > But now, I am faced to another issue: even I source the bash init, I have > this eror here after: > > Like the init was not done properly. > > Did somebody see this kind of issue? > > > > Your test.sh script runs inside a sub-shell. It does not inherit the > module shell function unless module was initialized in the upper shell > session with the set_shell_startup option enabled ( > https://modules.readthedocs.io/en/latest/module.html#mconfig-set_shell_startup > ). > > > > Regards, > > Xavier > |
From: LAURENT F. <lau...@ev...> - 2023-09-27 11:35:08
|
Hi Xavier, Ok thanks: I am adding the option set_shell_startup during the installation and cross check if it's resolving my issue. Concerning the header: you said 'Modulefiles should start with the #%Module magic cookie string' But as I told to you my modulefiles start with : '#%Module2.0'. Does it mean I have to remove 2.0 ? Regards Laurent From: Xavier Delaruelle <xav...@gm...> Sent: 27 September 2023 13:23 To: Environment Modules usage and discussion. <mod...@li...>; LAURENT FIGADERE <lau...@at...> Subject: Re: [Modules] Question Module Caution: External email. Do not open attachments or click links, unless this email comes from a known sender and you know the content is safe. Hi Laurent, Le mer. 27 sept. 2023 à 13:11, LAURENT FIGADERE via Modules-interest <mod...@li...<mailto:mod...@li...>> a écrit : Hi all, We are using for the moment module version 4.7.0. With this version, I have sometimes this error: Module ERROR: Magic cookie '#%Module' missing Even the modulefiles exist and contains the header: #%Module2.0 First question: do you know this issue root cause? Modulefiles should start with the #%Module magic cookie string. This error is obtained when this magic cookie is not found at the start of the file. You should be seing this error consistently for the same files. Running command in --debug mode would help to see the file with issues. To give more info, we are loading the modulefiles in several jobs in parallel at the same time. I saw in recent release, since 5.1, this documentation: https://modules.readthedocs.io/en/latest/module.html#mconfig-mcookie_check Can MODULES_MCOOKIE_CHECK or MODULES_MCOOKIE_VERSION_CHECK help to resolve these errors? MODULES_MCOOKIE_CHECK would help to disable the magic cookie check. But to use it you must ensure that only modulefiles are inside the modulepath directories. And now, I have another question. To try if it could help us to remove these errors, I tried to use module version 5.3.1. But now, I am faced to another issue: even I source the bash init, I have this eror here after: [cid:image006.png@01D9F13B.AB5A8120] Like the init was not done properly. Did somebody see this kind of issue? Your test.sh script runs inside a sub-shell. It does not inherit the module shell function unless module was initialized in the upper shell session with the set_shell_startup option enabled (https://modules.readthedocs.io/en/latest/module.html#mconfig-set_shell_startup). Regards, Xavier |
From: Xavier D. <xav...@gm...> - 2023-09-27 11:23:06
|
Hi Laurent, Le mer. 27 sept. 2023 à 13:11, LAURENT FIGADERE via Modules-interest < mod...@li...> a écrit : > Hi all, > > > > We are using for the moment module version 4.7.0. > > With this version, I have sometimes this error: > > Module ERROR: Magic cookie '#%Module' missing > > > > Even the modulefiles exist and contains the header: > > #%Module2.0 > > > > First question: do you know this issue root cause? > Modulefiles should start with the #%Module magic cookie string. This error is obtained when this magic cookie is not found at the start of the file. You should be seing this error consistently for the same files. Running command in --debug mode would help to see the file with issues. > To give more info, we are loading the modulefiles in several jobs in > parallel at the same time. > > > > I saw in recent release, since *5.1,* this documentation: > > https://modules.readthedocs.io/en/latest/module.html#mconfig-mcookie_check > > > > Can MODULES_MCOOKIE_CHECK or MODULES_MCOOKIE_VERSION_CHECK help to > resolve these errors? > MODULES_MCOOKIE_CHECK would help to disable the magic cookie check. But to use it you must ensure that only modulefiles are inside the modulepath directories. > > > And now, I have another question. > > To try if it could help us to remove these errors, I tried to use module > version 5.3.1. > > > > But now, I am faced to another issue: even I source the bash init, I have > this eror here after: > > Like the init was not done properly. > > Did somebody see this kind of issue? > Your test.sh script runs inside a sub-shell. It does not inherit the module shell function unless module was initialized in the upper shell session with the set_shell_startup option enabled ( https://modules.readthedocs.io/en/latest/module.html#mconfig-set_shell_startup ). Regards, Xavier |
From: LAURENT F. <lau...@ev...> - 2023-09-27 10:28:08
|
Hi all, We are using for the moment module version 4.7.0. With this version, I have sometimes this error: Module ERROR: Magic cookie '#%Module' missing Even the modulefiles exist and contains the header: #%Module2.0 First question: do you know this issue root cause? To give more info, we are loading the modulefiles in several jobs in parallel at the same time. I saw in recent release, since 5.1, this documentation: https://modules.readthedocs.io/en/latest/module.html#mconfig-mcookie_check Can MODULES_MCOOKIE_CHECK or MODULES_MCOOKIE_VERSION_CHECK help to resolve these errors? And now, I have another question. To try if it could help us to remove these errors, I tried to use module version 5.3.1. But now, I am faced to another issue: even I source the bash init, I have this eror here after: [cid:image006.png@01D9F13B.AB5A8120] Like the init was not done properly. Did somebody see this kind of issue? Kind regards, Figadère Laurent CAD Engineer - BDS RD Asic's T: 01 86 53 72 26 39 avenue Jean Jaurès 78340 Les Clayes-sous-Bois - France eviden.com<https://eviden.com/> [LinkedIn icon]<https://www.linkedin.com/company/eviden> [Twitter icon] <https://twitter.com/EvidenLive> [Instagram icon] <https://www.instagram.com/evidenlive> [YouTube icon] <https://www.youtube.com/@EvidenLive> [Eviden logo] an atos business |
From: Adrien C. - G. E. <adr...@eo...> - 2023-08-22 07:22:39
|
Yes, I already use sticky. And you are right, it's working on a simple module. So now, I need to debug to understand why I still have "Error: Unload of sticky module skipped". Maybe the usage of sticky is tricky on virtual modules? Thank you for your quick answer, it helps a lot. Best, Adrien ________________________________ From: Xavier Delaruelle <xav...@gm...> Sent: Monday, August 21, 2023 7:13:58 PM To: Environment Modules usage and discussion. <mod...@li...> Subject: Re: [Modules] Switching the version of a sticky module? Hi Adrien, Such feature is already available since the introduction if the sticky tag. You just need to declare that the generic "pmix" name is sticky, not a precise version: module-tag sticky pmix This way you are able to switch from one version to another without any error. See example at the end of the "Sticky modules" section in: https://modules.readthedocs.io/en/latest/MIGRATING.html#sticky-modules Best regards, Xavier Le lun. 21 août 2023 à 18:23, Adrien COTTE - Groupe EOLEN <adr...@eo...> a écrit : > > Hi, > > Many thanks again for the new "sticky_purge" config feature. > > But now, I would like to allow my users to switch the version of a sticky module. > > For example, my users must have a pmix module loaded, but no matters the version. > > $ module switch pmix/3.1.5 pmix/4.2.4 > > Currently I have to use the "-f" option to perform that. > > Is it a good idea to add a "allow_sticky_switch_version" config or not? > > Best, > Adrien > _______________________________________________ > Modules-interest mailing list > Mod...@li... > https://lists.sourceforge.net/lists/listinfo/modules-interest _______________________________________________ Modules-interest mailing list Mod...@li... https://lists.sourceforge.net/lists/listinfo/modules-interest |
From: Xavier D. <xav...@gm...> - 2023-08-21 17:14:17
|
Hi Adrien, Such feature is already available since the introduction if the sticky tag. You just need to declare that the generic "pmix" name is sticky, not a precise version: module-tag sticky pmix This way you are able to switch from one version to another without any error. See example at the end of the "Sticky modules" section in: https://modules.readthedocs.io/en/latest/MIGRATING.html#sticky-modules Best regards, Xavier Le lun. 21 août 2023 à 18:23, Adrien COTTE - Groupe EOLEN <adr...@eo...> a écrit : > > Hi, > > Many thanks again for the new "sticky_purge" config feature. > > But now, I would like to allow my users to switch the version of a sticky module. > > For example, my users must have a pmix module loaded, but no matters the version. > > $ module switch pmix/3.1.5 pmix/4.2.4 > > Currently I have to use the "-f" option to perform that. > > Is it a good idea to add a "allow_sticky_switch_version" config or not? > > Best, > Adrien > _______________________________________________ > Modules-interest mailing list > Mod...@li... > https://lists.sourceforge.net/lists/listinfo/modules-interest |
From: Adrien C. - G. E. <adr...@eo...> - 2023-08-21 16:22:59
|
Hi, Many thanks again for the new "sticky_purge" config feature. But now, I would like to allow my users to switch the version of a sticky module. For example, my users must have a pmix module loaded, but no matters the version. $ module switch pmix/3.1.5 pmix/4.2.4 Currently I have to use the "-f" option to perform that. Is it a good idea to add a "allow_sticky_switch_version" config or not? Best, Adrien |
From: Xavier D. <xav...@gm...> - 2023-07-20 05:10:30
|
Dear All, A new configuration option named sticky_purge is introduced for next version (5.4). It defines the behavior of purge sub-command when unloading a sticky or super-sticky module. By default an error is raised. sticky_purge can be changed to emit a warning message instead or to be silent. See example at https://modules.readthedocs.io/en/latest/MIGRATING.html#purging-sticky-modules Regards, Xavier |
From: Xavier D. <xav...@gm...> - 2023-07-18 06:02:39
|
Dear All, A new configuration option named unique_name_loaded is introduced for next version (5.4). When it is enabled, it allows only one module loaded per module name. When loading a module that shares a name with an already loaded module, an error is raised. It is similar to the *One name rule* feature introduced by Lmod. See example at https://modules.readthedocs.io/en/latest/MIGRATING.html#unique-module-name-loaded Regards, Xavier |
From: Xavier D. <xav...@gm...> - 2023-07-11 04:59:27
|
Dear All, A new modulefile command named modulepath-label is introduced for next version (5.4). modulepath-label command defines a label to use to designate modulepath in module avail output. This new command should be used in global or modulepath-specific rc files. See example at https://modules.readthedocs.io/en/latest/MIGRATING.html#specific-modulepath-labels Regards, Xavier |
From: Xavier D. <xav...@gm...> - 2023-06-27 18:56:12
|
Hello All, Modules 5.3.1 is out. This release brings fixes for the few issue spotted recently. The changes introduced in this bugfix release are detailed at: https://modules.readthedocs.io/en/stable/NEWS.html#modules-5-3-1-2023-06-27 Details on the new features introduced in the 5.3 series are provided in the MIGRATING document. http://modules.readthedocs.io/en/stable/MIGRATING.html The tarball of this new version can be downloaded at: http://downloads.sourceforge.net/modules/modules-5.3.1.tar.gz The zipball to install this new version on Windows platform can be downloaded at: http://downloads.sourceforge.net/modules/modules-5.3.1-win.zip If you encounter any issue, please let us know by creating a ticket on the project bug tracker at: https://github.com/cea-hpc/modules/issues Special thanks to all the people who reported issues. Best regards, Xavier |
From: Xavier D. <xav...@gm...> - 2023-06-27 05:05:00
|
Hi Bhargav, Currently the best option is to manually add unset-function commands after the source-sh command. I have created a feature request to add some option to source-sh to be able to skip specific environment changes: https://github.com/cea-hpc/modules/issues/503 Regards, Xavier Le mar. 27 juin 2023 à 03:30, Bhargav Katkam via Modules-interest <mod...@li...> a écrit : > > Micron Confidential > > > Hi Team, > > I am trying to source an externally managed bash script using ‘source-sh’ command in a module file. > > But it also exports functions defined in that file, while I am interested only in environment variables. > > I can try ‘unset-function’ but it’s hard to keep track of function definition changes. > > > > How to achieve this. > > > > -- > > Bhargav > > > > > Micron Confidential > > _______________________________________________ > Modules-interest mailing list > Mod...@li... > https://lists.sourceforge.net/lists/listinfo/modules-interest |
From: Xavier D. <xav...@gm...> - 2023-06-27 04:54:57
|
An error is raised as purge should result in an empty loaded module list. I understand that this behavior could disturb some users. So a configuration option may be introduced to define the expected behavior. I have created an issue ticket for this feature request: https://github.com/cea-hpc/modules/issues/502 Best regards, Xavier Le lun. 26 juin 2023 à 16:04, Adrien COTTE - Groupe EOLEN <adr...@eo...> a écrit : > > Of course. > > Let's take a module "slurm/22.05.7". > This module is loaded at the login and has the super-sticky tag. > > I mean, each user must have this module loaded, otherwise they cannot run any job. > > After loaded several other modules, my users want to clean their env with "module purge". > > But, this message (with verbosity concise) appears: > > Unloading slurm/22.05.7 > Error: Unload of sticky module skipped > > And $? is 1. > > When I explain to my users why there is this message, they say "ok, so this is normal and not an error". It's hard to disagree, this is the right behaviour. It should be a simple INFO, a Warning at least, but not an Error. > > Is it more clear? > > Thx, > Adrien > ________________________________ > From: Xav...@CE... <Xav...@CE...> > Sent: Monday, June 26, 2023 11:13:22 AM > To: mod...@li... <mod...@li...> > Subject: Re: [Modules] Sticky modules message without error > > Hi Adrien, > > Could you please give some details in what situations these messages are obtained and scare users. > > Best regards, > Xavier > > On Mon, 2023-06-26 at 08:39 +0000, Adrien COTTE - Groupe EOLEN wrote: > > Hi, > > I've set some modules as Sticky, but my users are scared about the Error message. > > Is there any way to transform this message into Warning and not return code 1? > > Best, > Adrien > > _______________________________________________ > > Modules-interest mailing list > > Mod...@li... > > > https://lists.sourceforge.net/lists/listinfo/modules-interest > > > _______________________________________________ > Modules-interest mailing list > Mod...@li... > https://lists.sourceforge.net/lists/listinfo/modules-interest |
From: Bhargav K. <bk...@mi...> - 2023-06-27 01:30:00
|
Micron Confidential Hi Team, I am trying to source an externally managed bash script using 'source-sh' command in a module file. But it also exports functions defined in that file, while I am interested only in environment variables. I can try 'unset-function' but it's hard to keep track of function definition changes. How to achieve this. -- Bhargav Micron Confidential |
From: Adrien C. - G. E. <adr...@eo...> - 2023-06-26 14:03:47
|
Of course. Let's take a module "slurm/22.05.7". This module is loaded at the login and has the super-sticky tag. I mean, each user must have this module loaded, otherwise they cannot run any job. After loaded several other modules, my users want to clean their env with "module purge". But, this message (with verbosity concise) appears: Unloading slurm/22.05.7 Error: Unload of sticky module skipped And $? is 1. When I explain to my users why there is this message, they say "ok, so this is normal and not an error". It's hard to disagree, this is the right behaviour. It should be a simple INFO, a Warning at least, but not an Error. Is it more clear? Thx, Adrien ________________________________ From: Xav...@CE... <Xav...@CE...> Sent: Monday, June 26, 2023 11:13:22 AM To: mod...@li... <mod...@li...> Subject: Re: [Modules] Sticky modules message without error Hi Adrien, Could you please give some details in what situations these messages are obtained and scare users. Best regards, Xavier On Mon, 2023-06-26 at 08:39 +0000, Adrien COTTE - Groupe EOLEN wrote: Hi, I've set some modules as Sticky, but my users are scared about the Error message. Is there any way to transform this message into Warning and not return code 1? Best, Adrien _______________________________________________ Modules-interest mailing list <mailto:Mod...@li...> Mod...@li... <https://lists.sourceforge.net/lists/listinfo/modules-interest> https://lists.sourceforge.net/lists/listinfo/modules-interest |
From: <Xav...@CE...> - 2023-06-26 09:34:24
|
Hi Adrien, Could you please give some details in what situations these messages are obtained and scare users. Best regards, Xavier On Mon, 2023-06-26 at 08:39 +0000, Adrien COTTE - Groupe EOLEN wrote: Hi, I've set some modules as Sticky, but my users are scared about the Error message. Is there any way to transform this message into Warning and not return code 1? Best, Adrien _______________________________________________ Modules-interest mailing list <mailto:Mod...@li...> Mod...@li... <https://lists.sourceforge.net/lists/listinfo/modules-interest> https://lists.sourceforge.net/lists/listinfo/modules-interest |
From: Adrien C. - G. E. <adr...@eo...> - 2023-06-26 08:59:38
|
Hi, I've set some modules as Sticky, but my users are scared about the Error message. Is there any way to transform this message into Warning and not return code 1? Best, Adrien |
From: Xavier D. <xav...@gm...> - 2023-06-20 18:50:56
|
Hi Martin, I would suggest to disable the advanced_version_spec configuration option [1] as your module names are not compatible with the variant specification syntax. module config advanced_version_spec 0 This command could be set in global initrc file [2] Regards, Xavier [1] https://modules.readthedocs.io/en/latest/module.html#mconfig-advanced_version_spec [2] https://modules.readthedocs.io/en/latest/INSTALL.html#configuration Le mar. 20 juin 2023 à 20:15, D'Anjou, Martin via Modules-interest <mod...@li...> a écrit : > > Hi, > > > > I am trying to upgrade environment modules and I am running into an issue with the variant feature. > > Java version strings contain the “+” plus sign, for example: openjdk-hs-17.0.1+12 > > > > When I load it with --debug, I get: > > DEBUG setModuleVersSpec: Set module 'openjdk-hs/17.0.1' (escglob 'openjdk-hs/17.0.1'), module name 'openjdk-hs' (re ''), module root 'openjdk-hs', version cmp 'eq', version(s) '', variant(s) '{12 1 1}' and module name version spec 'openjdk-hs/17.0.1' for argument 'openjdk-hs/17.0.1+12' > > .. > > ERROR: Unable to locate a modulefile for 'openjdk-hs/17.0.1+12' > > > > I can see the file exists and load just fine with the older version of modules, but not when I upgrade to 5.0.1. > > > > In the code, I see the split on the “+” sign happening in modules/tcl/modspec.tcl/setModuleVersSpec line 1561, so it looks baked in and unavoidable. > > > > I am trying to avoid any disruption to the users, does anyone have advice on how to approach this problem? > > Or maybe add something non-disturbing to my existing installation so the upgrade could be seamless, and my users would not have to modify their code? > > > > Thanks, > > Martin > > > > > > _______________________________________________ > Modules-interest mailing list > Mod...@li... > https://lists.sourceforge.net/lists/listinfo/modules-interest |
From: D'Anjou, M. <md...@ci...> - 2023-06-20 18:14:35
|
Hi, I am trying to upgrade environment modules and I am running into an issue with the variant feature. Java version strings contain the "+" plus sign, for example: openjdk-hs-17.0.1+12 When I load it with --debug, I get: DEBUG setModuleVersSpec: Set module 'openjdk-hs/17.0.1' (escglob 'openjdk-hs/17.0.1'), module name 'openjdk-hs' (re ''), module root 'openjdk-hs', version cmp 'eq', version(s) '', variant(s) '{12 1 1}' and module name version spec 'openjdk-hs/17.0.1' for argument 'openjdk-hs/17.0.1+12' .. ERROR: Unable to locate a modulefile for 'openjdk-hs/17.0.1+12' I can see the file exists and load just fine with the older version of modules, but not when I upgrade to 5.0.1. In the code, I see the split on the "+" sign happening in modules/tcl/modspec.tcl/setModuleVersSpec line 1561<https://github.com/cea-hpc/modules/blob/48eeb0873014a033791194b99a6521b5daee794d/tcl/modspec.tcl#L1561>, so it looks baked in and unavoidable. I am trying to avoid any disruption to the users, does anyone have advice on how to approach this problem? Or maybe add something non-disturbing to my existing installation so the upgrade could be seamless, and my users would not have to modify their code? Thanks, Martin |
From:
<sys...@ro...> - 2023-05-15 14:01:18
|
Hello Xavier, Thank you very much for this fabulous reading with the new update. I installed this release today on my two clusters using the GNU-C 13.1 compiler and my first impression is that it has become incredibly fast. I will have a look at the new features and give you a feedback afterwards. Best regards from Berlin Z. Matthias > On Montag, Mai 15, 2023 at 6:51 AM, Xavier Delaruelle <xav...@gm... (mailto:xav...@gm...)> wrote: > Hello All, > > Modules 5.3 is out! As usual this new version comes with many new > features: Module cache, Querying available module variants, Extra > specifiers, Append or subtract elements to current option value. > > Details on the major changes included in this new release are provided > in the MIGRATING document. The list of all changes made in this new > version are described in the NEWS document. > > http://modules.readthedocs.io/en/stable/MIGRATING.html > http://modules.readthedocs.io/en/stable/NEWS.html > > The tarball of this new version can be downloaded at: > > http://downloads.sourceforge.net/modules/modules-5.3.0.tar.gz > > The zipball to install this new version on Windows platform can be > downloaded at: > > http://downloads.sourceforge.net/modules/modules-5.3.0-win.zip > > If you encounter any issue, please let us know by creating a ticket on > the project bug tracker at: > > https://github.com/cea-hpc/modules/issues > > Many thanks to all of you who improve Modules by reporting bugs or > sharing new ideas. > > Best regards, > Xavier > > > _______________________________________________ > Modules-interest mailing list > Mod...@li... > https://lists.sourceforge.net/lists/listinfo/modules-interest > |