Setting up Environment and Invoking Grace on KillDevil via UNIX Desktop
Before accessing Grace from UNIX machines, the following steps should be done. If you have already setup for Grace using the “module” command (step 2), skip steps 2 & 3. If you are not sure, use step 3 to confirm after login.
1. Open a terminal window, and type the following command at the local machine prompt to both login to KillDevil and to allow X display on the local machine from the KillDevil cluster:
ssh -X KillDevil.unc.edu
If this command does not allow you to correctly display Grace, your machine may support the “-Y” option, which is not as secure as the “-X” option:
ssh -Y KillDevil.unc.edu
By using these commands for X11 forwarding, you do not need to worry about setting your DISPLAY environment variable.
2. At the Linux machine prompt, type the following command. Skip this step if you have done it before.
module add grace
module initadd grace
module modifies the shell scripts in the home directory. The PATH to access Grace and all necessary environment variables are set up properly.
To check if your startup scripts have been setup for Grace, type the following command at the UNIX prompt.
A line “grace” is shown which indicates that the environment for Grace is already set.
3. After the PATH and environment variables for Grace are set up properly, Grace can then be accessed. At the Linux machine prompt, type the following LSF command to invoke the software. The “day” queue will allow the program to run in interactive mode for 24 hours.
bsub -q day -Ip grace