Changeset 19262


Ignore:
Timestamp:
04/07/15 11:34:43 (10 years ago)
Author:
lemorzad
Message:

last line of pdd variables was not marshalled properly

Location:
issm/trunk-jpl/src/m/classes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/m/classes/SMBd18opdd.m

    r19248 r19262  
    106106                        WriteData(fid,'object',self,'class','surfaceforcings','fieldname','sealev','format','DoubleMat','mattype',1);
    107107
     108                        A=self.Tdiff;
     109                        A(end,:) = A(end,:)*yts;
     110                        WriteData(fid,'data',A,'enum',SurfaceforcingsTdiffEnum(),'format','DoubleMat','mattype',3);
     111
    108112                        if self.isd18opd
    109113                                WriteData(fid,'object',self,'class','surfaceforcings','fieldname','temperatures_presentday','format','DoubleMat','mattype',1);
    110114                                WriteData(fid,'object',self,'class','surfaceforcings','fieldname','precipitations_presentday','format','DoubleMat','mattype',1);
    111                                 WriteData(fid,'object',self,'class','surfaceforcings','fieldname','delta18o','format','DoubleMat','mattype',1);
     115
     116                                D=self.delta18o;
     117                                D(end,:) = D(end,:)*yts;
     118                                WriteData(fid,'data',D,'enum',SurfaceforcingsDelta18oEnum(),'format','DoubleMat','mattype',3);
     119                               
    112120                                WriteData(fid,'object',self,'class','surfaceforcings','fieldname','dpermil','format','Double');
    113                         end
     121
     122   end
    114123                end % }}}
    115124        end
  • TabularUnified issm/trunk-jpl/src/m/classes/SMBpdd.m

    r19227 r19262  
    155155                                WriteData(fid,'object',self,'class','surfaceforcings','fieldname','delta18o_surface','format','DoubleMat','mattype',1);
    156156                                WriteData(fid,'object',self,'class','surfaceforcings','fieldname','delta18o','format','DoubleMat','mattype',1);
    157                                 WriteData(fid,'object',self,'class','surfaceforcings','fieldname','Tdiff','format','DoubleMat','mattype',1);
    158                                 WriteData(fid,'object',self,'class','surfaceforcings','fieldname','sealev','format','DoubleMat','mattype',1);
     157
     158                                A=self.Tdiff
     159                                A(end,:) = A(end,:)*yts;
     160                                WriteData(fid,'data',A,'enum',SurfaceforcingsTdiffEnum(),'format','DoubleMat','mattype',3);
     161                               
     162                                C=self.sealev
     163                                C(end,:) = C(end,:)*yts;                               
     164                                WriteData(fid,'data',C,'enum',SurfaceforcingsSealevEnum(),'format','DoubleMat','mattype',3);
     165
     166                                % WriteData(fid,'object',self,'class','surfaceforcings','fieldname','Tdiff','format','DoubleMat','mattype',1);
     167                                % WriteData(fid,'object',self,'class','surfaceforcings','fieldname','sealev','format','DoubleMat','mattype',1);
    159168                        elseif self.ismungsm
    160169                                WriteData(fid,'object',self,'class','surfaceforcings','fieldname','temperatures_presentday','format','DoubleMat','mattype',1);
     
    162171                                WriteData(fid,'object',self,'class','surfaceforcings','fieldname','precipitations_presentday','format','DoubleMat','mattype',1);
    163172                                WriteData(fid,'object',self,'class','surfaceforcings','fieldname','precipitations_lgm','format','DoubleMat','mattype',1);
    164                                 WriteData(fid,'object',self,'class','surfaceforcings','fieldname','Pfac','format','DoubleMat','mattype',1);
    165                                 WriteData(fid,'object',self,'class','surfaceforcings','fieldname','Tdiff','format','DoubleMat','mattype',1);
    166                                 WriteData(fid,'object',self,'class','surfaceforcings','fieldname','sealev','format','DoubleMat','mattype',1);
     173
     174                                A=self.Tdiff;
     175                                A(end,:) = A(end,:)*yts;
     176                                WriteData(fid,'data',A,'enum',SurfaceforcingsTdiffEnum(),'format','DoubleMat','mattype',3);
     177                               
     178                                B=self.Pfac;
     179                                B(end,:) = B(end,:)*yts;
     180                                WriteData(fid,'data',B,'enum',SurfaceforcingsPfacEnum(),'format','DoubleMat','mattype',3);
     181
     182                                C=self.sealev;
     183                                C(end,:) = C(end,:)*yts;                               
     184                                WriteData(fid,'data',C,'enum',SurfaceforcingsSealevEnum(),'format','DoubleMat','mattype',3);
     185                               
     186                                % WriteData(fid,'object',self,'class','surfaceforcings','fieldname','Pfac','format','DoubleMat','mattype',1);
     187                                % WriteData(fid,'object',self,'class','surfaceforcings','fieldname','Tdiff','format','DoubleMat','mattype',1);
     188                                % WriteData(fid,'object',self,'class','surfaceforcings','fieldname','sealev','format','DoubleMat','mattype',1);
    167189                        end
    168190                end % }}}
  • TabularUnified issm/trunk-jpl/src/m/classes/clusters/acenet.m

    r19200 r19262  
    6868                         fprintf(fid,'#$ -cwd\n');
    6969          fprintf(fid,'#$ -N issm\n');
     70          fprintf(fid,'#$ -l h_rt=00:15:00\n');
    7071          % fprintf(fid,'#$ -l h_rt=25:00:0\n');
    71           fprintf(fid,'#$ -l h_rt=47:59:00\n');
     72          % fprintf(fid,'#$ -l h_rt=47:59:00\n');
    7273          % fprintf(fid,'#$ -l h_rt=72:00:0\n');
    73           % fprintf(fid,'#$ -l h_rt=96:00:0\n');
     74          fprintf(fid,'#$ -l h_rt=96:00:0\n');
    7475          % fprintf(fid,'#$ -l h_rt=336:00:0\n');
    7576
     
    7778
    7879          % ---- Which queue to use ----
    79           % fprintf(fid,'#$ -q tarasov.q\n'); %
    80           %fprintf(fid,'#$ -q medium.q@*,short.q@*\n');
    81           fprintf(fid,'#$ -q short.q@*\n');
     80          %fprintf(fid,'#$ -q tarasov.q\n'); %
     81          fprintf(fid,'#$ -q short.q@*,medium.q@*\n');
     82          %fprintf(fid,'#$ -q medium.q@*\n');
     83          %fprintf(fid,'#$ -q short.q@*\n');
    8284
    8385          % ---- Which node are selected ----
    84           %fprintf(fid,'#$ -l h=cl27*|cl28*|cl29*|cl30*|cl31*|cl320|cl267|cl268|cl269|cl338 \n');
    85           % fprintf(fid,'#$ -l h=cl0* \n');
    86           %fprintf(fid,'#$ -l h=cl338 \n');
     86          % fprintf(fid,'#$ -l h=cl27*|cl28*|cl29*|cl30*|cl31*|cl320|cl267|cl268|cl269|cl338 \n');
     87          %fprintf(fid,'#$ -l h=cl0* \n');
     88          % fprintf(fid,'#$ -l h=cl338 \n');
    8789          % Acenet nodes with 16cpus and more than 60G mem
    8890          % fprintf(fid,'#$ -l h=cl001|cl002|cl003|cl004|cl005|cl006|cl007|cl008|cl009|cl010|cl011|cl012|cl021|cl022|cl023|cl024 \n');
    8991 
    9092          % ---- cpus on different nodes ----
    91           fprintf(fid,'#$ -pe ompi %i\n',cluster.np); % To avoid green acenet that does not have InfiniBand
     93           fprintf(fid,'#$ -pe ompi %i\n',cluster.np); % To avoid green acenet that does not have InfiniBand
    9294          % fprintf(fid,'#$ -pe ompi* %i\n',cluster.np);
     95          %fprintf(fid,'#$ -pe 4per* %i\n',cluster.np);
    9396          % -------- All cpus in the same node --------         
    9497          % fprintf(fid,'#$ -pe openmp %i\n',cluster.np);
Note: See TracChangeset for help on using the changeset viewer.