update docs for autodetected OpenMP compatibility
This commit is contained in:
@ -159,11 +159,11 @@ others (e.g. GCC version 9 and beyond, Clang version 10 and later) may
|
|||||||
implement strict OpenMP 4.0 and later semantics, which are incompatible
|
implement strict OpenMP 4.0 and later semantics, which are incompatible
|
||||||
with the OpenMP 3.1 semantics used in LAMMPS for maximal compatibility
|
with the OpenMP 3.1 semantics used in LAMMPS for maximal compatibility
|
||||||
with compiler versions in use. If compilation with OpenMP enabled fails
|
with compiler versions in use. If compilation with OpenMP enabled fails
|
||||||
because of your compiler requiring strict OpenMP 4.0 semantic, you can
|
because of your compiler requiring strict OpenMP 4.0 semantics, you can
|
||||||
change the behavior by adding ``-D LAMMPS_OMP_COMPAT=4`` to the
|
change the behavior by adding ``-D LAMMPS_OMP_COMPAT=4`` to the
|
||||||
``LMP_INC`` variable in your makefile, or add it to the command line
|
``LMP_INC`` variable in your makefile, or add it to the command line
|
||||||
while configuring with CMake. CMake will detect the suitable setting for
|
while configuring with CMake. LAMMPS will autodetect a suitable setting
|
||||||
the GNU, Clang, and Intel compilers.
|
for most GNU, Clang, and Intel compilers.
|
||||||
|
|
||||||
----------
|
----------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user