A copy of the existing sinteractive
script on Cheaha.
This repository is provided temporarily for continuity as we develop solutions to support researchers with no other recourse.
- Open a terminal on Cheaha.
- Navigate to https://rc.uab.edu.
- In the top navigation menu, click "Clusters" and then "Cheaha Shell Access".
- Enter
mkdir ~/bin
to create a directory to store the script. - Enter
cd ~/bin
to enter that directory. - Enter
git clone https://github.com/kizziah4/sinteractive ~/bin/sinteractive
to clone this repository into the folder~/bin/sinteractive
. - Etner
cd sinteractive
to enter the new subfolder. - Enter
chmod u+x sinteractive _interactive _interactive_screen
to make the scripts executable.
At a terminal, enter ~/bin/sinteractive/sinteractive
along with any flags you require, the same as you would with the system-wide installation of sinteractive
.
Important: The following only applies if you choose to not use module reset
. It is considered best practice to start scripts with module reset
to ensure a clean environment. Doing so will prevent the following suggestion from working. Instead you will need to use the absolute path to the installed sinteractive
script.
Optionally, and for convenience, you can add the executable to your $PATH
variable. Modify your .bashrc
file to include the following line at the end. We prepend the install directory so that the custom executable is found before the system executable.
PATH="~/bin/sinteractive${PATH:+:${PATH}}"
You can modify your .bashrc
file using your favorite editor. If you are unfamiliar with editing scripts on Cheaha, please try the following.
- Navigate to https://rc.uab.edu.
- In the top navigation menu, click "File Browsers" and then "Home Directory".
- At the top-right of the page that opens, check "Show Dotfiles". See here for more information.
- In the central pane, scroll down to find the file
.bashrc
and click it once. - Among the action buttons near the top of the page, click "Edit".
- Add the line given above at the end of the editor window. Ensure the file ends with a blank line!
- Click the "Save" button at the top-left.
- Test that it works by opening a new terminal window and entering
which sinteractive
. The first result should be/home/$USER/bin/sinteractive/sinteractive
.
If you need assistance with these instructions, please contact us at [email protected] or visit our Office Hours.
We are not able to provide support for the script or its functionality. If there are errors or other issues we may be able to help find workarounds or troubleshoot this installation. Please contact us.