Changeset 1202 for trunk/src/series.m


Ignore:
Timestamp:
Mar 24, 2026, 3:46:06 PM (2 days ago)
Author:
sommeria
Message:

parciv added and erasing bad file in complement series

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series.m

    r1200 r1202  
    436436end
    437437%% launch the browser
    438 fileinput=uigetfile_uvmat('pick an input file in the series',oldfile);
     438fileinput=uigetfile_uvmat('pick an input data file in the series',oldfile);
    439439hh=dir(fileinput);
    440440if numel(hh)>1
    441441    msgbox_uvmat('ERROR','invalid input, probably a broken link');
    442 else
     442else 
    443443    if ~isempty(fileinput)
    444444        display_file_name(handles,fileinput,'one')
     
    470470
    471471%% launch the browser
    472 fileinput=uigetfile_uvmat('pick a file to append in the input table',oldfile);
     472fileinput=uigetfile_uvmat('pick a data file to append in the input table',oldfile);
    473473hh=dir(fileinput);
    474474if numel(hh)>1
     
    756756XmlData=[];
    757757if ~isempty(XmlFileName)
    758     XmlData=read_imadoc(XmlFileName);%read the imadoc file through the local fct read_imadoc
     758    XmlData=read_imadoct(XmlFileName);%read the imadoc file through the local fct read_imadoc
    759759    if isfield(XmlData,'FileSeries') && Rank==0
    760760        set(handles.Relabel,'Visible','on')
     
    18781878        set(handles.InputTable,'Data',Param.InputTable)
    18791879        set(handles.OutputPath,'String',OutputPath)
    1880          set(handles.Experiment,'String',ListExpOut{iexp})
     1880        set(handles.Experiment,'String',ListExpOut{iexp})
    18811881        set(handles.Device,'String',ListDeviceOut{iexp})
    18821882        Param.Experiment=ListExpOut{iexp};
     
    19821982                NbProcess=Param.IndexRange.NbSlice; % the parameter NbSlice sets the nbre of run processes
    19831983            end
    1984            
     1984
    19851985            %         %proposed number of cores to reserve in the cluster
    1986              if isfield(SeriesData.ClusterParam,'NbCoreAdvised')
     1986            if isfield(SeriesData.ClusterParam,'NbCoreAdvised')
    19871987                NbCoreAdvised=SeriesData.ClusterParam.NbCoreAdvised;
    19881988            else
    19891989                disp('ClusterParam.NbCoreAdvised not documented in series.xml, set to 16 by default')
    19901990                NbCoreAdvised=16;
    1991              end
    1992                 if isfield(SeriesData.ClusterParam,'NbCoreMax')
     1991            end
     1992            if isfield(SeriesData.ClusterParam,'NbCoreMax')
    19931993                NbCoreMax=min(NbProcess,SeriesData.ClusterParam.NbCoreMax);% reduces the number of cores if it exceeds the number of processes
    19941994            else
    19951995                disp('ClusterParam.NbCoreMax not documented in series.xml, set to 36 by default')
    19961996                NbCoreMax=min(NbProcess,36);
     1997            end
     1998            if NbCoreMax~=1
     1999                %%%% TEST ELETTA
     2000                if NbCoreMax==0
     2001                    disp(NbProcess)
     2002                     disp(Param.IndexRange.NbSlice)
     2003                    disp(SeriesData.ClusterParam.NbCoreMax)                 
    19972004                end
    1998             if NbCoreMax~=1
     2005                %%%%%%%%%%%
    19992006                if strcmp(ActionExt,'.m')% case of Matlab function (uncompiled)
    20002007                    warning_string=', preferably use .sh option to save Matlab licences';
Note: See TracChangeset for help on using the changeset viewer.