Load(): cdo remaps are killed when nprocs > 1
As reported by @cprodhomme , when running, for example
data <- Load('tos', 'm02j', 'ESA', '19930501', output = 'lonlat', grid = 'r512x256')
the CDO remap processes are killed:
* Will now proceed to read and process 5 data files:
* /esnas/exp/*/m02j/monthly_mean/tos_[36]hourly/tos_19930501.nc
* /esnas/obs/esa/monthly_mean/tos/tos_199305.nc
* /esnas/obs/esa/monthly_mean/tos/tos_199306.nc
* /esnas/obs/esa/monthly_mean/tos/tos_199307.nc
* /esnas/obs/esa/monthly_mean/tos/tos_199308.n
* Total size of requested data: 46137344 bytes.
* - Experimental data: ( 1 x 10 x 1 x 4 x 256 x 512 ) x 8 bytes = 41943040 bytes.
* - Observational data: ( 1 x 1 x 1 x 4 x 256 x 512 ) x 8 bytes = 4194304 bytes.
* If size of requested data is close to or above the free shared RAM memory, R will crash.
starting worker pid=21474 on localhost:11860 at 18:12:40.505
starting worker pid=21490 on localhost:11860 at 18:12:40.736
starting worker pid=21506 on localhost:11860 at 18:12:40.911
starting worker pid=21522 on localhost:11860 at 18:12:41.083
starting worker pid=21538 on localhost:11860 at 18:12:41.256
starting worker pid=21554 on localhost:11860 at 18:12:41.437
starting worker pid=21570 on localhost:11860 at 18:12:41.607
starting worker pid=21586 on localhost:11860 at 18:12:41.794
* Loading... This may take several minutes...
sh: line 1: 21643 Killed cdo -s remapcon,r512x256 -selname,tos /tmp/RtmpXyGddu/load53f26db3af14.nc /tmp/RtmpXyGddu/loadRegridded53f253abd3da.nc 2> /dev/null
sh: line 1: 21637 Killed cdo -s remapcon,r512x256 -selname,tos /tmp/RtmpBH3j8J/load540278d8ef2d.nc /tmp/RtmpBH3j8J/loadRegridded5402279a95d2.nc 2> /dev/null
sh: line 1: 21640 Killed cdo -s remapcon,r512x256 -selname,tos /tmp/Rtmp4GWA5V/load54122b879629.nc /tmp/Rtmp4GWA5V/loadRegridded5412498391e0.nc 2> /dev/null
Error in checkForRemoteErrors(val) :
3 nodes produced errors; first error: dims [product 1] do not match the length of object [0]
Error in lapply(found_files, is.null) : object 'found_files' not found
Is this due to lack of RAM memory? Or due to lack of scratch memory? Running with nprocs = 1 works.