man modchk
NAME
modchk - compare parsed "module avail" lists
SYNOPSIS
modchk [-options] [-filters]
DESCRIPTION
The modchk command compares parsed "module avail" listings. One or more files is
specified with the -f option.
Files look something like:
# Linux pingo 2.6.16.54-0.2.8_1.0000.3800.0-ss
PrgEnv-gnu/2.1.27HD
PrgEnv-gnu/2.1.41HD default
These files are generated via the chk_etc.ksh or module_chk scripts.
If the host entry is not provided the filename is used as the host name.
In the resulting display:
* indicates a default module
+ indicates an available module
- indicates not installed on a host
OPTIONS
-files file1[,file2...]
Input files, comma or white-space separated.
-output output-file
To specify output file, defaults to stdout.
-verbose
Verbose option to display filters.
-quiet No OS header or modules count trailer information.
-debug Debugging information.
-single
No space between host columns.
-page lines
Redisplay host headers after specified number of lines.
-?
Display terse help message.
FILTERS
-release version1[,version2...]
OS version(s) to report on.
+release version1[,version2...]
OS version(s) to exclude.
-software OS1[,OS2...]
OS name(s) to report on.
+software OS1[,OS2...]
OS name(s) to exlcude.
-host host1[,host2...]
Host name(s) to report on.
+host host1[,host2...]
Host name(s) to exclude.
-name module1[,module2...]
Module name(s) to report on.
+name module1[,module2...]
Module name(s) to exclude.
-MaxMo Specify a maximum module length to display.
-MaxVe Specify a maximum version length to display.
-default
Display only default modules.
-Module
Display only module names not versions. Can be used with -default
-match Matched hosts (module/version on all hosts) not reported.
+match Only matched hosts (module/version on all) are reported.
EXAMPLES
# modchk -f "`ls -1 modules.*`" -name pathscale,pbs
Cray-XT
j e p s o : 5 hosts
a i i a g : 2 total modules
d n n p n : 8 total versions
e s g p i :
- t o h p :
j e i :
a i r :
d n e : * default; + available; - missing
+ - - - - :pathscale 3.0
+ - + - + :pathscale 3.1
* * * * * :pathscale 3.2
* - * + * :pbs 10.0.0.82981
+ - - - - :pbs 8.1.4
+ - - - - :pbs 8.1.5c-r9
- - + - + :pbs 9.2.0.81361
- + + - + :pbs 9.2.2.82426
1 of 8 packages installed on all 5 hosts
NOTES
This command utilizes the cci command parser utilized by [ancient] non-UNIX operat-
ing systems instead of the traditional UNIX getopt() parsing. Options have been
defined to "look like" UNIX style options, but can be spelled out or generally
abbreviated. For example -o is the same as -output. Because of this multiple
options must be space separated and the hyphen is part of the option name. Also
because of this order of options is irrelevant.
ACKNOWLEDGEMENTS
Written at the University of Alaska Arctic Region Supercomputing Center (ARSC).
Ongoing maintenance via SourceForge by Denali Sun Consulting.
Suggestions or bug reports can be directed to denalisun907@gmail.com.