Changeset 1085 for trunk/src/series.m


Ignore:
Timestamp:
Aug 11, 2020, 8:06:46 PM (4 years ago)
Author:
sommeria
Message:

aver_spectral added andsmall bug repairs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series.m

    r1084 r1085  
    20932093            % create file containing the list of jobs
    20942094            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)
    20962097            for iprocess=1:length(batch_file_list)
    20972098                fprintf(fid,[batch_file_list{iprocess} '\n']); % write list of exe files
     
    20992100            fclose(fid);
    21002101            system(['chmod +x ' ListProcess]); % set the file to executable
    2101            
     2102            else
     2103                errormsg=['error for writting the executable file:' errormsg];
     2104            end       
    21022105            CPUTimeProcess=CPUTime*BlockLength*nbfield_j; % estimated CPU time for one individual process (in minutes)
    21032106            LaunchCmdFcn=SeriesData.SeriesParam.ClusterParam.LaunchCmdFcn;
Note: See TracChangeset for help on using the changeset viewer.