MPI

mpicc, mpic++, mpicxx mpiexec, mpirun mpichversion

mpicc 仅可编译 .c 文件,编译 .cpp文件会报错 mpic++ 编译 .cpp 文件

MPI标准的不同实现:MPICH、MVAPICH、MVAPICH2、Open MPI

NP Completeness

NP完全性的核心逻辑

NP完全问题是为了反映一个问题有多难,而不是为了反应它有多简单

Variables in Linux

Types of variables

  1. Environment/Global Variables
  2. Shell/Local Variables

The difference between these two variables is that environment variables can be interviewed by child processes, i.e. the so-called global variables are only shared within the process hierarchy of the current process(进程链), existing only between the current process and its child processes. Environment variables of other processes and those of the current process are not shared. But Shell variables can only be interviewed by current process.

Makefile

variables1

It should be noted that the usage of site a variable in makefile is different from using it in shell.

0%