HW-tutorial4
- Due 2 Oct 2019 by 23:59
- Points 5
- Submitting a text entry box, a media recording, or a file upload
- Available 19 Sep 2019 at 15:30 - 31 Oct 2019 at 23:59
Prepare and execute a simple workflow on the iridium cluster:
1) Prepare the workflow (on your virtual machine): The workflow should consists of a series linux commands in the form of a bash script. The purpose of the workflow is to gather various information about the computer. As a minimal information, the workflow should obtain the hostname of the machine, the "uptime" information, disk space usage and the number of entries in the /etc and /usr/bin directories. Also add a few minutes ”sleep”. Save the workflow as SLURM job descripton script (e.g. homework4.sh), execute it on the virtual machine and save the output to a file.
2) Then, copy the workflow script and the output file over to the iridium cluster (use scp)
3) Execute on the cluster: Login to iridium with ssh. Record your session on iridium using the logging feature of screen: Edit your homework4.sh SLURM script, if necessary, then, start up a screen session with logging enabled (screen –L), submit several jobs with sbatch, list the queue status, list the job status, cancel some of the jobs, play with the slurm commands, then exit screen
4) Place all homework files into a dedicated CLEAN directory within your home area on iridium (e.g. HW4-final). The directory should contain the workflow script, the execution output from the virtual machine, the screenlog.0 file and the some of the SLURM session logs.
5) Once everything is done and the dedicated HW4 directory is available on the iridium cluster, send me the full path of that directory.
Submission and communications via Canvas only.