[Openmcl-devel] AWS API code (re: GUI:BACKGROUND-PROCESS-RUN-FUNCTION)
Ron Garret
ron at flownet.com
Wed Jan 25 12:01:46 PST 2012
On Jan 25, 2012, at 11:15 AM, Robert Goldman wrote:
> On 1/25/12 Jan 25 -1:01 PM, Ron Garret wrote:
>> BTW and FYI, the reason I'm using GUI:BACKGROUND-PROCESS-RUN-FUNCTION is that I'm writing some code to interface to Amazon's AWS API. Spinning up instances takes a while, so I do them in parallel to save time. I'm running CCL eval servers on the instances, so I essentially have a Lisp supercomputer that I can spin up whenever I need it. It's pretty wizzy, if I do say so myself :-)
>>
>> If anyone is interested in this code let me know and I'll make it available. Also, if you're in the Bay Area, I'm going to be presenting it at the BALispers meetup this weekend.
>
> I'd be interested. I have been using Amazon's EC2 for a bunch of
> things, some lisp and some not. But so far I have been using perl to
> handle the launching and job management: the absence of a common
> RUN-SHELL-COMMAND, and FORK, among other things, make it almost
> impossible to use portable CL for such scripting.
But there is a CL run-shell-command. It's called RUN-PROGRAM.
And you can call #_fork through the FFI (though I'm not clear why you would want to).
rg
More information about the Openmcl-devel
mailing list