Once a computation is defined, worker sites are set up, the master process code is written by this function. The current implementation does not allow one to mix localhost URLs with non-localhost URLs
writeCode(defn, sites, outputFilenamePrefix)
the value TRUE
if all goes well
the computation definition
a named list of site URLs participating in the computation
the name of the output file prefix using which code and data will be written
setupMaster()