Skip to content

Commit

Permalink
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12484 f3b2605a-…
Browse files Browse the repository at this point in the history
…c512-4ea7-a41b-209d697bcdaa
  • Loading branch information
sjplimp committed Sep 11, 2014
1 parent fb2b228 commit 17a7fb2
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 18 deletions.
2 changes: 1 addition & 1 deletion doc/accelerate_intel.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ <H4>5.3.3 USER-INTEL package
<P>Here is a quick overview of how to use the USER-INTEL package
for CPU acceleration:
</P>
<UL><LI>specify these CCFLAGS in your Makefile.machine: -fopenmp, -DLAMMPS_MEMALIGN=64, and -restrict, -xHost
<UL><LI>specify these CCFLAGS in your src/MAKE/Makefile.machine: -fopenmp, -DLAMMPS_MEMALIGN=64, -restrict, -xHost
<LI>specify -fopenmp with LINKFLAGS in your Makefile.machine
<LI>include the USER-INTEL package and (optionally) USER-OMP package and build LAMMPS
<LI>if using the USER-OMP package, specify how many threads per MPI task to use
Expand Down
2 changes: 1 addition & 1 deletion doc/accelerate_intel.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ package is available.
Here is a quick overview of how to use the USER-INTEL package
for CPU acceleration:

specify these CCFLAGS in your Makefile.machine: -fopenmp, -DLAMMPS_MEMALIGN=64, and -restrict, -xHost
specify these CCFLAGS in your src/MAKE/Makefile.machine: -fopenmp, -DLAMMPS_MEMALIGN=64, -restrict, -xHost
specify -fopenmp with LINKFLAGS in your Makefile.machine
include the USER-INTEL package and (optionally) USER-OMP package and build LAMMPS
if using the USER-OMP package, specify how many threads per MPI task to use
Expand Down
11 changes: 5 additions & 6 deletions doc/accelerate_omp.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,11 @@ <H4>5.3.5 USER-OMP package
make yes-user-omp
make machine
</PRE>
<P>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.
</P>
<P><B>Run with the USER-OMP package from the command line:</B>
<P>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".
</P>
<P>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
Expand Down
11 changes: 5 additions & 6 deletions doc/accelerate_omp.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions doc/accelerate_opt.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ <H4>5.3.6 OPT package
make yes-opt
make machine
</PRE>
<P>No additional compile/link flags are needed in your Makefile.machine
in src/MAKE.
<P>If you are using Intel compilers, then the CCFLAGS setting in your
src/MAKE/Makefile.machine needs to include "-restrict".
</P>
<P><B>Run with the OPT package from the command line:</B>
</P>
Expand Down
4 changes: 2 additions & 2 deletions doc/accelerate_opt.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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:]

Expand Down

0 comments on commit 17a7fb2

Please sign in to comment.