Simple job with data manipulation
From MediaWiki
(Difference between revisions)
(Created page with 'This is simple single job submitting example with data management. In this case, WN will download source code and executing script from SE and after successful ending of job, res…') |
|||
Line 3: | Line 3: | ||
Content of uploaded files: | Content of uploaded files: | ||
- | + | '''hello.c''' | |
#include <stdio.h> | #include <stdio.h> | ||
Line 12: | Line 12: | ||
return 0; | return 0; | ||
} | } | ||
+ | |||
+ | '''hello.sh''' | ||
+ | |||
+ | #Compile C file | ||
+ | |||
+ | gcc hello.c -o hello | ||
+ | |||
+ | #Execute hello program | ||
+ | |||
+ | ./hello |
Revision as of 13:00, 9 December 2011
This is simple single job submitting example with data management. In this case, WN will download source code and executing script from SE and after successful ending of job, result will be uploaded on SE.
Content of uploaded files:
hello.c
#include <stdio.h> int main() { printf ("hello world!!\n"); return 0; }
hello.sh
#Compile C file gcc hello.c -o hello #Execute hello program ./hello