Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openfpm_pdata
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
argupta
openfpm_pdata
Commits
369aab6a
Commit
369aab6a
authored
9 years ago
by
Pietro Incardona
Browse files
Options
Downloads
Patches
Plain Diff
Fixing installation script
parent
7368581a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
configure.ac
+1
-2
1 addition, 2 deletions
configure.ac
install
+1
-1
1 addition, 1 deletion
install
m4/ax_cuda.m4
+4
-2
4 additions, 2 deletions
m4/ax_cuda.m4
src/Makefile.am
+1
-1
1 addition, 1 deletion
src/Makefile.am
with
7 additions
and
6 deletions
configure.ac
+
1
−
2
View file @
369aab6a
...
...
@@ -98,8 +98,6 @@ AX_BOOST([1.52],[],[echo "boost not found"
####### Checking for GPU support
AX_CUDA
## detect for NVCC
if test x"$NVCC_EXIST" = x"yes"; then
...
...
@@ -115,6 +113,7 @@ if test x"$NVCC_EXIST" = x"yes"; then
AC_MSG_RESULT($gpu_support)
if test x"$gpu_support" = x"yes"; then
AX_CUDA
AC_DEFINE([GPU],[],[GPU support])
fi
else
...
...
This diff is collapsed.
Click to expand it.
install
+
1
−
1
View file @
369aab6a
...
...
@@ -60,7 +60,7 @@ if [ $install_req -eq 0 ]; then
else
while
[
$conf_err
-ne
0
]
do
./configure
$configure_options
./configure
$options
$configure_options
conf_err
=
$?
echo
"Configure script terminated with
$conf_err
"
...
...
This diff is collapsed.
Click to expand it.
m4/ax_cuda.m4
+
4
−
2
View file @
369aab6a
...
...
@@ -56,8 +56,10 @@ AS_IF([test "x$NVCC_EXIST" = "xno"],[],[
# If $build_cpu contains "_64", append "64" to CUDA_LIBS
AS_IF([echo $build_cpu | grep -q "_64"],
[CUDA_LIBS+="64"])
[
AS_IF([-d {CUDA_LIBS}lib64], [ CUDA_LIBS+="64" ], [ ])
])
# Append " -lcuda -lcudart" to CUDA_LIBS
CUDA_LIBS+=" -lcuda -lcudart"
...
...
This diff is collapsed.
Click to expand it.
src/Makefile.am
+
1
−
1
View file @
369aab6a
...
...
@@ -5,7 +5,7 @@ bin_PROGRAMS = pdata
pdata_SOURCES
=
main.cpp ../openfpm_devices/src/memory/HeapMemory.cpp ../openfpm_devices/src/memory/PtrMemory.cpp ../openfpm_vcluster/src/VCluster.cpp ../openfpm_data/src/Memleak_check.cpp
pdata_CXXFLAGS
=
$(
CUDA_CFLAGS
)
$(
INCLUDES_PATH
)
$(
METIS_INCLUDE
)
$(
BOOST_CPPFLAGS
)
pdata_CFLAGS
=
$(
CUDA_CFLAGS
)
pdata_LDADD
=
$(
LINKLIBS
)
-L
/usr/lib64/nvidia-bumblebee/
-lmetis
pdata_LDADD
=
$(
LINKLIBS
)
-lmetis
.cu.o
:
$(
NVCC
)
$(
NVCCFLAGS
)
-o
$@
-c
$<
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