pnnl / DHSVM-PNNL

43 stars 32 forks source link

Parallel: Restructure 2D Map Input #19

Closed wperkins closed 5 years ago

wperkins commented 5 years ago

Some pretty extensive restructuring of 2D map input was needed. Mainly, this was done to keep MM5 met files open from time step to time step. Opening and closing those files each and every time step was very expensive. I used C++ code to do this, so a C++ compiler is now required. Secondly, I've added the ability to read NetCDF files in parallel (use Format = PNETCDF in the configuration). Serial (Format = NETCDF) and parallel (Format = PNETCDF) NetCDF both work for the cases I've tried, but I've not yet seen a significant advantage using parallel NetCDF on our cluster. More testing is needed.