Changeset 1085 for trunk/src/series.m
- Timestamp:
- Aug 11, 2020, 8:06:46 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series.m
r1084 r1085 2093 2093 % create file containing the list of jobs 2094 2094 ListProcess=fullfile(DIR_CLUSTER,'job_list.txt'); % name of the file containing the list of executables 2095 fid=fopen(ListProcess,'w'); % open it for writting 2095 [fid,errormsg]=fopen(ListProcess,'w'); % open it for writting 2096 if isempty(errormsg) 2096 2097 for iprocess=1:length(batch_file_list) 2097 2098 fprintf(fid,[batch_file_list{iprocess} '\n']); % write list of exe files … … 2099 2100 fclose(fid); 2100 2101 system(['chmod +x ' ListProcess]); % set the file to executable 2101 2102 else 2103 errormsg=['error for writting the executable file:' errormsg]; 2104 end 2102 2105 CPUTimeProcess=CPUTime*BlockLength*nbfield_j; % estimated CPU time for one individual process (in minutes) 2103 2106 LaunchCmdFcn=SeriesData.SeriesParam.ClusterParam.LaunchCmdFcn;
Note: See TracChangeset
for help on using the changeset viewer.