Changeset 12384


Ignore:
Timestamp:
06/07/12 10:35:20 (13 years ago)
Author:
Mathieu Morlighem
Message:

minor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/utils/DataProcessing/pkriging.m

    r12381 r12384  
    77options=pairoptions(varargin{:});
    88cluster=getfieldvalue(options,'cluster',generic('np',10));
     9options=removefield(options,'cluster',0);
    910name   = 'krig';
    1011
     
    2526WriteData(fid,'enum',3,'data',x_interp,'format','DoubleMat');
    2627WriteData(fid,'enum',4,'data',y_interp,'format','DoubleMat');
    27 options.marshall(fid);
     28options.marshall(fid,5);
    2829st=fclose(fid);
    2930if st==-1,
     
    3435%Launch job on remote cluster
    3536BuildKrigingQueueScript(cluster,name,'',1,0,0); %gather, valgrind, gprof
     37tic
    3638LaunchQueueJob(cluster,name,name,{[name '.bin'] [name '.queue']});
     39toc
    3740Download(cluster,name,{[name '.outbin']});
    3841
     
    4043structure=parseresultsfromdisk([name '.outbin'],0);
    4144B=structure.AutodiffForward;
    42 B=reshape(B,size(x_interp,1),size(x_interp,2));
     45B=reshape(B,size(x_interp,1),size(x_interp,2))';
    4346E=structure.AutodiffIsautodiff;
    44 E=reshape(E,size(x_interp,1),size(x_interp,2));
     47E=reshape(E,size(x_interp,1),size(x_interp,2))';
Note: See TracChangeset for help on using the changeset viewer.