Changes between Initial Version and Version 1 of GENIExperimenter/Tutorials/GENI_Desktop_and_GEMINI_runcmd/ExecuteExperiment

06/24/13 11:30:00 (9 years ago)



  • GENIExperimenter/Tutorials/GENI_Desktop_and_GEMINI_runcmd/ExecuteExperiment

    v1 v1  
     4<h1> <font color="Orange">Running Your Software:</font> Load your software onto nodes and run commands on nodes </h1>
     7Navigation: [wiki:GENIExperimenter/Tutorials/GENI_Desktop_and_GEMINI_runcmd Up]
     9== Overview ==
     11The goal of this exercise is to show you how to copy files from your local computer (e.g., laptop) to select nodes in
     12the topology.  We will also show you how to run commands on specified nodes in your topology.  This is particularly useful
     13if you want to quickly load your source code onto all (or some of) the nodes, compile it, and then run it.
     15== Loading Files onto Nodes ==
     17Clicking 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.
     19=== File Sets ===
     21Users 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.
     23== __Exercise Tasks__ ==
     25For the following exercise, if you do not have your own source code that you want to try, you can simply us the
     26following HelloWorld.c program.
     28main() { printf("Hello World\n"); }
     31 a. '''Task 1:''' Create a file set with your source code on the GENI Desktop.
     32 a. '''Task 2:''' Upload your source code to VM-0 and VM-1.
     33 a. '''Task 3:''' Compile your code on VM-0 and VM-1.