Added barrier when writing the grid shapefile to make sure that all the...

Added barrier when writing the grid shapefile to make sure that all the process have their own grid shapefile.
3 jobs for develop-13-gfas-parallel-freeze
in 1 minute and 38 seconds, using 0 compute credits, and was queued for 3 seconds