#!/bin/tcsh

setenv DefaultGroups 'Tools Programming'
setenv DefaultReleaseStages 'stable'
if ( ! $?PMODULES_VERSION ) then
	setenv PMODULES_VERSION "@PMODULES_VERSION@"
endif
if ( ${PMODULES_VERSION} == "" ) then
	setenv PMODULES_VERSION "@PMODULES_VERSION@"
endif

setenv PMODULES_HOME "@PMODULES_ROOT@/Tools/Pmodules/${PMODULES_VERSION}"

set _init_csh="${PMODULES_HOME}/init/csh"
if ( ! -r "${_init_csh}" ) then
	echo "Oops: cannot initialize Modules!"
	echo "${_init_csh}: File does not exist or is not readable."
else
	source "${_init_csh}"
endif
unset _init_csh

# Local Variables:
# mode: csh
# sh-basic-offset: 8
# tab-width: 8
# End:
