Re: [Lmod-users] Tracking modules on systems
A Lua based environment module system that reads TCL modulefiles.
Brought to you by:
rtmclay
From: Robert M. <mc...@ta...> - 2024-11-29 13:39:09
|
You are correct. Lmod 8.7.53 still doesn't work with python3 and the MySQL client MySQLdb is no longer supported. I have been working on fixing that, and I am close to releasing that as version 8.8. But isn't quite ready. Best, Robert. ________________________________ From: Loris Bennett <lor...@fu...> Sent: Friday, November 29, 2024 5:03 AM To: Robert McLay <mc...@ta...> Cc: Lmod Mailinglist <lmo...@li...> Subject: Re: [Lmod-users] Tracking modules on systems "Loris Bennett" <lor...@fu...> writes: > Robert McLay <mc...@ta...> writes: > >> The MySQL client that for Python that Lmod uses is no longer >> supported in newer versions of Linux. Lmod will move to something >> that is supported soon. I >> don't know when, but it will be before SC and maybe sooner. > > Thanks for the information. I'll look out for it. I have installed 8.7.53 but am getting the following error when the log files are ingested: query: line: Nov 7 08:27:56 c056 ModuleUsageTracking[2946728]: user=chuc89 module=gaussian/g16_A03 path=/trinity/shared/modules/zedat/gaussian/g16_A03 host=c056.curta.zedat.fu-berlin.de time=1730964476.810055 user : xyz123 module : gaussian/g16_A03 path : /trinity/shared/modules/zedat/gaussian/g16_A03 host : c056.curta.zedat.fu-berlin.de time : 1730964476.810055 syshost : curta Traceback (most recent call last): File "/trinity/shared/easybuild/lmod/tracking_module_usage_8.7.53/LMODdb.py", line 195, in data_to_db conn = self.connect() File "/trinity/shared/easybuild/lmod/tracking_module_usage_8.7.53/LMODdb.py", line 90, in connect self.__readFromUser() File "/trinity/shared/easybuild/lmod/tracking_module_usage_8.7.53/LMODdb.py", line 61, in __readFromUser self.__host = raw_input("Database host:") NameError: name 'raw_input' is not defined This seems to be due to 'raw_input' in Python 2 having been renamed to 'input' in Python 3. This is a AlmaLinux 8.10 system where /usr/bin/python is version 3.6.8 I see that LMODdb.py is from Jan 2023. Am I correct in assuming that currently there is no working Python 3 version? Cheers, Loris > Cheers, > > Loris > > >> Best, >> Robert >> >> >> ------------------------------------------------------------------------------------------------------------------------- >> From: Loris Bennett <lor...@fu...> >> Sent: Monday, September 2, 2024 6:41 AM >> To: Lmod Mailinglist <lmo...@li...> >> Subject: [Lmod-users] Tracking modules on systems >> >> Hi, >> >> We had module tracking set up on a CentOS 7 system. We have now moved >> to AlmaLinux 8 and I can't find an appropriate version of >> >> MySQLdb >> >> to install. >> >> This no longer seems available from pypi.org. Is module tracking still >> supported in Lmod? >> >> Cheers, >> >> Loris -- Dr. Loris Bennett (Herr/Mr) FUB-IT, Freie Universität Berlin |