Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lammps
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
multiscale
lammps
Commits
e5fb28a6
Commit
e5fb28a6
authored
8 years ago
by
sjplimp
Browse files
Options
Downloads
Patches
Plain Diff
git-svn-id:
svn://svn.icms.temple.edu/lammps-ro/trunk@15199
f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent
a9080364
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
lib/gpu/Makefile.fermi
+7
-8
7 additions, 8 deletions
lib/gpu/Makefile.fermi
lib/gpu/Makefile.lammps.standard
+8
-2
8 additions, 2 deletions
lib/gpu/Makefile.lammps.standard
lib/gpu/Makefile.linux
+5
-1
5 additions, 1 deletion
lib/gpu/Makefile.linux
with
20 additions
and
11 deletions
lib/gpu/Makefile.fermi
+
7
−
8
View file @
e5fb28a6
#CUDA_HOME = $(HOME)/cuda-4.0
NVCC
=
$(
CUDA_HOME
)
/bin/nvcc
CUDA_HOME
=
$(
HOME
)
/cuda
EXTRAMAKE
=
Makefile.lammps.standard
NVCC
=
$(
CUDA_HOME
)
/bin/nvcc
CUDA_ARCH
=
-arch
=
sm_
20
CUDA_ARCH
=
-arch
=
sm_
35
CUDA_PRECISION
=
-D_SINGLE_DOUBLE
CUDA_PRECISION
=
-D_SINGLE_DOUBLE
CUDA_INCLUDE
=
-I
$(
CUDA_HOME
)
/include
CUDA_INCLUDE
=
-I
$(
CUDA_HOME
)
/include
CUDA_LIB
=
-L
$(
CUDA_HOME
)
/lib64
-Xlinker
-rpath
-Xlinker
$(
CUDA_HOME
)
/lib64
CUDA_LIB
=
-L
$(
CUDA_HOME
)
/lib64
-Xlinker
-rpath
-Xlinker
$(
CUDA_HOME
)
/lib64
-lcudart
CUDA_OPTS
=
-DUNIX
-O3
-Xptxas
-v
--use_fast_math
CUDA_OPTS
=
-DUNIX
-O3
-Xptxas
-v
--use_fast_math
--ftz
=
true
CUDR_CPP
=
mpic++
-DMPI_GERYON
-DUCL_NO_EXIT
-I
$(
CUDA_HOME
)
/include
CUDR_CPP
=
mpic++
-DMPI_GERYON
-DUCL_NO_EXIT
-I
$(
CUDA_HOME
)
/include
CUDR_OPTS
=
-O3
-ffast-math
-funroll-loops
-DMPI_GERYON
CUDR_OPTS
=
-O3
-ffast-math
-funroll-loops
-DMPI_GERYON
-DLAMMPS_SMALLBIG
BIN_DIR
=
.
BIN_DIR
=
.
OBJ_DIR
=
obj
OBJ_DIR
=
obj
...
@@ -17,7 +16,7 @@ LIB_DIR = .
...
@@ -17,7 +16,7 @@ LIB_DIR = .
AR
=
ar
AR
=
ar
BSH
=
/bin/sh
BSH
=
/bin/sh
CUDPP_OPT
=
-DUSE_CUDPP
-Icudpp_mini
CUDPP_OPT
=
#
-DUSE_CUDPP -Icudpp_mini
include
Nvidia.makefile
include
Nvidia.makefile
This diff is collapsed.
Click to expand it.
lib/gpu/Makefile.lammps.standard
+
8
−
2
View file @
e5fb28a6
# Settings that the LAMMPS build will import when this package library is used
# Settings that the LAMMPS build will import when this package library is used
# settings for Nvidia CUDA and OpenCL builds
ifeq
($(CUDA_HOME),)
CUDA_HOME
=
/usr/local/cuda
endif
gpu_SYSINC
=
gpu_SYSINC
=
gpu_SYSLIB
=
-lcudart
-lcuda
gpu_SYSLIB
=
-lcudart
-lcuda
gpu_SYSPATH
=
-L
/usr/local/cuda/lib64
gpu_SYSPATH
=
-L
$(
CUDA_HOME
)
/lib64
This diff is collapsed.
Click to expand it.
lib/gpu/Makefile.linux
+
5
−
1
View file @
e5fb28a6
...
@@ -7,7 +7,10 @@
...
@@ -7,7 +7,10 @@
EXTRAMAKE
=
Makefile.lammps.standard
EXTRAMAKE
=
Makefile.lammps.standard
ifeq($(CUDA_HOME),)
CUDA_HOME
=
/usr/local/cuda
CUDA_HOME
=
/usr/local/cuda
endif
NVCC
=
nvcc
NVCC
=
nvcc
# Tesla CUDA
# Tesla CUDA
...
@@ -16,6 +19,7 @@ CUDA_ARCH = -arch=sm_21
...
@@ -16,6 +19,7 @@ CUDA_ARCH = -arch=sm_21
#CUDA_ARCH = -arch=sm_13
#CUDA_ARCH = -arch=sm_13
# older CUDA
# older CUDA
#CUDA_ARCH = -arch=sm_10 -DCUDA_PRE_THREE
#CUDA_ARCH = -arch=sm_10 -DCUDA_PRE_THREE
CUDA_ARCH
=
-arch
=
sm_35
# this setting should match LAMMPS Makefile
# this setting should match LAMMPS Makefile
# one of LAMMPS_SMALLBIG (default), LAMMPS_BIGBIG and LAMMPS_SMALLSMALL
# one of LAMMPS_SMALLBIG (default), LAMMPS_BIGBIG and LAMMPS_SMALLSMALL
...
@@ -33,7 +37,7 @@ CUDA_INCLUDE = -I$(CUDA_HOME)/include
...
@@ -33,7 +37,7 @@ CUDA_INCLUDE = -I$(CUDA_HOME)/include
CUDA_LIB
=
-L
$(
CUDA_HOME
)
/lib64
CUDA_LIB
=
-L
$(
CUDA_HOME
)
/lib64
CUDA_OPTS
=
-DUNIX
-O3
-Xptxas
-v
--use_fast_math
$(
LMP_INC
)
CUDA_OPTS
=
-DUNIX
-O3
-Xptxas
-v
--use_fast_math
$(
LMP_INC
)
CUDR_CPP
=
mpic++
-DMPI_GERYON
-DUCL_NO_EXIT
-DMPICH_IGNORE_CXX_SEEK
CUDR_CPP
=
mpic++
-DMPI_GERYON
-DUCL_NO_EXIT
-DMPICH_IGNORE_CXX_SEEK
-DOMPI_SKIP_MPICXX
=
1
-fPIC
CUDR_OPTS
=
-O2
$(
LMP_INC
)
# -xHost -no-prec-div -ansi-alias
CUDR_OPTS
=
-O2
$(
LMP_INC
)
# -xHost -no-prec-div -ansi-alias
BIN_DIR
=
./
BIN_DIR
=
./
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment