diff --git a/doc/accelerate_intel.html b/doc/accelerate_intel.html index a96a13b1d3..ea5bf80095 100644 --- a/doc/accelerate_intel.html +++ b/doc/accelerate_intel.html @@ -44,7 +44,7 @@ package is available.
Here is a quick overview of how to use the USER-INTEL package for CPU acceleration:
-Your src/MAKE/Makefile.machine needs a flag for OpenMP support in both -the CCFLAGS and LINKFLAGS variables. For GNU and Intel compilers, -this flag is "-fopenmp". Without this flag the USER-OMP styles will -still be compiled and work, but will not support multi-threading. -
-Run with the USER-OMP package from the command line: +
The CCFLAGS setting in your src/MAKE/Makefile.machine needs "-fopenmp" +to add OpenMP support. This works for both the GNU and Intel +compilers. Without this flag the USER-OMP styles will still be +compiled and work, but will not support multi-threading. For the +Intel compilers the CCFLAGS setting also needs to include "-restrict".
The mpirun or mpiexec command sets the total number of MPI tasks used by LAMMPS (one or multiple per compute node) and the number of MPI diff --git a/doc/accelerate_omp.txt b/doc/accelerate_omp.txt index e2ededf5e7..768c7061f3 100644 --- a/doc/accelerate_omp.txt +++ b/doc/accelerate_omp.txt @@ -45,12 +45,11 @@ cd lammps/src make yes-user-omp make machine :pre -Your src/MAKE/Makefile.machine needs a flag for OpenMP support in both -the CCFLAGS and LINKFLAGS variables. For GNU and Intel compilers, -this flag is "-fopenmp". Without this flag the USER-OMP styles will -still be compiled and work, but will not support multi-threading. - -[Run with the USER-OMP package from the command line:] +The CCFLAGS setting in your src/MAKE/Makefile.machine needs "-fopenmp" +to add OpenMP support. This works for both the GNU and Intel +compilers. Without this flag the USER-OMP styles will still be +compiled and work, but will not support multi-threading. For the +Intel compilers the CCFLAGS setting also needs to include "-restrict". The mpirun or mpiexec command sets the total number of MPI tasks used by LAMMPS (one or multiple per compute node) and the number of MPI diff --git a/doc/accelerate_opt.html b/doc/accelerate_opt.html index 1293c2f637..73235407b8 100644 --- a/doc/accelerate_opt.html +++ b/doc/accelerate_opt.html @@ -42,8 +42,8 @@ input script. make yes-opt make machine -
No additional compile/link flags are needed in your Makefile.machine -in src/MAKE. +
If you are using Intel compilers, then the CCFLAGS setting in your +src/MAKE/Makefile.machine needs to include "-restrict".
Run with the OPT package from the command line:
diff --git a/doc/accelerate_opt.txt b/doc/accelerate_opt.txt index d7e9225720..0f5e9c5473 100644 --- a/doc/accelerate_opt.txt +++ b/doc/accelerate_opt.txt @@ -39,8 +39,8 @@ cd lammps/src make yes-opt make machine :pre -No additional compile/link flags are needed in your Makefile.machine -in src/MAKE. +If you are using Intel compilers, then the CCFLAGS setting in your +src/MAKE/Makefile.machine needs to include "-restrict". [Run with the OPT package from the command line:]