- Timestamp:
- May 1, 2018, 5:11:39 PM (7 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/PARAM.xml.default
r1037 r1038 1 1 <?xml version="1.0"?> 2 2 <UvmatParam> 3 <RunParam> 4 <CivBin>bin/civ<!--binary for the new civx version (relative or 5 absolute path)--></CivBin> 6 <Civ1Bin>bin/civ1<!--binary for civ1 (relative or absolute path) 7 --></Civ1Bin> 8 <Civ2Bin>bin/civ2<!--binary for civ2 (relative or absolute path) 9 --></Civ2Bin> 10 <Civ3D3CBin>bin/civ3d3c</Civ3D3CBin> 11 <FixBin>bin/fix_flag</FixBin> 12 <PatchBin>bin/patch_up</PatchBin> 13 </RunParam> 14 <BatchParam> 15 <CivBin>bin/civ</CivBin> 16 <Civ1Bin>bin/civ1</Civ1Bin> 17 <Civ2Bin>bin/civ2</Civ2Bin> 18 <Civ3D3CBin>bin/civ3d3c</Civ3D3CBin> 19 <FixBin>bin/fix_flag</FixBin> 20 <PatchBin>bin/patch_up</PatchBin> 21 </BatchParam> 3 <RunParam> 4 <CivBin>bin/civ</CivBin> <!-- binary for the new civx version (relative or absolute path) --> 5 <Civ1Bin>bin/civ1</Civ1Bin> <!-- binary for civ1 (relative or absolute path) --> 6 <Civ2Bin>bin/civ2</Civ2Bin> <!-- binary for civ2 (relative or absolute path) --> 7 <Civ3D3CBin>bin/civ3d3c</Civ3D3CBin> 8 <FixBin>bin/fix_flag</FixBin> 9 <PatchBin>bin/patch_up</PatchBin> 10 </RunParam> 11 <BatchParam> 12 <CivBin>bin/civ</CivBin> 13 <Civ1Bin>bin/civ1</Civ1Bin> 14 <Civ2Bin>bin/civ2</Civ2Bin> 15 <Civ3D3CBin>bin/civ3d3c</Civ3D3CBin> 16 <FixBin>bin/fix_flag</FixBin> 17 <PatchBin>bin/patch_up</PatchBin> 18 </BatchParam> 22 19 </UvmatParam> -
trunk/src/dir_uvmat.m
r1037 r1038 1 %'dir_uvmat': list the content of a folder, extending 'dir' to the case of Ope nDapserver1 %'dir_uvmat': list the content of a folder, extending 'dir' to the case of OpeNDAP server 2 2 %-------------------------------------------------------------------- 3 3 %[RootPath,SubDir,RootFile,i1,i2,j1,j2,Ext,NomType]=fileparts_uvmat(FileInput) … … 27 27 %======================================================================= 28 28 29 function [ 29 function [ListFiles,errormsg] = dir_uvmat(DirName) 30 30 errormsg=''; 31 31 if regexp(DirName,'^http://') 32 % OpeNDAP case - read catalog.xml file 32 33 catalog=[DirName,'/catalog.xml']; 33 34 try … … 38 39 return 39 40 end 40 ListFiles=(regexp(str,'xlink:title="(?<name>[^"]+)"','names'))'; %list subfolders41 ListFiles=(regexp(str,'xlink:title="(?<name>[^"]+)"','names'))'; % list subfolders 41 42 NumDir=numel(ListFiles); 42 ListFiles=[ListFiles;(regexp(str,'dataset name="(?<name>[^"]+)"','names'))']; % append files to the list43 ListFiles=[ListFiles;(regexp(str,'dataset name="(?<name>[^"]+)"','names'))']; % append files to the list 43 44 for ilist=1:numel(ListFiles) 44 45 ListFiles(ilist).date=0; … … 52 53 ListFiles(NumDir+1)=[]; 53 54 else 55 % Standart case 54 56 ListFiles=dir(DirName); 55 57 end -
trunk/src/series.xml.default
r1037 r1038 1 1 <?xml version="1.0"?> 2 2 <SeriesParam> 3 4 <ClusterParam>5 <ExistenceTest>oarstat</ExistenceTest>6 <NbCoreAdvised>16</NbCoreAdvised><!--proposed default number of parallel cores attributed for the computations -->7 <NbCoreMax>36</NbCoreMax><!--maximum number of cores allowed for the computations -->8 <JobCPUTimeAdvised unit="minute">20</JobCPUTimeAdvised><!--used to group the iterations into jobs of sufficient CPU time-->9 <JobNumberMax>500</JobNumberMax><!--maximum number of jobs allowed (will group the iterations to fit in)-->10 <WallTimeMax unit="hour">23</WallTimeMax> <!--maximum allowed time for a job -->11 <JobStatCmd>oarstat |grep N=UVmat</JobStatCmd> <!--command to know the number of active and waiting job launches-->12 <LaunchCmdFcn>cluster_command</LaunchCmdFcn> <!--name of the function used to create job launch commmand-->13 </ClusterParam>3 <DiskQuotaCmd>quota -s -g -A</DiskQuotaCmd> 4 <ClusterParam> 5 <ExistenceTest>oarstat</ExistenceTest> 6 <NbCoreAdvised>16</NbCoreAdvised> <!-- proposed default number of parallel cores attributed for the computations --> 7 <NbCoreMax>36</NbCoreMax> <!-- maximum number of cores allowed for the computations --> 8 <JobCPUTimeAdvised unit="minute">20</JobCPUTimeAdvised> <!-- used to group the iterations into jobs of sufficient CPU time --> 9 <JobNumberMax>500</JobNumberMax> <!-- maximum number of jobs allowed (will group the iterations to fit in) --> 10 <WallTimeMax unit="hour">23</WallTimeMax> <!-- maximum allowed time for a job --> 11 <JobStatCmd>oarstat |grep N=UVmat</JobStatCmd> <!-- command to know the number of active and waiting job launches --> 12 <LaunchCmdFcn>cluster_command</LaunchCmdFcn> <!-- name of the function used to create job launch commmand --> 13 </ClusterParam> 14 14 </SeriesParam>
Note: See TracChangeset
for help on using the changeset viewer.