chmutil on Comet cluster - CRBS/chmutil GitHub Wiki
This page describes steps to setup chmutil on Comet cluster. It is assumed the reader already has an account on the Comet and is able to ssh to the cluster.
Setting up python on Comet
Step 1) Load Python module
Comet uses the Environment Modules package to configure user environments. By default python is not loaded in a user's environment.
To load Python for the current terminal run this:
module load python/2.7.10
# if error is returned about modules not found remove
# the # on the next line and run that command and try again:
# source /etc/profile.d/modules.sh
TO make the above change permanent for future shells do the following on Comet:
For Bash shell, append the above to ~/.bashrc file like so:
echo "module load python/2.7.10" >> ~/.bashrc
source ~/.bashrc
Step 3) Update PATH to include ~/.local/bin
For Bash shell, update PATH entry in ~/.bashrc or do this:
echo "export PATH=$PATH:~/.local/bin" >> ~/.bashrc
source ~/.bashrc
Step 3) Install chmutil
pip install --user chmutil
To test run this:
createchmjob.py --version