Skip to content

Commit d4dfb2d

Browse files
committed
update doc
1 parent 72dc5e7 commit d4dfb2d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

doc/manual/m/install/buildwithcmake.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ an example to compile the GPU code without OpenACC:
1010
.. code-block:: bash
1111
1212
cd tinker9 && mkdir build
13-
FC=gfortran compute_capability=70 gpu_lang=CUDA cmake ..
13+
FC=gfortran compute_capability=70 gpu_lang=cuda cmake ..
1414
make
1515
make test
1616
@@ -51,7 +51,7 @@ Configure Compilers
5151
-------------------
5252
If we are lucky, we do not need to specify compilers in the *cmake*
5353
configuration. However, specifying these compilers is preferred because
54-
programs are not always installed they way we wanted.
54+
programs are not always installed the way we wanted.
5555
Set *CXX=...*, *CUDACXX=...*, and *FC=...* to specify the non-default C++,
5656
CUDA, and Fortran compilers, respectively. These environmental variables
5757
are supported by *cmake*.
@@ -99,9 +99,10 @@ different from the default cmake behavior to install the program under */usr/loc
9999
C++ syntax standard. The source code is c++11-compliant, and should have no
100100
problems compiled with c++14. If set to *14* here, users should make sure
101101
the compilers are c++14-compliant.
102-
In general, Users should not worry about the C++ standard for Tinker9.
103-
Using a more recent C++ standard is unlikely to speed up the performance of
104-
Tinker9 and may harm the availablity of Tinker9 to older machines.
102+
In general, users should not worry about the C++ standard for Tinker9.
103+
Using a more recent C++ standard to write the source code is unlikely
104+
to speed up the performance of Tinker9 and may harm the availability of
105+
Tinker9 to older machines.
105106

106107
**-DPREC (prec) = mixed**
107108

0 commit comments

Comments
 (0)