Changing login shell to bash |
| |
If you wish to run VASP under condor on the NNIN/C cluster, as of this writing (11/09/07) you will have to make your login shell bash if it is not already. To do this on the NNIN/C cluster, you will actually have to go through the general SEAS (formerly DEAS) login node, which is running a network system password utility called yppasswd. If you are interested in the function of this utility, you can do a “man yppasswd” or a “man ypchsh” (similar command) for some details. This explanation is meant to be self-contained, however and no external references will be necessary.
First, login to the deas grid. If you have an NNIN/C account you should be able to access the deas login node via
ssh login.deas.harvard.edu.
You should execute the command
ypchsh ! (this is equivalent to “yppasswd –l”)
this will then invoke yppasswd (without the “-l” switch it is just a password untility) and ask you for your network password. This is just your usual login password for NNIN/C machines. When you enter your password, ypchsh will ask you which login shell you want. At the prompt, please enter “/bin/bash”. Then when you login to NNIN/C (ssh nnin-login.seas.harvard.edu) you will see, by doing either “echo $0” or `env | grep “SHELL” ` that your login shell is bash.
You should have a bash configuration file, which is .bashrc. A simple one, which you can start from and which has the necessary module load commands for VASP already in it, is /group/nnin/VASP/condor/env/.bashrc. Copy this to your home directory. Recall that filenames that begin with a period (“.”) do not show up under “ls” unless the –a switch is used. |
| |
| |