Changeset 1202 for trunk/src/series.m
- Timestamp:
- Mar 24, 2026, 3:46:06 PM (2 days ago)
- File:
-
- 1 edited
-
trunk/src/series.m (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series.m
r1200 r1202 436 436 end 437 437 %% launch the browser 438 fileinput=uigetfile_uvmat('pick an input file in the series',oldfile);438 fileinput=uigetfile_uvmat('pick an input data file in the series',oldfile); 439 439 hh=dir(fileinput); 440 440 if numel(hh)>1 441 441 msgbox_uvmat('ERROR','invalid input, probably a broken link'); 442 else 442 else 443 443 if ~isempty(fileinput) 444 444 display_file_name(handles,fileinput,'one') … … 470 470 471 471 %% launch the browser 472 fileinput=uigetfile_uvmat('pick a file to append in the input table',oldfile);472 fileinput=uigetfile_uvmat('pick a data file to append in the input table',oldfile); 473 473 hh=dir(fileinput); 474 474 if numel(hh)>1 … … 756 756 XmlData=[]; 757 757 if ~isempty(XmlFileName) 758 XmlData=read_imadoc (XmlFileName);%read the imadoc file through the local fct read_imadoc758 XmlData=read_imadoct(XmlFileName);%read the imadoc file through the local fct read_imadoc 759 759 if isfield(XmlData,'FileSeries') && Rank==0 760 760 set(handles.Relabel,'Visible','on') … … 1878 1878 set(handles.InputTable,'Data',Param.InputTable) 1879 1879 set(handles.OutputPath,'String',OutputPath) 1880 set(handles.Experiment,'String',ListExpOut{iexp})1880 set(handles.Experiment,'String',ListExpOut{iexp}) 1881 1881 set(handles.Device,'String',ListDeviceOut{iexp}) 1882 1882 Param.Experiment=ListExpOut{iexp}; … … 1982 1982 NbProcess=Param.IndexRange.NbSlice; % the parameter NbSlice sets the nbre of run processes 1983 1983 end 1984 1984 1985 1985 % %proposed number of cores to reserve in the cluster 1986 if isfield(SeriesData.ClusterParam,'NbCoreAdvised')1986 if isfield(SeriesData.ClusterParam,'NbCoreAdvised') 1987 1987 NbCoreAdvised=SeriesData.ClusterParam.NbCoreAdvised; 1988 1988 else 1989 1989 disp('ClusterParam.NbCoreAdvised not documented in series.xml, set to 16 by default') 1990 1990 NbCoreAdvised=16; 1991 end1992 if isfield(SeriesData.ClusterParam,'NbCoreMax')1991 end 1992 if isfield(SeriesData.ClusterParam,'NbCoreMax') 1993 1993 NbCoreMax=min(NbProcess,SeriesData.ClusterParam.NbCoreMax);% reduces the number of cores if it exceeds the number of processes 1994 1994 else 1995 1995 disp('ClusterParam.NbCoreMax not documented in series.xml, set to 36 by default') 1996 1996 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) 1997 2004 end 1998 if NbCoreMax~=12005 %%%%%%%%%%% 1999 2006 if strcmp(ActionExt,'.m')% case of Matlab function (uncompiled) 2000 2007 warning_string=', preferably use .sh option to save Matlab licences';
Note: See TracChangeset
for help on using the changeset viewer.
