Description Details Author(s) References See Also Examples
This package adds collective parallel read and write capability to the R package ncdf4 version 1.8. Typical use is as a parallel NetCDF4 file reader in SPMD style programming. Each R process reads and writes its own data in a synchronized collective mode, resulting in faster parallel performance. Performance improvement is conditional on a parallel file system.
Package: | pbdNCDF4 |
Type: | Package |
License: | GPL |
LazyLoad: | yes |
The parallel HDF5 and NetCDF4 (version 4.1 or later) libraries are
prerequisite, then this package will link with them and improve the
I/O performance via three mainly functions nc_creat_par
,
nc_open_par
, and nc_var_par_access
added to the original
ncdf4 (1.8) package to enable collective reading and writing.
If only serial NetCDF4 and HDF5 libraries are available, then this package will function exactly the same as ncdf4. All functionalities of ncdf4 (version 1.8) are followed.
George Ostrouchov, Pragneshkumar Patel pragnesh@utk.edu, Wei-Chen Chen, Drew Schmidt, and David Pierce.
The HDF Group: http://www.hdfgroup.org/HDF5/
Unidata: http://www.unidata.ucar.edu/software/netcdf/
Programming with Big Data in R Website: http://r-pbd.org/
nc_create_par
, nc_open_par
, nc_var_par_access
,
and ncdump
.
1 2 3 4 5 6 7 8 | ## Not run:
### Under command mode, run the demo with 2 processors by
### (Use Rscript.exe for windows system)
mpiexec -np 2 Rscript -e "demo(ncwrite,'pbdNCDF4',ask=F,echo=F)"
mpiexec -np 2 Rscript -e "demo(ncread,'pbdNCDF4',ask=F,echo=F)"
mpiexec -np 2 Rscript -e "demo(ncdump,'pbdNCDF4',ask=F,echo=F)"
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.