Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PuReMD
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
SParTA
PuReMD
Commits
1ea20ff7
Commit
1ea20ff7
authored
7 years ago
by
Kurt A. O'Hearn
Browse files
Options
Downloads
Patches
Plain Diff
PG-PuReMD: update build system to include CUB. Other refactoring.
parent
03b675eb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile.am
+2
-2
2 additions, 2 deletions
Makefile.am
PG-PuReMD/configure.ac
+7
-9
7 additions, 9 deletions
PG-PuReMD/configure.ac
configure.ac
+0
-1
0 additions, 1 deletion
configure.ac
with
9 additions
and
12 deletions
Makefile.am
+
2
−
2
View file @
1ea20ff7
...
...
@@ -2,6 +2,7 @@ ACLOCAL_AMFLAGS = -I m4
SUBDIRS
=
DIST_SUBDIRS
=
EXTRA_DIST
=
data environ tools
if
BUILD_S_OMP
SUBDIRS
+=
PuReMD-GPU
...
...
@@ -18,6 +19,7 @@ endif
if
BUILD_MPI_GPU
SUBDIRS
+=
PG-PuReMD
DIST_SUBDIRS
+=
PG-PuReMD
EXTRA_DIST
+=
PG-PuReMD/src/cub
endif
if
BUILD_DOC
...
...
@@ -25,7 +27,5 @@ SUBDIRS += doc
DIST_SUBDIRS
+=
doc
endif
EXTRA_DIST
=
data environ tools
dist-hook
:
rm
-rf
`
find
$(
distdir
)
-name
.git
`
This diff is collapsed.
Click to expand it.
PG-PuReMD/configure.ac
+
7
−
9
View file @
1ea20ff7
...
...
@@ -4,6 +4,8 @@
AC_PREREQ([2.69])
AC_INIT([PG-PuReMD], [1.0], [ohearnku@msu.edu hma@msu.edu])
# Do not allow AC_PROG_CC to set CFLAGS (this line must be after AC_INIT but before AC_PROG_CC)
sav_CFLAGS="$CFLAGS"
: ${CFLAGS=""}
AM_INIT_AUTOMAKE([1.15 subdir-objects -Wall -Werror foreign])
# Enable silent build rules by default.
...
...
@@ -22,8 +24,9 @@ AC_DEFUN([CONFIGURE_HEADLINE],
AC_LANG([C])
# Checks for programs.
AC_PROG_CC([icc gcc cc])
AC_PROG_CC([icc gcc
clang
cc])
AC_PROG_CPP
CFLAGS="$sav_CFLAGS"
AX_COMPILER_VENDOR
...
...
@@ -53,7 +56,7 @@ AC_CHECK_FUNCS([gettimeofday memset])
# Check for MPI support.
CONFIGURE_HEADLINE([ MPI compiler ])
ACX_MPI([], [AC_MSG_ERROR([could not find
mpi
library])])
ACX_MPI([], [AC_MSG_ERROR([could not find
MPI
library])])
AC_CHECK_PROG(MPIRUN, mpirun, mpirun)
AC_SUBST(MPIRUN)
...
...
@@ -69,9 +72,7 @@ AC_CHECK_DECL([MPICH2], [mpi_vendor="MPICH"],
CC="$sav_CC"
CFLAGS="$sav_CFLAGS"
#
# try to set MPI_CFLAGS and MPI_LIBS
#
MPI_CFLAGS=
MPI_LIBS=
if test "$mpi_vendor" = "OpenMPI"
...
...
@@ -116,7 +117,7 @@ AC_SUBST(MPI_LIBS)
AC_LANG([C++])
# Checks for programs.
AC_PROG_CXX([icpc g++ c++])
AC_PROG_CXX([icpc g++
clang++
c++])
AC_PROG_CXXCPP
AX_COMPILER_VENDOR
...
...
@@ -127,10 +128,7 @@ if test "x$BUILD_GPU" = "xyes"; then
AX_CUDA
NVCCFLAGS=
if test "$ax_cv_cxx_compiler_vendor" = "intel"
then
NVCCFLAGS+=" -ccbin=icpc"
fi
NVCCFLAGS+=" -ccbin=$CXX"
if test "BUILD_DEBUG" = "true"
then
NVCCFLAGS+=" -g -G"
...
...
This diff is collapsed.
Click to expand it.
configure.ac
+
0
−
1
View file @
1ea20ff7
...
...
@@ -4,7 +4,6 @@
AC_PREREQ([2.69])
AC_INIT([PuReMD], [1.0], [ohearnku@msu.edu hma@msu.edu])
: ${CFLAGS=""}
AM_INIT_AUTOMAKE([1.15 -Wall -Werror])
# Enable silent build rules by default.
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])], [AC_SUBST([AM_DEFAULT_VERBOSITY],[1])])
...
...
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