== Energy Measurement To print before and after you srun commands in the SLURM script. Unit=[Joules] **CM Module** {{{ srun sh -c 'if [ $SLURM_LOCALID == 0 ]; then echo ${SLURM_NODEID}: $(cat /sys/devices/platform/sem/energy_j); fi' }}} See also information on [wiki:/Public/User_Guide/Batch_system#Informationonpastjobsandaccounting accounting] and `sacct`. **ESB Module** CPU: {{{ srun -n 1 energymeter_client -m -d 4 }}} GPU: {{{ srun -n 1 energymeter_client -m -d 5 }}}