useDynLib(pbdBASE, R_nbd, R_NUMROC, R_PDLAPRNT, g2l_coords, l2g_coords, R_optimal_grid, R_blacs_init, R_igsum2d1, R_dgsum2d1, R_igamx2d1, R_dgamx2d1, R_igamn2d1, R_dgamn2d1, R_dgesd2d1, R_dgerv2d1, R_PDGELS, R_matexp, R_p_matpow_by_squaring, R_p_matexp_pade, R_PDTRAN, R_PDGEMM, R_PDCROSSPROD, R_PDCHTRI, R_PDCLVAR, R_MKSUBMAT, R_MKGBLMAT, R_DALLREDUCE, R_PTRI2ZERO, R_PDSWEEP, R_RL2BLAS, R_RL2INSERT, R_PDGDGTK, R_PDDIAGMK, R_RCOLCPY, R_RCOLCPY2, R_RROWCPY, R_RROWCPY2, R_PDMVSUM, R_DHILBMK, R_PDHILBMK, R_PDMKCPN1, R_PDGEQPF, R_PDORGQR, R_PDORMQR, R_PDGELQF, R_PDORGLQ, R_PDGETRI, R_PDGESV, R_PDGESVD, R_PDSYEVR, R_PDPOTRF, R_PDSYEVX, R_PDGETRF, R_PDLANGE, R_PDTRCON, R_PDGECON, R_PDGEMR2D, R_g2lcoord)

import(methods, rlecuyer, pbdMPI, pbdSLAP, pbdBASE, pbdDMAT, sqldf)

import(methods, rlecuyer, pbdMPI, pbdSLAP, pbdBASE, pbdDMAT)

import(methods, rlecuyer, pbdMPI, pbdSLAP, Rcpp, pbdBASE)
abs, sqrt, log, log2, log10, log1p, round, ceiling, floor,
sum, mean, prod, rowSums, colSums, rowMeans, colMeans,

sum, mean, prod, rowSums, colSums, rowMeans, colMeans

import(methods, rlecuyer, pbdMPI, pbdSLAP, pbdBASE)
t, "%*%", crossprod, tcrossprod, chol2inv, solve, La.svd, svd, lu,
var, cov, sd, cor, cov2cor, scale, sweep,
as.matrix, ownany, ddmatrix, ddmatrix.local, as.ddmatrix, is.ddmatrix,
is.na, is.nan, is.infinite, is.numeric, head.ddmatrix, tail.ddmatrix,
"qr", "qr.Q", "qr.R", "qr.qty", "qr.qy", "chol2inv",
"lm.fit", "diag", "crossprod", "tcrossprod", "lu",
"as.matrix", "as.vector", "as.ddmatrix", "ddmatrix", "ddmatrix.local",
"nrow", "NROW", "ncol", "NCOL", "dim", "ldim", "bldim", "ICTXT", "submatrix",

useDynLib(pbdDMAT, R_int_sparse_count_zeros, R_sparse_count_zeros, R_convert_dense_to_csr, R_convert_csr_to_dense)

### "useDynLib" should be MARKED and use ".onLoad" and ".onUnload" in "R/zzz.r".
### Since "libmpi.so" should be load before "pbdMPI.so".

importFrom("utils", "write.table", "read.table", "Rprof", "sessionInfo")

export(nc_open_par, nc_create_par, nc_var_par_access, ncdump, vobjtovarid4)

import(methods, graphics, grid, ggplot2, gridExtra)