exfel_onda/19.09.0.3
#%Module 1.0
#
# xfel_onda 19.09.0.3
#
proc ModulesHelp {} {
puts stdout "This module sets the OnDA Distribution at European XFEL"
}
module-whatis "Setup environment for OnDA at EuXFEL"
if { [module-info mode load] || [module-info mode switch2] } {
system "/gpfs/exfel/sw/software/local/etc/metrics.sh 'exfel_onda/19.09.0.3'"
puts stdout "source /gpfs/exfel/sw/software/onda_19.09.0.3-euxfel_env/bin/activate;"
prepend-path PATH /gpfs/exfel/sw/software/onda_19.09.0.3-euxfel_env/bin
puts stdout "export AGIPD_GEOM=/gpfs/exfel/sw/software/onda_resources/agipd_mar18_v11_edit.geom;"
puts stdout "export AGIPD_CONF=/gpfs/exfel/sw/software/onda_resources/monitor_agipd.toml;"
puts stdout "export AGIPD_MASK=/gpfs/exfel/sw/software/onda_resources/badpixelmask_double_pixels.h5;"
puts stdout "export JNGFR_GEOM=/gpfs/exfel/sw/software/onda_resources/jungfrau4M.geom;"
puts stdout "export JNGFR_CONF=/gpfs/exfel/sw/software/onda_resources/monitor_jf.toml;"
# puts stdout "cp -n /gpfs/exfel/sw/software/onda_resources/monitor_agipd.toml . ;"
# puts stdout "cp -n /gpfs/exfel/sw/software/onda_resources/monitor_jf.toml . ;"
module load mpi/mpich-3.2-x86_64
} elseif { [module-info mode remove] && ![module-info mode switch3] } {
puts stdout "deactivate;"
module unload mpi/mpich-3.2-x86_64
}