cea-hpc / modules

Environment Modules: provides dynamic modification of a user's environment
http://modules.sourceforge.net/
GNU General Public License v2.0
695 stars 109 forks source link

When sourcing a file with "setenv" contents, it fails if there are trailing comments on the line #480

Closed keithmaw closed 1 year ago

keithmaw commented 1 year ago

When we use modules to source a standalone sourcefile, it fails if there are any trailing comments on a "setenv" line.

To Reproduce

Contents of a sourcefile:

setenv VAR value1 ## updated 10 May 2020

Contents of the module file

%Module1.0

source sourcefile

Result $ module load sourcer Loading sourcer Module ERROR: wrong # args: should be "setenv ?--set-if-undef? var val" while executing "setenv abcd efgh # test comment" (file "sourcefile" line 1) invoked from within "source sourcefile" (file "/users/kwilson/privatemodules/sourcer" line 13) Please contact root@localhost



### Expected behavior
setenv to run without failure

### Error and debugging information
DEBUG setState: cmdline set to '/cad/modules/linux_i/5.2.0/libexec/modulecmd.tcl tcsh ml sourcer --debug'
DEBUG setConf: tcl_ext_lib set to '/cad/modules/linux_i/5.2.0/lib/libtclenvmodules.so'
DEBUG Load Tcl extension library (/cad/modules/linux_i/5.2.0/lib/libtclenvmodules.so)
DEBUG setState: tcl_ext_lib_loaded set to '1'
DEBUG setConf: siteconfig set to '/cad/modules/linux_i/5.2.0/etc/siteconfig.tcl'
DEBUG sourceSiteConfig: Source site configuration (/cad/modules/linux_i/5.2.0/etc/siteconfig.tcl)
DEBUG setState: siteconfig_loaded set to '1'
DEBUG setConf: locked_configs set to ''
DEBUG setState: supported_shells set to 'sh bash ksh zsh csh tcsh fish cmd tcl perl python ruby lisp cmake r'
DEBUG setState: shell set to 'tcsh'
DEBUG setState: subcmd set to 'ml'
DEBUG setState: subcmd_args set to 'sourcer'
DEBUG setState: init_error_report set to '1'
DEBUG setConf: verbosity set to 'debug'
DEBUG setState: is_stderr_tty set to '1'
DEBUG setConf: term_background set to 'dark'
DEBUG setConf: colors set to 'hi=1:db=2:tr=2:se=2:er=91:wa=93:me=95:in=94:mp=1;94:di=94:al=96:va=93:sy=95:de=4:cm=92:aL=100:L=90;47:H=2:F=41:nF=43:S=46:sS=44:kL=30;48;5;109'
DEBUG setConf: color set to '1'
DEBUG setConf: pager set to ''
DEBUG setState: paginate set to '0'
DEBUG setState: report_format set to 'regular'
DEBUG setState: reportfd set to 'stderr'
DEBUG setState: timer set to '0'
DEBUG lappendState: modulefile appended with '{}'
DEBUG setConf: avail_indepth set to '1'
DEBUG setConf: search_match set to 'starts_with'
DEBUG parseModuleCommandArgs: (show_oneperline=0, show_mtime=0, show_filter=, search_filter=, search_match=starts_with, dump_state=0, addpath_pos=prepend, not_req=0, tag_list=, otherargs=sourcer)
DEBUG parseModuleCommandName: (command=sourcer, cmdvalid=0, cmdempty=0)
DEBUG setConf: advanced_version_spec set to '1'
DEBUG setConf: variant_shortcut set to ''
DEBUG setModuleVersSpec: Set module 'sourcer' (escglob 'sourcer'),  module name '.' (re '\.'), module root 'sourcer', version cmp 'eq', version(s) '', variant(s) '' and module name version spec 'sourcer' for argument 'sourcer' (raw 'sourcer')
DEBUG parseModuleCommandArgs: (show_oneperline=0, show_mtime=0, show_filter=, search_filter=, search_match=starts_with, dump_state=0, addpath_pos=prepend, not_req=0, tag_list=, otherargs=sourcer)
DEBUG lappendState: always_read_full_file appended with '1'
DEBUG lappendState: commandname appended with 'ml'
DEBUG setState: rc_running set to '1'
DEBUG unsetState: rc_running unset
DEBUG pushSettings: settings saved (#1)
DEBUG cmdModuleLoad: loading sourcer (context=load, uasked=1, tryload=0, loadany=0)
DEBUG lappendState: mode appended with 'load'
DEBUG getPathToModule: finding 'sourcer' in '' (report_issue=1, look_loaded=no, excdir='')
DEBUG setState: is_win set to '0'
DEBUG setState: path_separator set to ':'
DEBUG resolvStringWithEnv: '/cad/modules/linux_i/5.2.0/modulefiles' resolved to '/cad/modules/linux_i/5.2.0/modulefiles'
DEBUG setState: cwd set to '/users/kwilson'
DEBUG resolvStringWithEnv: '/cad/modules/modulefiles/everything.v4/eda' resolved to '/cad/modules/modulefiles/everything.v4/eda'
DEBUG resolvStringWithEnv: '/cad/modules/modulefiles/everything.v4/generic' resolved to '/cad/modules/modulefiles/everything.v4/generic'
DEBUG resolvStringWithEnv: '/cad/modules/modulefiles/everything.v4/system' resolved to '/cad/modules/modulefiles/everything.v4/system'
DEBUG resolvStringWithEnv: '/sync/rmirror/corpeng/ddm' resolved to '/sync/rmirror/corpeng/ddm'
DEBUG resolvStringWithEnv: '/sync/rmirror/corpeng/dft' resolved to '/sync/rmirror/corpeng/dft'
DEBUG resolvStringWithEnv: '/users/kwilson/privatemodules' resolved to '/users/kwilson/privatemodules'
DEBUG resolvStringWithEnv: '/cad/tools/modulefiles/everything.v3' resolved to '/cad/tools/modulefiles/everything.v3'
DEBUG setConf: icase set to 'search'
DEBUG setConf: extended_default set to '1'
DEBUG setConf: implicit_default set to '1'
DEBUG getModules: get 'sourcer' in /cad/modules/linux_i/5.2.0/modulefiles (fetch_mtime=0, search=rc_defs_included resolve, filter=)
DEBUG findModules: finding 'sourcer' in /cad/modules/linux_i/5.2.0/modulefiles (depthlvl=0, fetch_mtime=0)
DEBUG setConf: ignored_dirs set to 'CVS RCS SCCS .svn .git .SYNC .sos'
DEBUG findModules: found 
DEBUG findModules: create cache entry '/cad/modules/linux_i/5.2.0/modulefiles:sourcer:0:0'
DEBUG setState: inhibit_errreport set to '0'
Get modules: {} matching 'sourcer' in '/cad/modules/linux_i/5.2.0/modulefiles'
DEBUG getModules: create cache entry '/cad/modules/linux_i/5.2.0/modulefiles:sourcer:0:rc_defs_included resolve:'
DEBUG getModules: get 'sourcer' in /cad/modules/modulefiles/everything.v4/eda (fetch_mtime=0, search=rc_defs_included resolve, filter=)
DEBUG findModules: finding 'sourcer' in /cad/modules/modulefiles/everything.v4/eda (depthlvl=0, fetch_mtime=0)
DEBUG findModules: found 
DEBUG findModules: create cache entry '/cad/modules/modulefiles/everything.v4/eda:sourcer:0:0'
Get modules: {} matching 'sourcer' in '/cad/modules/modulefiles/everything.v4/eda'
DEBUG getModules: create cache entry '/cad/modules/modulefiles/everything.v4/eda:sourcer:0:rc_defs_included resolve:'
DEBUG getModules: get 'sourcer' in /cad/modules/modulefiles/everything.v4/generic (fetch_mtime=0, search=rc_defs_included resolve, filter=)
DEBUG findModules: finding 'sourcer' in /cad/modules/modulefiles/everything.v4/generic (depthlvl=0, fetch_mtime=0)
DEBUG findModules: found 
DEBUG findModules: create cache entry '/cad/modules/modulefiles/everything.v4/generic:sourcer:0:0'
Get modules: {} matching 'sourcer' in '/cad/modules/modulefiles/everything.v4/generic'
DEBUG getModules: create cache entry '/cad/modules/modulefiles/everything.v4/generic:sourcer:0:rc_defs_included resolve:'
DEBUG getModules: get 'sourcer' in /cad/modules/modulefiles/everything.v4/system (fetch_mtime=0, search=rc_defs_included resolve, filter=)
DEBUG findModules: finding 'sourcer' in /cad/modules/modulefiles/everything.v4/system (depthlvl=0, fetch_mtime=0)
DEBUG findModules: found 
DEBUG findModules: create cache entry '/cad/modules/modulefiles/everything.v4/system:sourcer:0:0'
Get modules: {} matching 'sourcer' in '/cad/modules/modulefiles/everything.v4/system'
DEBUG getModules: create cache entry '/cad/modules/modulefiles/everything.v4/system:sourcer:0:rc_defs_included resolve:'
DEBUG getModules: get 'sourcer' in /sync/rmirror/corpeng/ddm (fetch_mtime=0, search=rc_defs_included resolve, filter=)
DEBUG findModules: finding 'sourcer' in /sync/rmirror/corpeng/ddm (depthlvl=0, fetch_mtime=0)
DEBUG findModules: found 
DEBUG findModules: create cache entry '/sync/rmirror/corpeng/ddm:sourcer:0:0'
Get modules: {} matching 'sourcer' in '/sync/rmirror/corpeng/ddm'
DEBUG getModules: create cache entry '/sync/rmirror/corpeng/ddm:sourcer:0:rc_defs_included resolve:'
DEBUG getModules: get 'sourcer' in /sync/rmirror/corpeng/dft (fetch_mtime=0, search=rc_defs_included resolve, filter=)
DEBUG findModules: finding 'sourcer' in /sync/rmirror/corpeng/dft (depthlvl=0, fetch_mtime=0)
DEBUG findModules: found 
DEBUG findModules: create cache entry '/sync/rmirror/corpeng/dft:sourcer:0:0'
Get modules: {} matching 'sourcer' in '/sync/rmirror/corpeng/dft'
DEBUG getModules: create cache entry '/sync/rmirror/corpeng/dft:sourcer:0:rc_defs_included resolve:'
DEBUG getModules: get 'sourcer' in /users/kwilson/privatemodules (fetch_mtime=0, search=rc_defs_included resolve, filter=)
DEBUG findModules: finding 'sourcer' in /users/kwilson/privatemodules (depthlvl=0, fetch_mtime=0)
DEBUG setConf: mcookie_check set to 'always'
DEBUG setConf: mcookie_version_check set to '1'
DEBUG findModules: found sourcer
DEBUG findModules: create cache entry '/users/kwilson/privatemodules:sourcer:0:0'
DEBUG setState: hiding_threshold set to '0'
Get modules: {sourcer} matching 'sourcer' in '/users/kwilson/privatemodules'
DEBUG getModules: create cache entry '/users/kwilson/privatemodules:sourcer:0:rc_defs_included resolve:'
DEBUG getEqArrayKey: key 'sourcer' in array 'mod_list' matches 'sourcer'
Select module: 'sourcer' (/users/kwilson/privatemodules/sourcer) matching 'sourcer'
DEBUG lappendState: evalid appended with 'load-sourcer-0'
DEBUG lappendState: msgrecordid appended with 'load-sourcer-0'
DEBUG setConf: unload_match_order set to 'returnlast'
DEBUG setState: lm_info_cached set to '1'
DEBUG setState: sub1_separator set to '&'
DEBUG setState: sub2_separator set to '|'
DEBUG doesModuleConflict: 'use.own' conflicts with '' (declared as '')
DEBUG setModuleDependency: set requirements of 'use.own' to ''
DEBUG setModuleDependency: set NPO requirements of 'use.own' to ''
DEBUG doesModuleConflict: 'modules' conflicts with '' (declared as '')
DEBUG setModuleDependency: set requirements of 'modules' to ''
DEBUG setModuleDependency: set NPO requirements of 'modules' to ''
DEBUG cacheCurrentModules: 2 loaded
DEBUG getLoadedMatchingName: '' matches 'sourcer'
DEBUG pushSettings: settings saved (#2)
DEBUG setConf: auto_handling set to '1'
DEBUG doesModuleConflict: 'sourcer' conflicts with '' (declared as '')
DEBUG getDependentLoadedModuleList: get loaded mod dependent of '' (strong=0, direct=0, nporeq=0, loading=0, sat_constraint=1, being_unload=0)
DEBUG getDependentLoadedModuleList: got ''
DEBUG getUnmetDependentLoadedModuleList: got ''
DEBUG cmdModuleLoad: depre mod list is ''
DEBUG lappendState: modulefile appended with '/users/kwilson/privatemodules/sourcer'
DEBUG lappendState: modulename appended with 'sourcer'
DEBUG lappendState: modulenamevr appended with 'sourcer'
DEBUG lappendState: specifiedname appended with 'sourcer'
DEBUG [#1:load:sourcer] lappendState: debug_msg_prefix appended with '{[#1:load:sourcer] }'
DEBUG [#1:load:sourcer] setState: inhibit_interp set to '0'
DEBUG [#1:load:sourcer] execute-modulefile: creating interp __modfile_load_1_1
DEBUG [#1:load:sourcer] dumpInterpState: saving for __modfile var tcl_version
DEBUG [#1:load:sourcer] dumpInterpState: saving for __modfile var tcl_interactive
DEBUG [#1:load:sourcer] dumpInterpState: saving for __modfile var ModuleToolVersion
DEBUG [#1:load:sourcer] dumpInterpState: saving for __modfile var ModuleTool
DEBUG [#1:load:sourcer] dumpInterpState: saving for __modfile var auto_path
DEBUG [#1:load:sourcer] dumpInterpState: saving for __modfile var tcl_pkgPath
DEBUG [#1:load:sourcer] dumpInterpState: saving for __modfile var tcl_patchLevel
DEBUG [#1:load:sourcer] dumpInterpState: saving for __modfile var tcl_platform
DEBUG [#1:load:sourcer] dumpInterpState: saving for __modfile var tcl_library
DEBUG [#1:load:sourcer] dumpInterpState: saving for __modfile proc list auto_load unknown tclLog auto_qualify auto_execok auto_import auto_load_index
DEBUG [#1:load:sourcer] resetInterpState: saving for __modfile_load_1_1 command list module-version tell socket subst conflict open eof add-property pwd glob list module-hide pid exec auto_load_index time unknown eval module-forbid lassign lrange append-path module-user module-virtual reportWarning is-loaded fblocked lsearch auto_import gets report case lappend proc throw setenv break reportTraceExecEnter variable llength module-info set-function prereq auto_execok extensions return linsert is-used error catch clock info split variant readModuleContent array if fconfigure coroutine concat join lreplace source fcopy global switch isVerbosityLevel auto_qualify update prereq-any module-log reportError unset-alias close reportCmdTrace cd for auto_load file append lreverse source-sh getenv format lmap unload read package set namespace binary scan always-load versioncmp apply module-tag raiseErrorCount trace remove-property unsetenv seek complete zlib while isWin chan flush after vwait is-saved dict getvariant system uplevel continue is-avail require-fullname try remove-path foreach lset rename pushenv chdir fileevent yieldto module-whatis regexp uncomplete module-alias x-resource lrepeat upvar tailcall formatErrStackTrace reportInternalBug encoding expr unset prepend-path load regsub module-trace module-verbosity unset-function exit family interp set-alias _puts puts incr lindex lsort prereq-all depends-on tclLog uname module string yield
DEBUG [#1:load:sourcer] execute-modulefile: readModuleContent /users/kwilson/privatemodules/sourcer 1
DEBUG [#1:load:sourcer] execute-modulefile: setenv abcd efgh # test comment
DEBUG [#1:load:sourcer] setConf: contact set to 'root@localhost'
DEBUG [#1:load:sourcer] setState: error_count set to '0'
DEBUG [#1:load:sourcer] setState: error_count set to '1'
DEBUG [#1:load:sourcer] execute-modulefile: exiting /users/kwilson/privatemodules/sourcer
DEBUG setState: debug_msg_prefix set to ''
DEBUG setState: specifiedname set to ''
DEBUG setState: modulename set to ''
DEBUG setState: modulenamevr set to ''
DEBUG setState: modulefile set to '{}'
DEBUG interp-sync-env: set var='::env(LS_COLORS)', val='rs=0:di=38;5;33:ln=38;5;51:mh=00:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=01;05;37;41:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;40:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.zst=38;5;9:*.tzst=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.wim=38;5;9:*.swm=38;5;9:*.dwm=38;5;9:*.esd=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.mjpg=38;5;13:*.mjpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.m4a=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.oga=38;5;45:*.opus=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(HOME)', val='/users/kwilson' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(LANG)', val='en_US.UTF-8' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(CDC_LOCALHOST)', val='slsrvetxc-08.diasemi.com' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(__MODULES_SHARE_MODULEPATH)', val=':1' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(MODULE_VERSION)', val='5.2.0' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(LOGNAME)', val='kwilson' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(HISTSIZE)', val='1000' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(DKIT)', val='/cad/dkit' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(LSF_BINDIR)', val='/cad/lsf/10.1/linux3.10-glibc2.17-x86_64/bin' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(MGLS_LICENSE_FILE)', val='1717@klcg02,1717@klcg03,1717@klcg01:1717@mlcg02,1717@mlcg03,1717@mlcg01:1717@cadlic14' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(__MODULES_SHARE_PATH)', val='/cad/modules/linux_i/5.2.0/bin:2' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(BASH_FUNC_which%%)', val='() {  ( alias;
 eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot "$@"
}' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(HOST)', val='slsrvetxc-08' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(MODULES_PAGER)', val='' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(SHELL)', val='/bin/tcsh' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(DialogLocation)', val='Slough' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(SNPSLMD_LICENSE_FILE)', val='1102@klcg02,1102@klcg03,1102@klcg01:1102@mlcg02,1102@mlcg03,1102@mlcg01:27001@cadlic10' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(XDG_SESSION_ID)', val='4394' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(__MODULES_LMINIT)', val='module use --append /cad/modules/linux_i/5.2.0/modulefiles' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(MACHTYPE)', val='x86_64' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(OSTYPE)', val='linux' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(XDG_MENU_PREFIX)', val='xfce-' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(DLG_AMS_SIMEXECNAME)', val='/cad/bin/ams_wrapper.lsf' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(LBS_BASE_SYSTEM)', val='LBS_LSF' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(MODULES_VERBOSITY)', val='concise' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(USER)', val='kwilson' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(LSB_BJOBS_FORMAT)', val='JOBID:7 USER:8 STAT:5 QUEUE:10 FROM_HOST:13 EXEC_HOST:13 NALLOC_SLOT:2 JOB_NAME:10 SUBMIT_TIME:12' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(MANPATH)', val='/cad/lsf/10.1/man:/cad/modules/linux_i/5.2.0/share/man:/usr/share/man:/usr/local/share/man:/opt/dell/srvadmin/share/man:/opt/puppetlabs/puppet/share/man' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(XDG_CONFIG_DIRS)', val='/etc/xdg' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(KRB5CCNAME)', val='FILE:/tmp/krb5cc_23196_39096' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(PERL_MODULECMD)', val='/cad/modules/linux_i/5.2.0/bin/modulecmd' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(MODULES_CMD)', val='/cad/modules/linux_i/5.2.0/libexec/modulecmd.tcl' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(MODULES_AVAIL_OUTPUT)', val='modulepath' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(DESKTOP_SESSION)', val='xfce' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(SESSION_MANAGER)', val='local/unix:@/tmp/.ICE-unix/1553833,unix/unix:/tmp/.ICE-unix/1553833' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(KDEDIRS)', val='/usr' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(COLORTERM)', val='truecolor' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(DBUS_SESSION_BUS_ADDRESS)', val='unix:path=/run/user/23196/bus' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(CDS_LIC_FILE)', val='5280@cadlic5:5280@cadlic11:5280@klcg02,5280@klcg03,5280@klcg01:5280@mlcg02,5280@mlcg03,5280@mlcg01' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(SHLVL)', val='3' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(LSF_SERVERDIR)', val='/cad/lsf/10.1/linux3.10-glibc2.17-x86_64/etc' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(MODULEPATH)', val='/cad/modules/linux_i/5.2.0/modulefiles:/cad/modules/modulefiles/everything.v4/eda:/cad/modules/modulefiles/everything.v4/generic:/cad/modules/modulefiles/everything.v4/system:/sync/rmirror/corpeng/ddm:/sync/rmirror/corpeng/dft::/users/kwilson/privatemodules:/cad/tools/modulefiles/everything.v3' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(PLATFORM)', val='linux_i' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(CDC_JOINED_ZONE)', val='OU=Engineering,OU=Diasemi,OU=Zones,OU=Unix,OU=Global,DC=diasemi,DC=com' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(PATH)', val='/cad/tools/wrappers:/cad/lsf/10.1/linux3.10-glibc2.17-x86_64/etc:/cad/lsf/10.1/linux3.10-glibc2.17-x86_64/bin:/cad/modules/linux_i/5.2.0/bin:/cad/tools/toolbox/lsfUtils/LATEST/wrappers:/usr/share/centrifydc/bin:/usr/share/centrifydc/kerberos/bin:/bin:/usr/bin:/usr/sbin:/cad/sync:/ip/bin:/cad/bin:/users/kwilson/bin:.' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(COMMON_MODULE_FUNCTIONS)', val='/cad/modules/linux_i/common/commonModuleFunctions' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(RHEL_VER)', val='8' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(XSTART_RUNTIME_DIR)', val='/users/kwilson' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(_)', val='/bin/exo-open' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(LD_LIBRARY_PATH)', val='/cad/lsf/10.1/linux3.10-glibc2.17-x86_64/lib:/lib:/lib64:/usr/lib:/usr/lib64' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(DialogLocationShort)', val='sl' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(LESSOPEN)', val='||/usr/bin/lesspipe.sh %s' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(HISTCONTROL)', val='ignoredups' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(LOADEDMODULES)', val='use.own:modules' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(MODULESHOME)', val='/cad/modules/linux_i/5.2.0' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(XMODIFIERS)', val='@im=none' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(CDS_AUTO_64BIT)', val='virtuoso:simvision:INCA:df2zparse:strmin:strmout:vmanager' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(DLG_LIC_SETUP_VER)', val='3.0' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(LOCALDISK_SELECTION)', val='enabled' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(PWD)', val='/users/kwilson' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(PROJ_SCRIPT_DIR)', val='/projects/cad/members/kwilson/proj_pkg/release/proj/v1.12.1' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(MODULE_PLAT)', val='linux_i' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(DIA_SECONDARY_DATA)', val='/simulated/scratch' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(DISPLAY)', val='slsrvetxc-08:47.0' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(VENDOR)', val='unknown' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(CDC_JOINED_DC)', val='slsrvdc-02v.diasemi.com' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(CDC_JOINED_DOMAIN)', val='diasemi.com' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(DLG_SIM_LOG_GATHER)', val='/cad/var/log/simulation_logs' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(TCP_NODELAY)', val='1' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(MODULES_IMPLICIT_REQUIREMENT)', val='0' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(LSF_ENVDIR)', val='/cad/lsf/conf' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(MODULES_LIST_OUTPUT)', val='header:idx' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(WINDOWID)', val='40616002' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(HOSTNAME)', val='slsrvetxc-08' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(USER_PRINCIPAL_NAME)', val='kwilson@DIASEMI.COM' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(SSH_AGENT_PID)', val='1553904' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(INFOPATH)', val='/usr/share/info' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(LSF_LIBDIR)', val='/cad/lsf/10.1/linux3.10-glibc2.17-x86_64/lib' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(_LMFILES_)', val='/cad/modules/linux_i/5.2.0/modulefiles/use.own:/cad/modules/linux_i/5.2.0/modulefiles/modules' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(DLG_SPECTRE_SIMEXECNAME)', val='/cad/bin/spectre_wrapper.lsf' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(CDC_PREW2KHOST)', val='slsrvetxc-08' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(MAIL)', val='/var/spool/mail/kwilson' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(S_COLORS)', val='auto' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(VTE_VERSION)', val='5204' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(CORPENG_MENUS)', val='/sync/rmirror/corpeng/Menus' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(GROUP)', val='dlgusers' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(DA_SESSION_ID_AUTH)', val='c6b559c9-6834-5b49-8b9d-87995393ac33' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(XDG_DATA_DIRS)', val='/users/kwilson/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/usr/share' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(CORPENG)', val='/sync/rmirror/corpeng' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(GRID)', val='lsf' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(DEV_PROJ_VERSION)', val='/projects/cad/members/kwilson/proj_pkg/release/proj/v1.12.1' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(SSH_AUTH_SOCK)', val='/tmp/ssh-XXXXXX698ylX/agent.1553902' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(VERPLEX_LICENSE_FILE)', val='5280@cadlic11:5280@klcg02,5280@klcg03,5280@klcg01:5280@mlcg02,5280@mlcg03,5280@mlcg01' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(TERM)', val='xterm-256color' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(HOSTTYPE)', val='x86_64-linux' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(__MODULES_SHARE_MANPATH)', val='/cad/modules/linux_i/5.2.0/share/man:2' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(CDS_LIC_PID_ON)', val='1' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(which_declare)', val='declare -f' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(XDG_RUNTIME_DIR)', val='/run/user/23196' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(DIACSHRC_SOURCED)', val='t' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(CDC_JOINED_SITE)', val='SLOUGH' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(XDG_CURRENT_DESKTOP)', val='XFCE' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(PERL5LIB)', val='/cad/tools/toolbox/cadtools_common/LATEST/lib' on interp(s) __modfile_load_1_1
DEBUG restoreSettings: previously saved settings restored (#2)
DEBUG popSettings: previously saved settings flushed (#2)
DEBUG setConf: tag_abbrev set to 'auto-loaded=aL:loaded=L:hidden=H:hidden-loaded=H:forbidden=F:nearly-forbidden=nF:sticky=S:super-sticky=sS:keep-loaded=kL'
DEBUG setConf: tag_color_name set to ''
DEBUG setConf: term_width set to '0'
DEBUG setState: term_columns set to '80'
DEBUG unsetState: report_sep_next unset

DEBUG setState: report_sep_next set to '1'
Loading sourcer
  Evaluate modulefile: '/users/kwilson/privatemodules/sourcer' as 'sourcer'
  Module ERROR: wrong # args: should be "setenv ?--set-if-undef? var val"
        while executing
    "setenv abcd efgh # test comment"
        (file "sourcefile" line 1)
        invoked from within
    "source sourcefile"
        (file "/users/kwilson/privatemodules/sourcer" line 13)
    Please contact <root@localhost>
DEBUG unsetState: report_sep_next unset

DEBUG setState: report_sep_next set to '1'
DEBUG setState: evalid set to ''
DEBUG setState: msgrecordid set to ''
DEBUG setState: mode set to ''
DEBUG interp-sync-env: set var='::env(LS_COLORS)', val='rs=0:di=38;5;33:ln=38;5;51:mh=00:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=01;05;37;41:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;40:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.zst=38;5;9:*.tzst=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.wim=38;5;9:*.swm=38;5;9:*.dwm=38;5;9:*.esd=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.mjpg=38;5;13:*.mjpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.m4a=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.oga=38;5;45:*.opus=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(HOME)', val='/users/kwilson' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(LANG)', val='en_US.UTF-8' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(CDC_LOCALHOST)', val='slsrvetxc-08.diasemi.com' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(__MODULES_SHARE_MODULEPATH)', val=':1' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(MODULE_VERSION)', val='5.2.0' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(LOGNAME)', val='kwilson' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(HISTSIZE)', val='1000' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(DKIT)', val='/cad/dkit' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(LSF_BINDIR)', val='/cad/lsf/10.1/linux3.10-glibc2.17-x86_64/bin' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(MGLS_LICENSE_FILE)', val='1717@klcg02,1717@klcg03,1717@klcg01:1717@mlcg02,1717@mlcg03,1717@mlcg01:1717@cadlic14' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(__MODULES_SHARE_PATH)', val='/cad/modules/linux_i/5.2.0/bin:2' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(BASH_FUNC_which%%)', val='() {  ( alias;
 eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot "$@"
}' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(HOST)', val='slsrvetxc-08' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(MODULES_PAGER)', val='' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(SHELL)', val='/bin/tcsh' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(DialogLocation)', val='Slough' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(SNPSLMD_LICENSE_FILE)', val='1102@klcg02,1102@klcg03,1102@klcg01:1102@mlcg02,1102@mlcg03,1102@mlcg01:27001@cadlic10' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(XDG_SESSION_ID)', val='4394' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(__MODULES_LMINIT)', val='module use --append /cad/modules/linux_i/5.2.0/modulefiles' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(MACHTYPE)', val='x86_64' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(OSTYPE)', val='linux' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(XDG_MENU_PREFIX)', val='xfce-' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(DLG_AMS_SIMEXECNAME)', val='/cad/bin/ams_wrapper.lsf' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(LBS_BASE_SYSTEM)', val='LBS_LSF' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(MODULES_VERBOSITY)', val='concise' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(USER)', val='kwilson' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(LSB_BJOBS_FORMAT)', val='JOBID:7 USER:8 STAT:5 QUEUE:10 FROM_HOST:13 EXEC_HOST:13 NALLOC_SLOT:2 JOB_NAME:10 SUBMIT_TIME:12' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(MANPATH)', val='/cad/lsf/10.1/man:/cad/modules/linux_i/5.2.0/share/man:/usr/share/man:/usr/local/share/man:/opt/dell/srvadmin/share/man:/opt/puppetlabs/puppet/share/man' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(XDG_CONFIG_DIRS)', val='/etc/xdg' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(KRB5CCNAME)', val='FILE:/tmp/krb5cc_23196_39096' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(PERL_MODULECMD)', val='/cad/modules/linux_i/5.2.0/bin/modulecmd' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(MODULES_CMD)', val='/cad/modules/linux_i/5.2.0/libexec/modulecmd.tcl' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(MODULES_AVAIL_OUTPUT)', val='modulepath' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(DESKTOP_SESSION)', val='xfce' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(SESSION_MANAGER)', val='local/unix:@/tmp/.ICE-unix/1553833,unix/unix:/tmp/.ICE-unix/1553833' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(KDEDIRS)', val='/usr' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(COLORTERM)', val='truecolor' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(DBUS_SESSION_BUS_ADDRESS)', val='unix:path=/run/user/23196/bus' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(CDS_LIC_FILE)', val='5280@cadlic5:5280@cadlic11:5280@klcg02,5280@klcg03,5280@klcg01:5280@mlcg02,5280@mlcg03,5280@mlcg01' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(SHLVL)', val='3' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(LSF_SERVERDIR)', val='/cad/lsf/10.1/linux3.10-glibc2.17-x86_64/etc' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(MODULEPATH)', val='/cad/modules/linux_i/5.2.0/modulefiles:/cad/modules/modulefiles/everything.v4/eda:/cad/modules/modulefiles/everything.v4/generic:/cad/modules/modulefiles/everything.v4/system:/sync/rmirror/corpeng/ddm:/sync/rmirror/corpeng/dft::/users/kwilson/privatemodules:/cad/tools/modulefiles/everything.v3' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(PLATFORM)', val='linux_i' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(CDC_JOINED_ZONE)', val='OU=Engineering,OU=Diasemi,OU=Zones,OU=Unix,OU=Global,DC=diasemi,DC=com' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(PATH)', val='/cad/tools/wrappers:/cad/lsf/10.1/linux3.10-glibc2.17-x86_64/etc:/cad/lsf/10.1/linux3.10-glibc2.17-x86_64/bin:/cad/modules/linux_i/5.2.0/bin:/cad/tools/toolbox/lsfUtils/LATEST/wrappers:/usr/share/centrifydc/bin:/usr/share/centrifydc/kerberos/bin:/bin:/usr/bin:/usr/sbin:/cad/sync:/ip/bin:/cad/bin:/users/kwilson/bin:.' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(COMMON_MODULE_FUNCTIONS)', val='/cad/modules/linux_i/common/commonModuleFunctions' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(RHEL_VER)', val='8' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(XSTART_RUNTIME_DIR)', val='/users/kwilson' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(_)', val='/bin/exo-open' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(LD_LIBRARY_PATH)', val='/cad/lsf/10.1/linux3.10-glibc2.17-x86_64/lib:/lib:/lib64:/usr/lib:/usr/lib64' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(DialogLocationShort)', val='sl' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(LESSOPEN)', val='||/usr/bin/lesspipe.sh %s' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(HISTCONTROL)', val='ignoredups' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(LOADEDMODULES)', val='use.own:modules' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(MODULESHOME)', val='/cad/modules/linux_i/5.2.0' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(XMODIFIERS)', val='@im=none' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(CDS_AUTO_64BIT)', val='virtuoso:simvision:INCA:df2zparse:strmin:strmout:vmanager' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(DLG_LIC_SETUP_VER)', val='3.0' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(LOCALDISK_SELECTION)', val='enabled' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(PWD)', val='/users/kwilson' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(PROJ_SCRIPT_DIR)', val='/projects/cad/members/kwilson/proj_pkg/release/proj/v1.12.1' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(MODULE_PLAT)', val='linux_i' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(DIA_SECONDARY_DATA)', val='/simulated/scratch' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(DISPLAY)', val='slsrvetxc-08:47.0' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(VENDOR)', val='unknown' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(CDC_JOINED_DC)', val='slsrvdc-02v.diasemi.com' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(CDC_JOINED_DOMAIN)', val='diasemi.com' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(DLG_SIM_LOG_GATHER)', val='/cad/var/log/simulation_logs' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(TCP_NODELAY)', val='1' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(MODULES_IMPLICIT_REQUIREMENT)', val='0' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(LSF_ENVDIR)', val='/cad/lsf/conf' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(MODULES_LIST_OUTPUT)', val='header:idx' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(WINDOWID)', val='40616002' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(HOSTNAME)', val='slsrvetxc-08' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(USER_PRINCIPAL_NAME)', val='kwilson@DIASEMI.COM' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(SSH_AGENT_PID)', val='1553904' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(INFOPATH)', val='/usr/share/info' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(LSF_LIBDIR)', val='/cad/lsf/10.1/linux3.10-glibc2.17-x86_64/lib' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(_LMFILES_)', val='/cad/modules/linux_i/5.2.0/modulefiles/use.own:/cad/modules/linux_i/5.2.0/modulefiles/modules' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(DLG_SPECTRE_SIMEXECNAME)', val='/cad/bin/spectre_wrapper.lsf' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(CDC_PREW2KHOST)', val='slsrvetxc-08' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(MAIL)', val='/var/spool/mail/kwilson' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(S_COLORS)', val='auto' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(VTE_VERSION)', val='5204' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(CORPENG_MENUS)', val='/sync/rmirror/corpeng/Menus' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(GROUP)', val='dlgusers' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(DA_SESSION_ID_AUTH)', val='c6b559c9-6834-5b49-8b9d-87995393ac33' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(XDG_DATA_DIRS)', val='/users/kwilson/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/usr/share' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(CORPENG)', val='/sync/rmirror/corpeng' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(GRID)', val='lsf' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(DEV_PROJ_VERSION)', val='/projects/cad/members/kwilson/proj_pkg/release/proj/v1.12.1' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(SSH_AUTH_SOCK)', val='/tmp/ssh-XXXXXX698ylX/agent.1553902' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(VERPLEX_LICENSE_FILE)', val='5280@cadlic11:5280@klcg02,5280@klcg03,5280@klcg01:5280@mlcg02,5280@mlcg03,5280@mlcg01' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(TERM)', val='xterm-256color' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(HOSTTYPE)', val='x86_64-linux' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(__MODULES_SHARE_MANPATH)', val='/cad/modules/linux_i/5.2.0/share/man:2' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(CDS_LIC_PID_ON)', val='1' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(which_declare)', val='declare -f' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(XDG_RUNTIME_DIR)', val='/run/user/23196' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(DIACSHRC_SOURCED)', val='t' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(CDC_JOINED_SITE)', val='SLOUGH' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(XDG_CURRENT_DESKTOP)', val='XFCE' on interp(s) __modfile_load_1_1
DEBUG interp-sync-env: set var='::env(PERL5LIB)', val='/cad/tools/toolbox/cadtools_common/LATEST/lib' on interp(s) __modfile_load_1_1
DEBUG restoreSettings: previously saved settings restored (#1)
DEBUG popSettings: previously saved settings flushed (#1)
DEBUG setState: commandname set to ''
DEBUG setState: always_read_full_file set to ''
DEBUG setState: autoinit set to '0'
DEBUG renderSettings: 1 error(s) detected.
DEBUG setState: false_rendered set to '1'
DEBUG setState: shelltype set to 'csh'

### Modules version and configuration
$ module --version
Modules Release 5.2.0 (2022-11-08)

$ module config --dump-state
Modules Release 5.2.0 (2022-11-08)

- Config. name ---------.- Value (set by if default overridden) ---------------
advanced_version_spec     1
auto_handling             1
avail_indepth             1
avail_output              modulepath (env-var)
avail_terse_output        modulepath:alias:dirwsym:sym:tag
collection_pin_tag        0
collection_pin_version    0
collection_target         <undef>
color                     auto
colors                    hi=1:db=2:tr=2:se=2:er=91:wa=93:me=95:in=94:mp=1;94:di=94:al=96:va=93:sy=95:de=4:cm=92:aL=100:L=90;47:H=2:F=41:nF=43:S=46:sS=44:kL=30;48;5;109
contact                   root@localhost
csh_limit                 4000
editor                    vi
extended_default          1
extra_siteconfig          <undef>
home                      /cad/modules/linux_i/5.2.0 (env-var)
icase                     search
ignored_dirs              CVS RCS SCCS .svn .git .SYNC .sos
implicit_default          1
implicit_requirement      0 (env-var)
list_output               header:idx (env-var)
list_terse_output         header
locked_configs            
mcookie_check             always
mcookie_version_check     1
ml                        1
nearly_forbidden_days     14
pager                      (env-var)
protected_envvars         <undef>
quarantine_support        0
rcfile                    <undef>
redirect_output           1
reset_target_state        __init__
run_quarantine            <undef>
search_match              starts_with
set_shell_startup         0
shells_with_ksh_fpath     
silent_shell_debug        0
siteconfig                /cad/modules/linux_i/5.2.0/etc/siteconfig.tcl
tag_abbrev                auto-loaded=aL:loaded=L:hidden=H:hidden-loaded=H:forbidden=F:nearly-forbidden=nF:sticky=S:super-sticky=sS:keep-loaded=kL
tag_color_name            
tcl_ext_lib               /cad/modules/linux_i/5.2.0/lib/libtclenvmodules.so
tcl_linter                nagelfar.tcl
term_background           dark
term_width                0
unload_match_order        returnlast
variant_shortcut          
verbosity                 concise (env-var)
wa_277                    0

- State name -----------.- Value ----------------------------------------------

always_read_full_file     1
autoinit                  0
clock_seconds             1670507701
cmdline                   /cad/modules/linux_i/5.2.0/libexec/modulecmd.tcl tcsh config --dump-state
commandname               config
domainname                (none)
error_count               0
extra_siteconfig_loaded   0
false_rendered            0
force                     0
hiding_threshold          0
inhibit_errreport         0
inhibit_interp            0
init_error_report         1
is_stderr_tty             1
is_win                    0
kernelversion             #1 SMP Mon Oct 4 12:17:22 EDT 2021
lm_info_cached            0
machine                   x86_64
modulefile                {}
nodename                  slsrvetxc-08
os                        Linux
osversion                 4.18.0-348.el8.x86_64
paginate                  0
path_separator            :
report_format             regular
reportfd                  stderr
return_false              0
shell                     tcsh
shelltype                 csh
siteconfig_loaded         1
sub1_separator            &
sub2_separator            |
subcmd                    config
subcmd_args               --dump-state
supported_shells          sh bash ksh zsh csh tcsh fish cmd tcl perl python ruby lisp cmake r
tcl_ext_lib_loaded        1
tcl_version               8.6.8
term_columns              166
timer                     0
usergroups                dessync eng ceadvacc cad eng-acl uside-acl euide-acl dlgapide-acl apide-acl synopsysftp cgroup perforce cadtest pcbgtest1 berkelium antigua antigua130 august sentry nero2-ic6 indus Jackson Pegasus sapphire mdxipa mdxipb mdxproja mdxprojb zimba cadtest2 marcopolo swift dsip-utils tevere cadie april tc-mx-18bcd jaguar-amps marcie whiskey amanda barolo2 cadtest3 atami calpe talisker18bcd mentor tsmc13bcd-test cbu ip-tsmc13bcd k2 reno agnes berkelium2 flumina iptet tabby uvmapplied jaguar-audioip talisker digitalip caesar tesla glenlivet cadtest4 ardmore californium winter mekong thames ursa hummingbird maximus beryl kale dlgip-digital dlgip-generic dlgip-tsmc13 dlgip-tsmc25 tacora homer orien sage pdkdev denali missionpeak kaviar minerva calypso synopsys dsip-t13-dg-6m skilldev tanaga kruxlite pdkbuild sankalp elm cork lumen cadtest7 phxtrain advproductsip cadtest8 cesync silego ipx-digital ipx-tsmc13bcd ipx-advproducts-tsmc13bcd cadence silego-cn burmashd azoteq crystal glenmoray dokgrv lakeside-mx ice albatross layout pdkeval rubi tiber icepnr colibri nerano hibiki ichiro chogolisa radon-dlgms ironman arklow hallasan norma avellino eldorado perseus kumo cardinal silverplus minnie calgary-eval lvpak ipx-test-area centennial powell longjing maxwell-sims centos cookie triledasic tk-hp18e80 silego-usa jesper cerberus laymethtools canarylight ipx-cms-tsmc13bcd hvpak24v rubicon candy canarylite atum chromosome krypton alda cerebrum makalu fci tupelo ipx-inductors minervafb gyoza magneto columbiafb augustiner lisboa ipx-cms-tsmc18bcd preston santiago pavot librat cce4642 cce7502 ipx-cmbu-tsmc13bcd zetesauto echo zetesx4 smilodon thandie test2019proj gilmour crowbar boron venice brazos testmore2019 sonnet titan canaryxl seneca olivine cce4511 ipx-analog-notech pdkcollab pavots capella pangu kagura da21501 cabrera cabot deinde mulldsp pepperdine stanford grian jalebi ipx-gf55bcd caliber da24401 3rdpartyip sl-only bluestone sft gongxi scorpio tin ipx-cms-tsmc90bcd ipx-gf130bcd buffalo ipx-tsmc55ulprf ipx-tsmc55rf ipx-tsmc90bcd kavalan mull topaz ipx-tj065bcd austin aldas canarypie mendocino-cms bishopdale adcpak silentspring ipx-tsmc40bcd lagunitas ce-regression ipx-tsmc18bcd maple morro pismo cadtest9 cadtest10 castella hvpak-bldc-24v apus iochar adesto-usa esk threepio adak2 vmdemo longjing-p sc14111port boronport vulcan dayu mlp_sos_server_rel mlp_sos_server7_1 koto pncomp satori leto renesas ice-dev-test-area ipx-samx0014 vega2 ice-test-area styx da24645 feng koan marshall yoichi ice-dev-gpadc ice-dev-sonnet swainson kwilson dlgusers
username                  kwilson

- Env. variable --------.- Value ----------------------------------------------
LOADEDMODULES             use.own:modules
MODULEPATH                /cad/modules/linux_i/5.2.0/modulefiles:/cad/modules/modulefiles/everything.v4/eda:/cad/modules/modulefiles/everything.v4/generic:/cad/modules/modulefiles/everything.v4/system:/sync/rmirror/corpeng/ddm:/sync/rmirror/corpeng/dft::/users/kwilson/privatemodules:/cad/tools/modulefiles/everything.v3
MODULESHOME               /cad/modules/linux_i/5.2.0
MODULES_AVAIL_OUTPUT      modulepath
MODULES_CMD               /cad/modules/linux_i/5.2.0/libexec/modulecmd.tcl
MODULES_IMPLICIT_REQUIREMENT 0
MODULES_LIST_OUTPUT       header:idx
MODULES_PAGER             
MODULES_VERBOSITY         concise
MODULE_PLAT               linux_i
MODULE_VERSION            5.2.0
_LMFILES_                 /cad/modules/linux_i/5.2.0/modulefiles/use.own:/cad/modules/linux_i/5.2.0/modulefiles/modules
__MODULES_LMINIT          module use --append /cad/modules/linux_i/5.2.0/modulefiles
__MODULES_SHARE_MANPATH   /cad/modules/linux_i/5.2.0/share/man:2
__MODULES_SHARE_MODULEPATH :1
__MODULES_SHARE_PATH      /cad/modules/linux_i/5.2.0/bin:2

### Additional context
<!-- Add any other context about the problem here. -->

<!-- Thanks helping us to improve Modules -->

THANK YOU :)
ben-bowers commented 1 year ago

Hi @keithmaw what you showed is incorrect Tcl syntax, afaict this is not a problem with modules.

Trailing comments require a ; to be placed before the comment character, because in Tcl the commenting is more like a command that doesnt get evaluated rather than a shell comment or comment-token in most programming languages.

instead of

setenv VAR value1 ## updated 10 May 2020

try:

setenv VAR value1 ;## updated 10 May 2020