Re: [Planetlab-users] planet lab newbee
Brought to you by:
alklinga
|
From: Neil S. <ns...@cs...> - 2003-11-13 17:07:42
|
On Nov 12, 2003, at 12:04 PM, tomas wrote: > i have read this paper. My problem is not how to implement a raw > socket. I > want to know how to to EXECUTE my allready written code an a node. > Here are some concrete questions. > I mean, is it enough just to compile my code on my pc and upload it to > a > node? unlikely, unless you build a statically linked executable. > Or do i have to compile it after logging into a node? yes, but you can then copy the binary you build to other nodes, which can save time. If your program involves several files, you might build an rpm (redhat package), then install that rpm elsewhere. > Do i have to > compile it as a *.o-file or as a shared library *.so? I don't understand. shared libraries aren't executable. neither are object files. > Are they default names > like for example "index.html" (concerning web-pages)? no. > I mean the node must > know what file execute first. you execute what you want on a node. the node handles no execution for you (except, I suppose, for rc.vinit, a script run when the machine boots). scp mycode.c me...@pl...: ssh -n -l me1 planetlab-555.university.edu "gcc -W -Wall mycode.c -o myprogram && ./myprogram" -neil |