Monthly Archives: June 2006
Almost there…
I’m very close to a full DRMAA implementation for Xgrid (still just in Objective-C), or as full an implementation as is currently possible with Xgrid. The only major missing feature right now is bulk jobs. The biggest hurdle has been … Continue reading
Wait/synchronize redone
The 1.0 DRMAA spec wasn’t completely clear on multithreaded behavior, so I went to the drmaa-wg mailing list to ask a couple questions: What happens if two threads try to wait simultaneously for the same job to complete? Do they … Continue reading
PrefPane complete
I just put together that preference pane for controlling XgridDRMAA grid selection. It’s pretty straightforward: it lets you browse for a grid advertised via Zeroconf/Bonjour, or specify a hostname/IP address, or just choose to use the standard Xgrid environment variables, … Continue reading
Job waiting
Now in place: waiting for jobs to complete. How it works: after a job starts, it’s added to a list of jobs being monitored, and is observed via Cocoa Key-Value Observing for its state key path. An NSConditionLock object is … Continue reading
Job status & control
Today: I implemented the job status and control functions in DRMAA. Pretty straightforward: for status, I map the Xgrid status to a corresponding DRMAA value (this mapping having been run by the xgrid-users list). For control, I just grab the … Continue reading
Submitting jobs
Two pieces of good news today. First, the honorable Charlotte W. Woolard deemed my predicament of having multiple large software projects, a Monday Summer of Code check-in deadline, and a San Francisco move-out date of August 1 worthy of getting … Continue reading
A new website…
My old website was stale and hard to update, so I’m starting a new one using WordPress. It has no content right now, but I’m hoping that having it online with no content will make me more motivated to get … Continue reading
Making Xgrid synchronous
I finally got around to making the DRMAA code actually, um, talk to Xgrid. Right now all it does is open and close connections, but everything else will follow pretty much the same pattern. From the client code, it’s very … Continue reading
"Contact strings" and browsing for Xgrids
The DRMAA specification includes the possibility of having the API return a list of “contacts”—identifiers for different grids. This seemed like a pretty natural place to return a list of controllers/grids discovered via Bonjour, so I went ahead and implemented … Continue reading
Minor developments & design notes
It’s been a little slow going the last few days with my sister and another friend in town, but I’ve added a few little touches: OCUnit Testing There’s really no complex code to test yet, but I added a OCUnit … Continue reading