- Mastering Parallel Programming with R
- Simon R. Chapple Eilidh Troup Thorsten Forster Terence Sloan
- 211字
- 2021-07-02 16:41:53
Conventions
In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "You'll note the use of mpi.cart.create()
, which constructs a Cartesian rank/grid mapping from a group of existing MPI processes."
A block of code is set as follows:
Worker_makeSquareGrid <- function(comm,dim) { grid <- 1000 + dim # assign comm handle for this size grid dims <- c(dim,dim) # dimensions are 2D, size: dim X dim periods <- c(FALSE,FALSE) # no wraparound at outermost edges if (mpi.cart.create(commold=comm,dims,periods,commcart=grid)) { return(grid) } return(-1) # An MPI error occurred }
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
# Namespace file for sprint
useDynLib(sprint)
export(phello)
export(ptest)
export(pcor)
Any command-line input or output is written as follows:
$ mpicc -o mpihello.o mpihello.c $ mpiexec -n 4 ./mpihello.o
New terms and important words are shown in bold.
推薦閱讀
- 自愿審計動機與質量研究:基于我國中期財務報告審計的經驗證據
- VMware vCloud Director Essentials
- 會計信息化基礎(金蝶版)
- SAP ABAP Advanced Cookbook
- 基本有用的計量經濟學
- 行政單位經濟責任審計實務指南
- Stata統計分析與行業應用案例詳解(第2版)
- Microsoft Dynamics CRM 2016 Customization(Second Edition)
- Oracle Enterprise Manager 12c Administration Cookbook
- 審計學理論與實務
- 審計學
- 規范內部審計的28個技巧
- 內部審計數字化轉型:方法論與實踐
- SAP BusinessObjects Reporting Cookbook
- 經濟分析與統計解讀(2012-2013)