Changeset 14436
- Timestamp:
- 03/06/13 17:53:40 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/solve/waitonlock.m
r14356 r14436 31 31 32 32 %prepare command if the job is not running on the local machine 33 if ~strcmpi(oshostname(),cluster ),33 if ~strcmpi(oshostname(),cluster.name), 34 34 login = cluster.login; 35 35 port = 0; … … 46 46 %loop till file .lock exist or time is up 47 47 while (ispresent==0 & time<timelimit) 48 if strcmpi(oshostname(),cluster ),48 if strcmpi(oshostname(),cluster.name), 49 49 pause(1); 50 50 ispresent=(exist(lockfilename,'file') & exist(logfilename,'file'));
Note:
See TracChangeset
for help on using the changeset viewer.