LaunchQueueJobgemini

PURPOSE ^

LAUNCHQUEUEJOBGEMINI - ...

SYNOPSIS ^

function LaunchQueueJobgemini(md,executionpath)

DESCRIPTION ^

LAUNCHQUEUEJOBGEMINI - ...

   Usage:
      LaunchQueueJobgemini(md,executionpath)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function LaunchQueueJobgemini(md,executionpath)
0002 %LAUNCHQUEUEJOBGEMINI - ...
0003 %
0004 %   Usage:
0005 %      LaunchQueueJobgemini(md,executionpath)
0006 
0007 %first, check we have the binary file and the queueing script
0008 if ~exist([ md.name '.bin'],'file'),
0009     error('LaunchQueueJobgemini error message: Binary input file missing, cannot go forward');
0010 end
0011 
0012 if ~exist([ md.name '.queue'],'file'),
0013     error('LaunchQueueJobgemini error message: queueing script issing, cannot go forward');
0014 end
0015 
0016 %jpload both files to cluster
0017 disp('uploading input file,  queueing script and variables script');
0018 eval(['!scp ' md.name '.bin' ' ' md.name '.queue '  md.cluster ':' executionpath]);
0019 
0020 disp('launching solution sequence on remote cluster');
0021 %now call the queuing script to launch the job.
0022 system(['ssh  ' md.cluster ' ''cd ' executionpath ' && bsub <  ' md.name '.queue ''']);

Generated on Sun 29-Mar-2009 20:22:55 by m2html © 2003