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
1c8feed6
Commit
1c8feed6
authored
6 years ago
by
Stefan Paquay
Browse files
Options
Downloads
Patches
Plain Diff
Removed gpu makefile from wrong branch.
parent
84de0d38
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/gpu/Makefile.linux
+0
-52
0 additions, 52 deletions
lib/gpu/Makefile.linux
with
0 additions
and
52 deletions
lib/gpu/Makefile.linux
deleted
100644 → 0
+
0
−
52
View file @
84de0d38
# /* ----------------------------------------------------------------------
# Generic Linux Makefile for CUDA
# - Change CUDA_ARCH for your GPU
# ------------------------------------------------------------------------- */
# which file will be copied to Makefile.lammps
EXTRAMAKE
=
Makefile.lammps.standard
ifeq
($(CUDA_HOME),)
CUDA_HOME
=
/opt/cuda
endif
NVCC
=
nvcc
# older CUDA
#CUDA_ARCH = -arch=sm_21
# newer CUDA
#CUDA_ARCH = -arch=sm_13
# older CUDA
#CUDA_ARCH = -arch=sm_10 -DCUDA_PRE_THREE
CUDA_ARCH
=
-arch
=
sm_61
# this setting should match LAMMPS Makefile
# one of LAMMPS_SMALLBIG (default), LAMMPS_BIGBIG and LAMMPS_SMALLSMALL
LMP_INC
=
-DLAMMPS_SMALLBIG
# precision for GPU calculations
# -D_SINGLE_SINGLE # Single precision for all calculations
# -D_DOUBLE_DOUBLE # Double precision for all calculations
# -D_SINGLE_DOUBLE # Accumulation of forces, etc. in double
CUDA_PRECISION
=
-D_SINGLE_DOUBLE
CUDA_INCLUDE
=
-I
$(
CUDA_HOME
)
/include
CUDA_LIB
=
-L
$(
CUDA_HOME
)
/lib64
CUDA_OPTS
=
-DUNIX
-O3
-Xptxas
-v
--use_fast_math
$(
LMP_INC
)
-Xcompiler
-fPIC
CUDR_CPP
=
mpicxx
-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
BIN_DIR
=
./
OBJ_DIR
=
./
LIB_DIR
=
./
AR
=
ar
BSH
=
/bin/sh
CUDPP_OPT
=
-DUSE_CUDPP
-Icudpp_mini
include
Nvidia.makefile
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