=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== lmod-6.6/MF/settarg.version.lua-6-set_shell_function("settarg", 'eval $($LMOD_SETTARG_CMD -s sh "$@")', lmod-6.6/MF/settarg.version.lua:7: 'eval `$LMOD_SETTARG_CMD -s csh $*`' ) lmod-6.6/MF/settarg.version.lua-8- ############################################## lmod-6.6/README.old-681- set_shell_function("ml",'eval $($LMOD_DIR/ml_cmd "$@")', lmod-6.6/README.old:682: "eval `$LMOD_DIR/ml_cmd $*`") lmod-6.6/README.old-683- ############################################## lmod-6.6/build.rtm-2-# -*- shell-script -*- lmod-6.6/build.rtm:3:PKG_VERSION=`(cd src; lua -e "local Version=require('Version'); print(Version.name())") | awk '{print $1}'` lmod-6.6/build.rtm-4-echo Making Version: $PKG_VERSION ############################################## lmod-6.6/configure-43-if test -z "$BASH_VERSION$ZSH_VERSION" \ lmod-6.6/configure:44: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then lmod-6.6/configure-45- as_echo='print -r --' lmod-6.6/configure-46- as_echo_n='print -rn --' lmod-6.6/configure:47:elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then lmod-6.6/configure-48- as_echo='printf %s\n' ############################################## lmod-6.6/configure-50-else lmod-6.6/configure:51: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then lmod-6.6/configure-52- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' ############################################## lmod-6.6/configure-60- expr "X$arg" : "X\\(.*\\)$as_nl"; lmod-6.6/configure:61: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; lmod-6.6/configure-62- esac; ############################################## lmod-6.6/configure-197- eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && lmod-6.6/configure:198: test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" lmod-6.6/configure-199- if (eval "$as_required") 2>/dev/null; then : ############################################## lmod-6.6/configure-323- case $as_dir in #( lmod-6.6/configure:324: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( lmod-6.6/configure-325- *) as_qdir=$as_dir;; ############################################## lmod-6.6/configure-396- { lmod-6.6/configure:397: as_val=`expr "$@" || test $? -eq 1` lmod-6.6/configure-398- } ############################################## lmod-6.6/configure-403-# ---------------------------------------- lmod-6.6/configure:404:# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are lmod-6.6/configure-405-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the ############################################## lmod-6.6/configure-466- eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && lmod-6.6/configure:467: test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { lmod-6.6/configure-468- # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) ############################################## lmod-6.6/configure-779- case $ac_option in lmod-6.6/configure:780: *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; lmod-6.6/configure-781- *=) ac_optarg= ;; ############################################## lmod-6.6/configure-823- -disable-* | --disable-*) lmod-6.6/configure:824: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` lmod-6.6/configure-825- # Reject names that are not valid shell variable names. ############################################## lmod-6.6/configure-828- ac_useropt_orig=$ac_useropt lmod-6.6/configure:829: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` lmod-6.6/configure-830- case $ac_user_opts in ############################################## lmod-6.6/configure-849- -enable-* | --enable-*) lmod-6.6/configure:850: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` lmod-6.6/configure-851- # Reject names that are not valid shell variable names. ############################################## lmod-6.6/configure-854- ac_useropt_orig=$ac_useropt lmod-6.6/configure:855: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` lmod-6.6/configure-856- case $ac_user_opts in ############################################## lmod-6.6/configure-1053- -with-* | --with-*) lmod-6.6/configure:1054: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` lmod-6.6/configure-1055- # Reject names that are not valid shell variable names. ############################################## lmod-6.6/configure-1058- ac_useropt_orig=$ac_useropt lmod-6.6/configure:1059: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` lmod-6.6/configure-1060- case $ac_user_opts in ############################################## lmod-6.6/configure-1069- -without-* | --without-*) lmod-6.6/configure:1070: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` lmod-6.6/configure-1071- # Reject names that are not valid shell variable names. ############################################## lmod-6.6/configure-1074- ac_useropt_orig=$ac_useropt lmod-6.6/configure:1075: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` lmod-6.6/configure-1076- case $ac_user_opts in ############################################## lmod-6.6/configure-1107- *=*) lmod-6.6/configure:1108: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` lmod-6.6/configure-1109- # Reject names that are not valid shell variable names. ############################################## lmod-6.6/configure-1128-if test -n "$ac_prev"; then lmod-6.6/configure:1129: ac_option=--`echo $ac_prev | sed 's/_/-/g'` lmod-6.6/configure-1130- as_fn_error $? "missing argument to $ac_option" ############################################## lmod-6.6/configure-1150- */ ) lmod-6.6/configure:1151: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` lmod-6.6/configure-1152- eval $ac_var=\$ac_val;; ############################################## lmod-6.6/configure-1185-ac_ls_di=`ls -di .` && lmod-6.6/configure:1186:ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || lmod-6.6/configure-1187- as_fn_error $? "working directory cannot be determined" ############################################## lmod-6.6/configure-1241-case $srcdir in lmod-6.6/configure:1242:*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; lmod-6.6/configure-1243-esac ############################################## lmod-6.6/configure-1284-By default, \`make install' will install all the files in lmod-6.6/configure:1285:\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify lmod-6.6/configure:1286:an installation prefix other than \`$ac_default_prefix' using \`--prefix', lmod-6.6/configure-1287-for instance \`--prefix=\$HOME'. ############################################## lmod-6.6/configure-1404-*) lmod-6.6/configure:1405: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` lmod-6.6/configure-1406- # A ".." for each directory in $ac_dir_suffix. lmod-6.6/configure:1407: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` lmod-6.6/configure-1408- case $ac_top_builddir_sub in ############################################## lmod-6.6/configure-1578- *\'*) lmod-6.6/configure:1579: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; lmod-6.6/configure-1580- esac ############################################## lmod-6.6/configure-1661- case $ac_val in lmod-6.6/configure:1662: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; lmod-6.6/configure-1663- esac ############################################## lmod-6.6/configure-1676- case $ac_val in lmod-6.6/configure:1677: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; lmod-6.6/configure-1678- esac ############################################## lmod-6.6/configure-1796- set,) lmod-6.6/configure:1797: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 lmod-6.6/configure:1798:$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} lmod-6.6/configure-1799- ac_cache_corrupted=: ;; ############################################## lmod-6.6/configure-1807- # differences in whitespace do not lead to failure. lmod-6.6/configure:1808: ac_old_val_w=`echo x $ac_old_val` lmod-6.6/configure:1809: ac_new_val_w=`echo x $ac_new_val` lmod-6.6/configure-1810- if test "$ac_old_val_w" != "$ac_new_val_w"; then ############################################## lmod-6.6/configure-1827- case $ac_new_val in lmod-6.6/configure:1828: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; lmod-6.6/configure-1829- *) ac_arg=$ac_var=$ac_new_val ;; ############################################## lmod-6.6/configure-2201-$as_echo_n "checking whether the C compiler works... " >&6; } lmod-6.6/configure:2202:ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` lmod-6.6/configure-2203- ############################################## lmod-6.6/configure-2245- then :; else lmod-6.6/configure:2246: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` lmod-6.6/configure-2247- fi ############################################## lmod-6.6/configure-2305- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; lmod-6.6/configure:2306: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` lmod-6.6/configure-2307- break;; ############################################## lmod-6.6/configure-2414- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; lmod-6.6/configure:2415: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` lmod-6.6/configure-2416- break;; ############################################## lmod-6.6/configure-3513- lmod-6.6/configure:3514:if test "`basename $PATH_TO_HASHSUM`" = "md5" ; then lmod-6.6/configure-3515- PATH_TO_HASHSUM="$PATH_TO_HASHSUM -r" ############################################## lmod-6.6/configure-3710- if test ${luaprog:0:1} != '/' ; then lmod-6.6/configure:3711: d=`dirname $oldprog` lmod-6.6/configure-3712- luaprog="$d/$luaprog" lmod-6.6/configure-3713- CWD=`pwd` lmod-6.6/configure:3714: d=`dirname $luaprog` lmod-6.6/configure:3715: b=`basename $luaprog` lmod-6.6/configure-3716- cd $d ############################################## lmod-6.6/configure-3896- if test $? = 0; then lmod-6.6/configure:3897: LUA_INCLUDE=`$pkgConfig --cflags $i | sed -e 's/^-I//' -e 's/ //g'` lmod-6.6/configure-3898- break ############################################## lmod-6.6/configure-3992- lmod-6.6/configure:3993: ZSH_SITE_FUNCTIONS_DIRS=`$PATH_TO_ZSH -f ./conftest.zsh 2> /dev/null` lmod-6.6/configure-3994- ############################################## lmod-6.6/configure-4124-' lmod-6.6/configure:4125:DEFS=`sed -n "$ac_script" confdefs.h` lmod-6.6/configure-4126- ############################################## lmod-6.6/configure-4133- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' lmod-6.6/configure:4134: ac_i=`$as_echo "$ac_i" | sed "$ac_script"` lmod-6.6/configure-4135- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR ############################################## lmod-6.6/configure-4200-if test -z "$BASH_VERSION$ZSH_VERSION" \ lmod-6.6/configure:4201: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then lmod-6.6/configure-4202- as_echo='print -r --' lmod-6.6/configure-4203- as_echo_n='print -rn --' lmod-6.6/configure:4204:elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then lmod-6.6/configure-4205- as_echo='printf %s\n' ############################################## lmod-6.6/configure-4207-else lmod-6.6/configure:4208: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then lmod-6.6/configure-4209- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' ############################################## lmod-6.6/configure-4217- expr "X$arg" : "X\\(.*\\)$as_nl"; lmod-6.6/configure:4218: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; lmod-6.6/configure-4219- esac; ############################################## lmod-6.6/configure-4294-# ---------------------------------------- lmod-6.6/configure:4295:# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are lmod-6.6/configure-4296-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the ############################################## lmod-6.6/configure-4366- { lmod-6.6/configure:4367: as_val=`expr "$@" || test $? -eq 1` lmod-6.6/configure-4368- } ############################################## lmod-6.6/configure-4470- case $as_dir in #( lmod-6.6/configure:4471: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( lmod-6.6/configure-4472- *) as_qdir=$as_dir;; ############################################## lmod-6.6/configure-4592-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 lmod-6.6/configure:4593:ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" lmod-6.6/configure-4594-ac_cs_version="\\ ############################################## lmod-6.6/configure-4614- --*=?*) lmod-6.6/configure:4615: ac_option=`expr "X$1" : 'X\([^=]*\)='` lmod-6.6/configure:4616: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` lmod-6.6/configure-4617- ac_shift=: ############################################## lmod-6.6/configure-4619- --*=) lmod-6.6/configure:4620: ac_option=`expr "X$1" : 'X\([^=]*\)='` lmod-6.6/configure-4621- ac_optarg= ############################################## lmod-6.6/configure-4643- case $ac_optarg in lmod-6.6/configure:4644: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; lmod-6.6/configure-4645- '') as_fn_error $? "missing file argument" ;; ############################################## lmod-6.6/configure-4759-fi lmod-6.6/configure:4760:ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` lmod-6.6/configure-4761-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ############################################## lmod-6.6/configure-4776- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 lmod-6.6/configure:4777:ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` lmod-6.6/configure-4778-ac_delim='%!_!# ' ############################################## lmod-6.6/configure-4782- lmod-6.6/configure:4783: ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` lmod-6.6/configure-4784- if test $ac_delim_n = $ac_delim_num; then ############################################## lmod-6.6/configure-4944- esac lmod-6.6/configure:4945: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac lmod-6.6/configure-4946- as_fn_append ac_file_inputs " '$ac_f'" ############################################## lmod-6.6/configure-5003-*) lmod-6.6/configure:5004: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` lmod-6.6/configure-5005- # A ".." for each directory in $ac_dir_suffix. lmod-6.6/configure:5006: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` lmod-6.6/configure-5007- case $ac_top_builddir_sub in ############################################## lmod-6.6/configure-5055-/@mandir@/p' lmod-6.6/configure:5056:case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in lmod-6.6/configure-5057-*datarootdir*) ac_datarootdir_seen=yes;; ############################################## lmod-6.6/configure-5072- lmod-6.6/configure:5073:# Neutralize VPATH when `$srcdir' = `.'. lmod-6.6/configure-5074-# Shell code in configure.ac might set extrasub. ############################################## lmod-6.6/configure-5098-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && lmod-6.6/configure:5099: { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && lmod-6.6/configure-5100- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ ############################################## lmod-6.6/configure.ac-372-AC_PATH_PROGS(PATH_TO_HASHSUM, [sha1sum] [gsha1sum] [shasum] [md5sum] [gmd5sum] [md5], UNKNOWN) lmod-6.6/configure.ac:373:if test "`basename $PATH_TO_HASHSUM`" = "md5" ; then lmod-6.6/configure.ac-374- PATH_TO_HASHSUM="$PATH_TO_HASHSUM -r" ############################################## lmod-6.6/configure.ac-410- if test ${luaprog:0:1} != '/' ; then lmod-6.6/configure.ac:411: d=`dirname $oldprog` lmod-6.6/configure.ac-412- luaprog="$d/$luaprog" lmod-6.6/configure.ac-413- CWD=`pwd` lmod-6.6/configure.ac:414: d=`dirname $luaprog` lmod-6.6/configure.ac:415: b=`basename $luaprog` lmod-6.6/configure.ac-416- cd $d ############################################## lmod-6.6/configure.ac-554- if test $? = 0; then lmod-6.6/configure.ac:555: LUA_INCLUDE=`$pkgConfig --cflags $i | sed -e 's/^-I//' -e 's/ //g'` lmod-6.6/configure.ac-556- break ############################################## lmod-6.6/configure.ac-611- lmod-6.6/configure.ac:612: ZSH_SITE_FUNCTIONS_DIRS=`$PATH_TO_ZSH -f ./conftest.zsh 2> /dev/null` lmod-6.6/configure.ac-613- ############################################## lmod-6.6/contrib/RPMs/stampede.lmod.spec-197-set_shell_function("settarg", 'eval $($LMOD_SETTARG_CMD -s sh "$@")', lmod-6.6/contrib/RPMs/stampede.lmod.spec:198: 'eval `$LMOD_SETTARG_CMD -s csh $*`' ) lmod-6.6/contrib/RPMs/stampede.lmod.spec-199- ############################################## lmod-6.6/contrib/converting_shell_to_module_files/env2-172- # Dynamically use a script for another shell to set environment lmod-6.6/contrib/converting_shell_to_module_files/env2:173: eval `env2 -from ksh -to $SHELL -o setup.csh setup.ksh` lmod-6.6/contrib/converting_shell_to_module_files/env2-174- ############################################## lmod-6.6/contrib/converting_shell_to_module_files/env2-455- } elsif ($ishell =~ m/\bperl/) { lmod-6.6/contrib/converting_shell_to_module_files/env2:456: system("cp $ifile $efile"); lmod-6.6/contrib/converting_shell_to_module_files/env2-457- } elsif ($ishell =~ m/vim\b/) { ############################################## lmod-6.6/contrib/lmod_beta.csh-16- lmod-6.6/contrib/lmod_beta.csh:17:alias module 'eval `'$PKG_DIR/lmod/lmod/libexec/lmod' csh \!*`' lmod-6.6/contrib/lmod_beta.csh:18:alias ml 'eval `'$ML_DIR/ml_cmd' \!*`' lmod-6.6/contrib/lmod_beta.csh-19-alias getmt $PKG_DIR/lmod/lmod/libexec/getmt ############################################## lmod-6.6/docs/source/015_writing_modules.rst-313- local bashStr = 'eval $($LMOD_DIR/ml_cmd "$@")' lmod-6.6/docs/source/015_writing_modules.rst:314: local cshStr = "eval `$LMOD_DIR/ml_cmd $*`" lmod-6.6/docs/source/015_writing_modules.rst-315- set_shell_function("ml",bashStr,cshStr) ############################################## lmod-6.6/docs/source/020_advanced.rst-26- lmod-6.6/docs/source/020_advanced.rst:27:Suppose that the user creates a directory called ``$HOME/modulefiles`` lmod-6.6/docs/source/020_advanced.rst-28-and he wants a personal copy of the "git" package and he does the ############################################## lmod-6.6/docs/source/030_installing.rst-197-directory. These files are created assuming that your modulefiles are going to be lmod-6.6/docs/source/030_installing.rst:198:located in ``/apps/modulefiles/$LMOD_sys`` and lmod-6.6/docs/source/030_installing.rst:199:``/apps/modulefiles/Core``, where ``$LMOD_sys`` is what the lmod-6.6/docs/source/030_installing.rst-200-command "``uname``" reports, (e.g., Linux, Darwin). The layout of ############################################## lmod-6.6/docs/source/070_standard_modules.rst-5-the login procedure. Once a list of modulefiles have been installed, lmod-6.6/docs/source/070_standard_modules.rst:6:please create a file called ``StdEnv.lua`` and place it in the ``$MODULEPATH`` lmod-6.6/docs/source/070_standard_modules.rst-7-list of directories, typically ############################################## lmod-6.6/docs/source/160_debugging_modulefiles.rst-7- lmod-6.6/docs/source/160_debugging_modulefiles.rst:8:#. Use ``$LMOD_CMD bash load <module_file>`` to show what the text that lmod-6.6/docs/source/160_debugging_modulefiles.rst-9- Lmod is generating. ############################################## lmod-6.6/docs/source/190_Integration_of_EasyBuild_and_Lmod.rst-7- lmod-6.6/docs/source/190_Integration_of_EasyBuild_and_Lmod.rst:8:Here is an example of how to ensure that your users can choose to have (or not) the default directory of EasyBuild under home (``$HOME/.local/easybuild/modules/all``) in their ``$MODULEPATH``. Conveniently, by going this way users can save/restore environments via Lmod, at will. lmod-6.6/docs/source/190_Integration_of_EasyBuild_and_Lmod.rst-9- ############################################## lmod-6.6/docs/source/190_Integration_of_EasyBuild_and_Lmod.rst-12-#. user modulefiles generated via EasyBuild are easy to enable - less typing, too lmod-6.6/docs/source/190_Integration_of_EasyBuild_and_Lmod.rst:13:#. ``$MODULEPATH`` is managed via modulefiles in itself lmod-6.6/docs/source/190_Integration_of_EasyBuild_and_Lmod.rst:14:#. technique is compatible with ``$LMOD_SYSTEM_DEFAULT_MODULES`` feature lmod-6.6/docs/source/190_Integration_of_EasyBuild_and_Lmod.rst-15-#. ``ml save/restore`` work as desired ############################################## lmod-6.6/docs/source/190_Integration_of_EasyBuild_and_Lmod.rst-23- lmod-6.6/docs/source/190_Integration_of_EasyBuild_and_Lmod.rst:24:The two examples are visible below and are ready to be copied in respective filenames ``use.own.eb/append`` & ``use.own.eb/prepend``. Simply place both files in a directory of the existing ``$MODULEPATH`` and decide if you with to *append* or *prepend*: :: lmod-6.6/docs/source/190_Integration_of_EasyBuild_and_Lmod.rst-25- ############################################## lmod-6.6/init/csh.in-12-if ( $?histchars) then lmod-6.6/init/csh.in:13: set histchar = `echo $histchars | cut -c1` lmod-6.6/init/csh.in-14- if ( "$histchar" != '\!' ) then ############################################## lmod-6.6/init/csh.in-22-if ($?tcsh) then lmod-6.6/init/csh.in:23: alias module $prefix'eval `$LMOD_CMD csh '$midfix $histchar'*` '$postfix' eval `$LMOD_SETTARG_CMD -s csh`' lmod-6.6/init/csh.in-24-else lmod-6.6/init/csh.in:25: alias module $prefix'eval `$LMOD_CMD csh '$midfix $histchar'*` '$postfix lmod-6.6/init/csh.in-26-endif lmod-6.6/init/csh.in:27:alias clearMT 'eval `'$LMOD_DIR/clearMT_cmd csh'`' lmod-6.6/init/csh.in-28- lmod-6.6/init/csh.in:29:alias ml 'eval `'$LMOD_DIR/ml_cmd' '$histchar'*`' lmod-6.6/init/csh.in-30- ############################################## lmod-6.6/init/csh.in-43-if ( $?TERM && $?prompt && $?tcsh && "$LMOD_FULL_SETTARG_SUPPORT" != no ) then lmod-6.6/init/csh.in:44: alias cwdcmd 'eval `$LMOD_SETTARG_CMD -s csh`' lmod-6.6/init/csh.in-45- ############################################## lmod-6.6/init/cshrc.in-31- setenv MODULEPATH_ROOT "@modulepath_root@" lmod-6.6/init/cshrc.in:32: setenv MODULEPATH `@PKG@/libexec/addto --append MODULEPATH $MODULEPATH_ROOT/$LMOD_sys $MODULEPATH_ROOT/Core` lmod-6.6/init/cshrc.in-33- setenv MODULEPATH `@PKG@/libexec/addto --append MODULEPATH @PKG@/modulefiles/Core` ############################################## lmod-6.6/init/ksh.in-13-{ lmod-6.6/init/ksh.in:14: eval `$LMOD_CMD bash "$@"` lmod-6.6/init/ksh.in-15-} ############################################## lmod-6.6/init/sh.in-13-{ lmod-6.6/init/sh.in:14: eval `$LMOD_CMD bash "$@"` lmod-6.6/init/sh.in-15-} ############################################## lmod-6.6/init/tcsh.in-12-if ( $?histchars) then lmod-6.6/init/tcsh.in:13: set histchar = `echo $histchars | cut -c1` lmod-6.6/init/tcsh.in-14- if ( "$histchar" != '\!' ) then ############################################## lmod-6.6/init/tcsh.in-22-if ($?tcsh) then lmod-6.6/init/tcsh.in:23: alias module $prefix'eval `$LMOD_CMD csh '$midfix $histchar'*` '$postfix' eval `$LMOD_SETTARG_CMD -s csh`' lmod-6.6/init/tcsh.in-24-else lmod-6.6/init/tcsh.in:25: alias module $prefix'eval `$LMOD_CMD csh '$midfix $histchar'*` '$postfix lmod-6.6/init/tcsh.in-26-endif lmod-6.6/init/tcsh.in:27:alias clearMT 'eval `'$LMOD_DIR/clearMT_cmd csh'`' lmod-6.6/init/tcsh.in-28- lmod-6.6/init/tcsh.in:29:alias ml 'eval `'$LMOD_DIR/ml_cmd' '$histchar'*`' lmod-6.6/init/tcsh.in-30- ############################################## lmod-6.6/init/tcsh.in-43-if ( $?TERM && $?prompt && $?tcsh && "$LMOD_FULL_SETTARG_SUPPORT" != no ) then lmod-6.6/init/tcsh.in:44: alias cwdcmd 'eval `$LMOD_SETTARG_CMD -s csh`' lmod-6.6/init/tcsh.in-45- ############################################## lmod-6.6/init/profile.in-25- export LMOD_PREPEND_BLOCK=@prepend_block@ lmod-6.6/init/profile.in:26: MODULEPATH=`sed -n 's/[ #].*$//; /./H; $ { x; s/^\n//; s/\n/:/g; p; }' /etc/lmod/modulespath` lmod-6.6/init/profile.in-27- export MODULEPATH ############################################## lmod-6.6/my_docs/sea14/talk/talk.tex-219- \begin{itemize} lmod-6.6/my_docs/sea14/talk/talk.tex:220: \item {\color{blue}\texttt{alias module eval `\$LMOD\_CMD csh $\backslash$!*`}} lmod-6.6/my_docs/sea14/talk/talk.tex-221- \end{itemize} ############################################## lmod-6.6/rt/common_funcs.sh-53- numStep=$(($numStep+1)) lmod-6.6/rt/common_funcs.sh:54: NUM=`printf "%03d" $numStep` lmod-6.6/rt/common_funcs.sh-55- echo "===========================" > _stderr.$NUM ############################################## lmod-6.6/rt/common_funcs.sh-65- numStep=$(($numStep+1)) lmod-6.6/rt/common_funcs.sh:66: NUM=`printf "%03d" $numStep` lmod-6.6/rt/common_funcs.sh-67- "$@" > _stdout.$NUM 2>> _stderr.$NUM ############################################## lmod-6.6/rt/common_funcs.sh-72- runBase "$@" lmod-6.6/rt/common_funcs.sh:73: eval `cat _stdout.$NUM` lmod-6.6/rt/common_funcs.sh-74-} ############################################## lmod-6.6/rt/common_funcs.sh-77- runBase $LUA_EXEC $projectDir/src/lmod.in.lua bash --regression_testing "$@" lmod-6.6/rt/common_funcs.sh:78: eval `cat _stdout.$NUM` lmod-6.6/rt/common_funcs.sh-79-} ############################################## lmod-6.6/rt/common_funcs.sh-182- COUNT=0 lmod-6.6/rt/common_funcs.sh:183: ORIG_HOME=`(cd $HOME; /bin/pwd)` lmod-6.6/rt/common_funcs.sh-184- HOME=`/bin/pwd` ############################################## lmod-6.6/rt/common_funcs.sh-215- for ((i=1; i<=last; i++)); do lmod-6.6/rt/common_funcs.sh:216: num=`printf %03d $i` lmod-6.6/rt/common_funcs.sh-217- eval j="\$_ModuleTable${num}_" ############################################## lmod-6.6/rt/common_funcs.sh-234- for ((i=1; i<=last; i++)); do lmod-6.6/rt/common_funcs.sh:235: num=`printf %03d $i` lmod-6.6/rt/common_funcs.sh-236- eval j="\$_SettargTable${num}_" ############################################## lmod-6.6/rt/csh_swap/csh_swap.tdesc-35- lmod-6.6/rt/csh_swap/csh_swap.tdesc:36: setenv ORIG_HOME `(cd $HOME; /bin/pwd)` lmod-6.6/rt/csh_swap/csh_swap.tdesc-37- setenv HOME `pwd` ############################################## lmod-6.6/rt/csh_swap/mf/Core/ml/1.0.lua-1-local bashStr = 'eval $($LMOD_DIR/ml_cmd "$@")' lmod-6.6/rt/csh_swap/mf/Core/ml/1.0.lua:2:local cshStr = "eval `$LMOD_DIR/ml_cmd $*`" lmod-6.6/rt/csh_swap/mf/Core/ml/1.0.lua-3-set_shell_function("ml",bashStr,cshStr) ############################################## lmod-6.6/rt/csh_swap/out.txt-91-setenv _ModuleTable_ '_ModuleTable_={["activeSize"]=10,baseMpathA={"ProjectDIR/mf/Core","ProjectDIR/rt/csh_swap/mf/Core",},family={["MPI"]="openmpi",["compiler"]="gcc",},inactive={},mT={PrgEnv={["FN"]="ProjectDIR/mf/Core/PrgEnv.lua",["default"]=0,["fullName"]="PrgEnv",["loadOrder"]=5,propT={},["short"]="PrgEnv",["status"]="active",},admin={["FN"]="ProjectDIR/mf/Core/admin/admin-1.0.lua",["default"]=1,["fullName"]="admin/admin-1.0",["loadOrder"]=1,propT={},["short"]="admin",["status"]="active",},gcc={["FN"]="ProjectDIR/mf/Core/gcc/4.2.3.lua",["default"]=1,["fullName"]="gcc/4.2.3",["loadOrder"]=6,propT={},["short"]="gcc",["status"]="active",},["local"]={["FN"]="ProjectDIR/mf/Core/local/local.lua",["default"]=1,["fullName"]="local/local",["loadOrder"]=3,propT={},["short"]="local",["status"]="active",},minfo={["FN"]="ProjectDIR/rt/csh_swap/mf/Core/minfo/1.0",["default"]=1,["fullName"]="minfo/1.0",["loadOrder"]=10,propT={},["short"]="minfo",["status"]="active",},ml={["FN"]="ProjectDIR/rt/csh_swap/mf/Core/ml/1.0.lua",["default"]=1,["fullName"]="ml/1.0",["loadOrder"]=9,propT={},["short"]="ml",["status"]="active",},noweb={["FN"]="ProjectDIR/mf/Core/noweb/2.10c.lua",["default"]=1,["fullName"]="noweb/2.10c",["loadOrder"]=4,propT={},["short"]="noweb",["status"]="active",},openmpi={["FN"]="ProjectDIR/mf/Compiler/gcc/4.2.3/openmpi/1.2.6.lua",["default"]=1,["fullName"]="openmpi/1.2.6",["loadOrder"]=7,propT={},["short"]="openmpi",["status"]="active",},parmetis={["FN"]="ProjectDIR/mf/MPI/gcc/4.2.3/openmpi/1.2.6/parmetis/3.1.lua",["default"]=1,["fullName"]="parmetis/3.1",["loadOrder"]=8,propT={arch={["mic"]=1,},},["short"]="parmetis",["status"]="active",},unix={["FN"]="ProjectDIR/mf/Core/unix/unix.lua",["default"]=1,["fullName"]="unix/unix",["loadOrder"]=2,propT={},["short"]="unix",["status"]="active",},},mpathA={"ProjectDIR/mf/MPI/gcc/4.2.3/openmpi/1.2.6","ProjectDIR/mf/Compiler/gcc/4.2.3","ProjectDIR/mf/Core","ProjectDIR/rt/csh_swap/mf/Core",},["systemBaseMPATH"]="ProjectDIR/mf/Core:ProjectDIR/rt/csh_swap/mf/Core",["version"]=2,}'; lmod-6.6/rt/csh_swap/out.txt:92:alias ml 'eval `$LMOD_DIR/ml_cmd \!*`'; lmod-6.6/rt/csh_swap/out.txt-93-=========================== ############################################## lmod-6.6/rt/defaults/defaults.tdesc-25- COUNT=0 lmod-6.6/rt/defaults/defaults.tdesc:26: ORIG_HOME=`(cd $HOME; /bin/pwd)` lmod-6.6/rt/defaults/defaults.tdesc-27- HOME=`/bin/pwd` ############################################## lmod-6.6/rt/delcatty/delcatty.tdesc-25- COUNT=0 lmod-6.6/rt/delcatty/delcatty.tdesc:26: ORIG_HOME=`(cd $HOME; /bin/pwd)` lmod-6.6/rt/delcatty/delcatty.tdesc-27- HOME=`/bin/pwd` ############################################## lmod-6.6/rt/end2end/end2end.tdesc-25- COUNT=0 lmod-6.6/rt/end2end/end2end.tdesc:26: ORIG_HOME=`(cd $HOME; /bin/pwd)` lmod-6.6/rt/end2end/end2end.tdesc-27- HOME=`/bin/pwd` ############################################## lmod-6.6/rt/end2end/end2end.tdesc-33- runLmod --version # 1 lmod-6.6/rt/end2end/end2end.tdesc:34: LmodV=`$LUA_EXEC $projectDir/src/lmod.in.lua bash --dumpversion 2>&1` lmod-6.6/rt/end2end/end2end.tdesc-35- echo LmodV=$LmodV ############################################## lmod-6.6/rt/itac/itac.tdesc-23- COUNT=0 lmod-6.6/rt/itac/itac.tdesc:24: ORIG_HOME=`(cd $HOME; /bin/pwd)` lmod-6.6/rt/itac/itac.tdesc-25- HOME=`/bin/pwd` ############################################## lmod-6.6/rt/keyword/keyword.tdesc-23- export MODULEPATH lmod-6.6/rt/keyword/keyword.tdesc:24: ORIG_HOME=`(cd $HOME; pwd)` lmod-6.6/rt/keyword/keyword.tdesc-25- HOME=$(outputDir) ############################################## lmod-6.6/rt/ml/mf/Core/ml/1.0.lua-1-local bashStr = 'eval $($LMOD_DIR/ml_cmd "$@")' lmod-6.6/rt/ml/mf/Core/ml/1.0.lua:2:local cshStr = "eval `$LMOD_DIR/ml_cmd $*`" lmod-6.6/rt/ml/mf/Core/ml/1.0.lua-3-set_shell_function("ml",bashStr,cshStr) ############################################## lmod-6.6/rt/modulerc/modulerc.tdesc-23- COUNT=0 lmod-6.6/rt/modulerc/modulerc.tdesc:24: ORIG_HOME=`(cd $HOME; /bin/pwd)` lmod-6.6/rt/modulerc/modulerc.tdesc-25- HOME=`/bin/pwd` ############################################## lmod-6.6/rt/set_alias/mf/alias/1.0-3- lmod-6.6/rt/set_alias/mf/alias/1.0:4:set-alias module_alias {eval `$LMOD_DIR/lmod bash "$@"`} ############################################## lmod-6.6/rt/set_alias/mf/sfunc/1.0.lua-1-local bashStr = 'eval $($LMOD_DIR/ml_cmd "$@")' lmod-6.6/rt/set_alias/mf/sfunc/1.0.lua:2:local cshStr = "eval `$LMOD_DIR/ml_cmd $*`" lmod-6.6/rt/set_alias/mf/sfunc/1.0.lua-3-set_shell_function("ml",bashStr,cshStr) ############################################## lmod-6.6/rt/set_alias/out.txt-125-export _ModuleTable_; lmod-6.6/rt/set_alias/out.txt:126:alias module_alias='eval `$LMOD_DIR/lmod bash "$@"`'; ############################################## lmod-6.6/rt/settarg/mf/Core/settarg/1.0.lua-8-set_shell_function("settarg", 'eval $($LMOD_SETTARG_CMD --shell sh "$@")', lmod-6.6/rt/settarg/mf/Core/settarg/1.0.lua:9: 'eval `$LMOD_SETTARG_CMD --shell csh $*`') lmod-6.6/rt/settarg/mf/Core/settarg/1.0.lua-10- ############################################## lmod-6.6/rt/settarg/settarg_bash/err.txt-81-setenv("LMOD_SETTARG_CMD","lua ProjectDIR/settarg/settarg_cmd.in.lua") lmod-6.6/rt/settarg/settarg_bash/err.txt:82:set_shell_function("settarg","eval $($LMOD_SETTARG_CMD --shell sh "$@")","eval `$LMOD_SETTARG_CMD --shell csh $*`") lmod-6.6/rt/settarg/settarg_bash/err.txt-83-set_shell_function("dbg","settarg "$@" dbg","settarg $* dbg ") ############################################## lmod-6.6/rt/tabcompl/tabcompl.tdesc-45- T1=`EPOCH` lmod-6.6/rt/tabcompl/tabcompl.tdesc:46: RT=`echo "$T1 - $T0" | bc -q` lmod-6.6/rt/tabcompl/tabcompl.tdesc-47- echo "--%%-- Avail RT: $RT" > _stderr.orig ############################################## lmod-6.6/rt/tabcompl/tabcompl.tdesc-51- T1=`EPOCH` lmod-6.6/rt/tabcompl/tabcompl.tdesc:52: RT=`echo "$T1 - $T0" | bc -q` lmod-6.6/rt/tabcompl/tabcompl.tdesc-53- echo "--%%-- Load W/O cache RT: $RT" >> _stderr.orig ############################################## lmod-6.6/rt/tabcompl/tabcompl.tdesc-57- T1=`EPOCH` lmod-6.6/rt/tabcompl/tabcompl.tdesc:58: RT=`echo "$T1 - $T0" | bc -q` lmod-6.6/rt/tabcompl/tabcompl.tdesc-59- echo "--%%-- Load RT: $RT" >> _stderr.orig ############################################## lmod-6.6/settarg/bash.settarg-11-{ lmod-6.6/settarg/bash.settarg:12: eval `$SETTARG_CMD --shell sh $*` lmod-6.6/settarg/bash.settarg-13-} ############################################## lmod-6.6/settarg/csh.settarg:1:alias settarg 'eval `$CFDTOOLS/mk/settarg_cmd --shell csh \!*`' lmod-6.6/settarg/csh.settarg-2-alias dbg "settarg dbg \!*" ############################################## lmod-6.6/src/update_lmod_system_cache_files.in-232- debug "Cleaning up existing file ${LMOD_CACHE_TIMESTAMP_FILE}.new (if any)" lmod-6.6/src/update_lmod_system_cache_files.in:233: debug "ls -l \${LMOD_CACHE_TIMESTAMP_FILE}.new: `ls -l ${LMOD_CACHE_TIMESTAMP_FILE}.new 2> /dev/null`" lmod-6.6/src/update_lmod_system_cache_files.in-234- rm -f ${LMOD_CACHE_TIMESTAMP_FILE}.new ############################################## lmod-6.6/src/update_lmod_system_cache_files.in-255- cp -p $RST $OLD lmod-6.6/src/update_lmod_system_cache_files.in:256: debug "`ls -l $OLD`" lmod-6.6/src/update_lmod_system_cache_files.in-257- fi ############################################## lmod-6.6/tcl/modulecmd.tcl-1431- puts stdout " alias module 'unset histchars;set\ lmod-6.6/tcl/modulecmd.tcl:1432: _prompt=\"\$prompt\";eval `'$tclshbin' '$argv0' '$g_shell' \\!*`;set\ lmod-6.6/tcl/modulecmd.tcl-1433- histchars = \$_histchars; set prompt=\"\$_prompt\";unset\ ############################################## lmod-6.6/tcl/modulecmd.tcl-1441- puts stdout " alias module 'set _prompt=\"\$prompt\";set\ lmod-6.6/tcl/modulecmd.tcl:1442: prompt=\"\";eval `'$tclshbin' '$argv0' '$g_shell' \\!*`;set\ lmod-6.6/tcl/modulecmd.tcl-1443- prompt=\"\$_prompt\";unset _prompt'" lmod-6.6/tcl/modulecmd.tcl-1444- puts stdout " else" lmod-6.6/tcl/modulecmd.tcl:1445: puts stdout " alias module 'eval `'$tclshbin' '$argv0' '$g_shell' \\!*`'" lmod-6.6/tcl/modulecmd.tcl-1446- puts stdout " endif" ############################################## lmod-6.6/tcl/modulecmd.tcl-1449- sh { lmod-6.6/tcl/modulecmd.tcl:1450: puts stdout "module () { eval `'$tclshbin' '$argv0' '$g_shell' \$*`; } ;" lmod-6.6/tcl/modulecmd.tcl-1451- } ############################################## lmod-6.6/tcl/modulecmd.tcl-1456- puts stdout "sub module {" lmod-6.6/tcl/modulecmd.tcl:1457: puts stdout " eval `$tclshbin \$ENV{\'MODULESHOME\'}/modulecmd.tcl perl @_`;" lmod-6.6/tcl/modulecmd.tcl-1458- puts stdout " if(\$@) {" ############################################## lmod-6.6/tcl/modulecmd.tcl-1601- if {[file isfile $var]} { lmod-6.6/tcl/modulecmd.tcl:1602: puts stdout "system(\"$xrdb -merge $var\");" lmod-6.6/tcl/modulecmd.tcl-1603- } else { ############################################## lmod-6.6/tcl/modulecmd.tcl-1611- if {[file isfile $var]} { lmod-6.6/tcl/modulecmd.tcl:1612: puts stdout "os.popen('$xrdb -merge $var');" lmod-6.6/tcl/modulecmd.tcl-1613- } else { lmod-6.6/tcl/modulecmd.tcl-1614- set var [singleQuoteEscaped $var] lmod-6.6/tcl/modulecmd.tcl:1615: puts stdout "os.popen('$xrdb -merge').write('$var')" lmod-6.6/tcl/modulecmd.tcl-1616- } ############################################## lmod-6.6/debian/patches/set_modulespath-13-- export MODULEPATH=$(@PKG@/libexec/addto --append MODULEPATH @PKG@/modulefiles/Core) lmod-6.6/debian/patches/set_modulespath:14:+ MODULEPATH=`sed -n 's/[ #].*$//; /./H; $ { x; s/^\n//; s/\n/:/g; p; }' /etc/lmod/modulespath` lmod-6.6/debian/patches/set_modulespath-15-+ export MODULEPATH