01_nc_var_par_access: Switch between collective and individual parallel access
Switches between the default individual access and collective access for a
variable in a file that was opened with
(nc, , collective = , verbose = )
An object of class
ncdf4 (as returned by either function
nc_open_par or function
indicating what file to read from.
Variable name or id.
use collective method to read and write.
TRUE, then messages are printed out during execution
of this function.
Default parallel access is individual for variables. Collective access
allows coordination between simultaneous requests within a communicator.
Returns, invisibly, 0 or NetCDF error integer.
George Ostrouchov, Pragneshkumar Patel email@example.com,
Wei-Chen Chen, and Drew Schmidt.
Programming with Big Data in R Website:
## Not run:
### Under command mode, run the demo with 2 processors by
### (Use Rscript.exe for windows system)
mpiexec -np 2 -e "demo(ncwrite,'pbdNCDF4',ask=F,echo=F)"
mpiexec -np 2 -e "demo(ncread,'pbdNCDF4',ask=F,echo=F)"
## End(Not run)