~nchohan/appscale/index_support

« back to all changes in this revision

Viewing changes to Neptune/babel_helper.rb

  • Committer: Chris Bunch
  • Date: 2012-03-09 19:28:58 UTC
  • Revision ID: cgb@cs.ucsb.edu-20120309192858-59f572qr2n9d69s5
refactored mpi_helper to write stderr and metadata, and to fetch files correctly via babel interface. also changed install script to install tmux and use our config file

Show diffs side-by-side

added added

removed removed

Lines of Context:
447
447
    Djinn.log_debug("Saving metadata #{job_data['@metadata_info'].inspect} " +
448
448
      "to remote location #{job_data['@metadata']}")
449
449
    metadata_file = "/tmp/metadata-#{HelperFunctions.get_random_alphanumeric()}"
450
 
    HelperFunctions.write_file(metadata_file,
 
450
    HelperFunctions.write_file(metadata_file, 
451
451
      JSON.dump(job_data['@metadata_info']))
452
452
    datastore.write_remote_file_from_local_file(job_data['@metadata'], 
453
453
      metadata_file)