Skip to content

Commit

Permalink
Build: revise some typos (#1322)
Browse files Browse the repository at this point in the history
  • Loading branch information
Qianruipku committed Sep 27, 2022
1 parent e6e3a0e commit 8c27dbd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/advanced/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Specify the location of the compiler and libraries present in your own machine:
#======================================================================
CC = mpiicpc
# mpiicpc: compile intel parallel version
# icpc: compile gnu serial version
# icpc: compile intel serial version
# make: ELPA_DIR, ELPA_INCLUDE_DIR, CEREAL_DIR must also be set.
# make pw: nothing need to be set except LIBXC_DIR
#
Expand Down Expand Up @@ -103,7 +103,7 @@ For example, below is a case where the Intel C++ compiler, Intel MPI and CEREAL
follows:

```makefile
CC = mpiicpc/icpc
CC = mpiicpc #(or CC = icpc)
ELPA_DIR = /public/soft/elpa_21.05.002
ELPA_INCLUDE_DIR = ${ELPA_DIR}/include/elpa-2021.05.002
CEREAL_DIR = /public/soft/cereal
Expand All @@ -126,7 +126,7 @@ When `CC=mpicxx`, a parallel version will be compiled. When `CC=g++`, a serial v

Except modifying `Makefile.vars`, you can also directly use
```makefile
make CC=mpicpc ELPA_DIR=/public/soft/elpa_21.05.002 \
make CC=mpiicpc ELPA_DIR=/public/soft/elpa_21.05.002 \
ELPA_INCLUDE_DIR=${ELPA_DIR}/include/elpa-2021.05.002 \
CEREAL_DIR=/public/soft/cereal
```
Expand Down
2 changes: 1 addition & 1 deletion source/Makefile.vars
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#======================================================================
CC = mpiicpc
# mpiicpc: compile intel parallel version
# icpc: compile gnu serial version
# icpc: compile intel serial version
# make: ELPA_DIR, ELPA_INCLUDE_DIR, CEREAL_DIR must also be set.
# make pw: nothing need to be set except LIBXC_DIR
#
Expand Down

0 comments on commit 8c27dbd

Please sign in to comment.