[[PageOutline]] {{{ #!html

Running Your Software: Load your software onto nodes and run commands on nodes

}}} Navigation: [wiki:GENIExperimenter/Tutorials/GENI_Desktop_and_GEMINI_runcmd Up] == Overview == The goal of this exercise is to show you how to copy files from your local computer (e.g., laptop) to select nodes in the topology. We will also show you how to run commands on specified nodes in your topology. This is particularly useful if you want to quickly load your source code onto all (or some of) the nodes, compile it, and then run it. == Loading Files onto Nodes == Clicking on the launcher [[Image(launcher.png)]] and selecting the '''File Upload''' module [[Image(launchermenu.png)]]. This module will allow you to copy files to the GENI Desktop. From the GENI Desktop, the files can then be copied onto the nodes you select through the file upload window (see below). [[Image(fileuploadwindow.png)]] === File Sets === Users often find it useful to create a "file set" containing all their code and test data. Having created a file set, the user then wants to load the file set onto a set of nodes in the topology. Users often want to try their code on a variety of topologies. As a result, we enable users to copy files from their local machine to the GENI Desktop server which will store them in directories (and subdirectories), thereby allowing users to create file sets that can be quickly loaded onto any topology they create. == __Exercise Tasks__ == For the following exercise, if you do not have your own source code that you want to try, you can simply us the following HelloWorld.c program. main() { printf("Hello World\n"); } a. '''Task 1:''' Create a file set with your source code on the GENI Desktop. a. '''Task 2:''' Upload your source code to VM-0 and VM-1. a. '''Task 3:''' Compile your code on VM-0 and VM-1.