pschmidtwalter / LWFBrook90R

Run the LWF-Brook90 hydrological model within R.
https://pschmidtwalter.github.io/LWFBrook90R/
11 stars 7 forks source link

switch the entire parallel computing approach #29

Closed rnuske closed 4 years ago

rnuske commented 4 years ago

As described in detail in issue #28, this pull request switches the parallel computing code from the superseded snow & doSNOW to future, doFuture & progressr.

The foreach-code remained unchanged (the snow-opts were droped and only one additional export was needed).

The results of the examples of mrunLWFB90() and msiterunLWFB90() are identical before and after the switch (warnings now displayed by mrunLWFB90() were so far concealed by doSNOW and foreach cf. #30).