Changeset 3146
- Timestamp:
- 03/02/10 00:29:41 (15 years ago)
- Location:
- issm/trunk
- Files:
-
- 8 added
- 5 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/etc/cluster.rc
r3131 r3146 26 26 cluster_executionpath=/work00/edw/larour/Execution 27 27 cluster_login=larour 28 cluster_port=0 28 29 29 30 cluster_name=mustang … … 31 32 cluster_executionpath=/proj/ice/larour/Testing_ice/Execution 32 33 cluster_login=larour 34 cluster_port=0 33 35 34 36 cluster_name=metro … … 36 38 cluster_executionpath=/home/larour/Testing/Execution 37 39 cluster_login=larour 40 cluster_port=0 38 41 39 42 cluster_name=wilkes … … 41 44 cluster_executionpath=/u/astrid-r1b/larour/Testing/Execution 42 45 cluster_login=larour 46 cluster_port=0 43 47 44 48 cluster_name=astrid … … 46 50 cluster_executionpath=/u/astrid-r1b/larour/Testing/Execution 47 51 cluster_login=larour 52 cluster_port=0 48 53 49 54 cluster_name=larsen … … 51 56 cluster_executionpath=/u/astrid-r1b/larour/Testing/Execution 52 57 cluster_login=larour 58 cluster_port=0 53 59 54 60 cluster_name=gemini … … 56 62 cluster_executionpath=/workg/edw/larour/Testing/Execution 57 63 cluster_login=larour 64 cluster_port=0 58 65 59 66 cluster_name=castor … … 61 68 cluster_executionpath=/workc/edw/larour/Testing/Execution 62 69 cluster_login=larour 70 cluster_port=0 63 71 64 72 cluster_name=greenplanet … … 66 74 cluster_executionpath=/home/elarour/Testing/Execution 67 75 cluster_login=larour 76 cluster_port=0 68 77 69 78 cluster_name=pollux … … 71 80 cluster_executionpath=/workp/edw/larour/Testing/Execution 72 81 cluster_login=larour 82 cluster_port=0 73 83 74 84 cluster_name=pfe … … 76 86 cluster_executionpath=/nobackup/elarour/Testing 77 87 cluster_login=elarour 88 cluster_port=1025 78 89 79 90 cluster_name=mearas … … 81 92 cluster_executionpath=/proj/ice/larour/Testing/Execution 82 93 cluster_login=larour 94 cluster_port=0 83 95 84 96 -
issm/trunk/src/m/classes/public/queue/BuildQueueingScriptGeneric.m
r2880 r3146 24 24 end 25 25 26 26 27 fclose(fid); -
issm/trunk/src/m/classes/public/queue/LaunchQueueJob.m
r3119 r3146 1 function md=LaunchQueueJob(md,executionpath, options,login)2 %LAUNCHQUEUEJOB - ...1 function md=LaunchQueueJob(md,executionpath,login,port,options) 2 %LAUNCHQUEUEJOB- Launch queue script for cluster 3 3 % 4 4 % Usage: 5 % LaunchQueueJob(md,executionpath)5 % md=LaunchQueueJob(md,executionpath,launchcommand,login,port,options) 6 6 7 %First try and figure out if there is a special script for thie particular cluster8 function_name=['LaunchQueueJob' md.cluster];9 7 10 % some specific treatment of identical cluster, gemini, castor and pollux11 if strcmpi(md.cluster,'castor') || strcmpi(md.cluster,'pollux'),12 function_name='LaunchQueueJobgemini';8 %first, check we have the binary file and the queueing script 9 if ~exist([ md.name '.bin'],'file'), 10 error('LaunchQueueJobcosmos error message: Binary input file missing, cannot go forward'); 13 11 end 14 12 15 if exist(function_name,'file'), 16 %Call this function: 17 eval(['md=' function_name '(md,executionpath,options,login);']); 13 if ~exist([ md.name '.queue'],'file'), 14 error('LaunchQueueJobcosmos error message: queueing script missing, cannot go forward'); 15 end 16 17 if md.qmu_analysis, 18 if ~exist([ md.name '.qmu.in'],'file'), 19 error('LaunchQueueJobcosmos error message: missing dakota input file, cannot go forward'); 20 end 21 end 22 23 if ~strcmpi(options.batch,'yes'), 24 25 %what files are we sending? 26 packages={[md.name '.bin'],[md.name '.queue']}; 27 if md.qmu_analysis, 28 packages{end+1}=[md.name '.qmu.in']; 29 end 30 31 disp('uploading input file and queueing script'); 32 issmscpout(md.cluster,executionpath,login,port,packages); 33 34 disp('launching solution sequence on remote cluster'); 35 issmssh(md.cluster,login,port,ClusterLaunchCommand(md.cluster,md.name,executionpath)); 36 18 37 else 19 %Call the generic LaunchQueueJob:20 md=LaunchQueueJobGeneric(md,executionpath,options,login);38 disp('batch mode requested: not launching job interactively'); 39 disp('launch solution sequence on remote cluster by hand'); 21 40 end
Note:
See TracChangeset
for help on using the changeset viewer.