Launching an iDev session GVA2021
Overview
idev (short for interactive development) sessions on TACC are a method of accessing one of the compute nodes directly rather than sending a slurm job off using the sbatch command. In this course, it will let us view the text that would normally print to the screen. We will further benefit from TACC setting up a reservation for us that will allow us to skip the queue and immediately launch an interactive session so we spend our class time working rather than waiting.
Learning Objectives
- Learn the importance of launching an idev session
- Launch an idev instance
- Check if you are currently in an idev session.
Tutorial
Importance of using idev sessions
As mentioned in the introduction tutorial, idev sessions are important to get off the head node and not negatively impact all other TACC users. As mentioned in the bowtie2 tutorial failure to do so has actually caused TACC to crash in previous years, and none of us (you included) want to be part of that happening again. As such most tutorials will contain a warning box similar to this and a link back to this page to ensure you are staying on an idev node and not being a bad TACC citizen.
Launching an iDev session with a reservation
As we discussed in our first tutorial the head node is a space shared by all and we don't like stepping on each others toes. An idev (or interactive development) session is a way to move off the head node and onto a single compute node, but work interactively to see if your commands actually work, give you much quicker feedback, and if everything goes as you hope, your data. idev sessions are not used as often as the queue system (which will be discussed on Friday) as in general its not necessary to see every line a program spits out once you are familiar with the type of data you will get. Additionally, we are going to use a priority access reservation set up special for the summer school that you normally would not have access to but should guarantee immediate starting of your idev session.
Your idev command line will contain 3 flags: -m, -r -A. Using the `idev -h` command, can you figure out what these 3 flags mean and what you told the system you wanted to do?
The question becomes 'how long do we need to request the idev node for'? As the reservation only runs between 9am and 12pm each day this week, you need to request the enough minutes to set it to end a few minutes before 12:00 so the session will start. If you set it to end after 12:00 it won't actually launch.
Copy and paste the following command replacing the trailing 3 ? marks with the number of minutes you want your idev session to last:
idev -r BIO_DATA_week_2 -A UT-2015-05-18 -m ???
The very first line of output should be.
-> Reservation : BIO_DATA_week_2
A few lines down from that you should see
-> Reservation name : BIO_DATA_week (reservation ACTIVE ) -> Queue : normal (reservation )
Welcome to the University Wiki Service! Please use your IID (yourEID@eid.utexas.edu) when prompted for your email address during login or click here to enter your EID. If you are experiencing any issues loading content on pages, please try these steps to clear your browser cache. If you require further assistance, please email wikihelp@utexas.edu.