As the names suggest we can use the first to *run* one of our available lab instances, the second to *enter* a created labroom, and the third to *execute* scripts. +
Lets look at the options one by one. +
For the purpose of this walkthrough 'testmpi2' and 'test 18' were created. +
Since the console is explained along with the first area we dont feel there is a need to have seperate walkthrough.
First we have to select the lab we want to run. To find a specific lab we can use the search bar at the top. +
image::images/run/lab_instance_list.png[]
After we have located the desired lab we can run it by using the cloud icon. image::images/run/cloud_icon.png[] +
To request more info about the lab we use the info icon image::images/run/info_icon.png[] and the trashcan image::images/run/trash_icon.png[] deletes the lab (forever). +
Carefull, forever is a long time! +
So lets go back to running the lab. After clicking on the according icon we should be redirected to the execution screen. +
image::images/run/execution_screen.png[]
Here we can use the command line on the bottom to execute the required commands. Our results will be visible in the console above. +
image::images/run/ls_results_console.png[]
Note that you can choose to use the editor of your liking from the drop down menu.
For more complicated tasks that may require responsivines from the machine you can use the terminal option to open a full-blown unix command line. +
To do so we have to go through a series of steps, but lets first understand some basic things about how swarmlab works...
TIP: Every swarmlab lab instance resides in a git repo created inside link:https://git.swarmlab.io:3000[our git^] and owned by the lab creator. This repo then serves as a 'home' for all the work inside that lab. +
So for us to create and run a lab we have to link a service to a git repo. +
Asuming we have an account (using the same email as our swarmlab account!) all our repos should be shown on the list in the top left corner. +
To search for any public repo we can use the search bar. +
image::images/bootstrap/test_search_repo.png[]
From that list we can now select the desired repository that we want to use by clicking on the plug icon. image::images/bootstrap/plug_icon.png[] +
We can use any repo we like, but we will be able to commit only to those that we have access to. +
If we wish to edit or contribute to the development of a project we are not part of we can use the clone option as usual! +
Now we have to select the service that our lab will be using. We just select the desired one from the list on the right and it will be automatically linked to the project. +
image::images/bootstrap/service_select.png[]
Finally we have to save the lab instance by filling in the required info at the bottom. +
Here we can see a list of all the labrooms programmed to run today. Again like in the run tab we can distinguish open from closed ones by color (green/orange). +
image::images/for_tutors/todays_labrooms.png[]
We can also get info using the info icon image::images/for_tutors/info_icon.png[] or delete the labroom using the trashcan icon image::images/for_tutors/trash_icon.png[] . +
To search for a specific labroom we can use the searchbar at the top. +
IMPORTANT: The delete command is *FORCED* even if the labroom is running!!! +
Now lets see how we can bootstrap a new labroom using one of our lab instances. +
To do that lets navigate to the respective tab that should look like this: +
image::images/for_tutors/bootstrap_labroom.png[]
Here we can select the desired (existing!) lab instance that will be used to create the labroom using the plug icon image::images/for_tutors/plug_icon.png[]. +
CAUTION: You can only start a labroom every whole or half hour (p.e. 12.00 or 14.30) and never inbetween so please plan ahead!! +
Also note that the duration cannot be greater than three hours since we consider that the maximum for any type of lesson! +
Now using the searchbar that follows (you HAVE to search for students for them to come up) we search and select (image::images/for_tutors/plug_icon.png[]) the students that we want to invite to the lesson. +
Note that only students that have subscribed to our labroom will be available for invites to avoid confusion! +
image::images/for_tutors/student_selection.png[]
After selecting all the desired students we have to fill in the last details at the bottom of the page. +
Please give concise titles and good descriptions to your labrooms!! +
image::images/for_tutors/bootstrap_details.png[]
Now we shall check and upon making shure that everything is right we click the 'bootstrap your lab' button!
WARNING: Bootstraping is final and no further edits are allowed!!