[mpas-developers] COMMIT CHECK: Don't fail if variables and/or dimensions are not present in input file
    Doug Jacobsen 
    jacobsen.douglas at gmail.com
       
    Tue Oct 16 15:19:52 MDT 2012
    
    
  
Hello All,
I would like to propose another trunk commit. This commit modifies
mpas_io.F.
Currently, if a dimension or is not present in an input/restart file and a
variable is dimensioned using this dimension mpas will fail upon doing a
halo update on the field. This happens because the missing dimension is -1
and MPI doesn't appreciate this.
In this fix, I set the default dimension to 1, but print a warning to
log.*.err that says the dimension was missing and to ensure that it was
present in the input file if it should not be 1.
Please let me know if anyone has an issue with this, if not I'll probably
commit it tomorrow since it's only 2 lines of code that change.
Thanks,
Doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/mpas-developers/attachments/20121016/b29489fe/attachment.html 
    
    
More information about the mpas-developers
mailing list