Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
openfpm_pdata
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
Sbalzarini Lab
Software
Parallel Computing
OpenFPM
openfpm_pdata
Commits
000fc683
Commit
000fc683
authored
6 years ago
by
Pietro Incardona
Browse files
Options
Downloads
Patches
Plain Diff
Fixing installation with GPU using custom compiler
parent
1804d588
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
configure
+1
-1
1 addition, 1 deletion
configure
install
+5
-1
5 additions, 1 deletion
install
script/install_BOOST.sh
+15
-0
15 additions, 0 deletions
script/install_BOOST.sh
with
21 additions
and
2 deletions
configure
+
1
−
1
View file @
000fc683
...
...
@@ -230,7 +230,7 @@ do
if
[
x
"
$CXX
"
==
x
""
]
;
then
conf_options
=
"
$conf_options
"
else
conf_options
=
"
$conf_options
-DCUDA_HOST_COMPILER=
$CXX
"
conf_options
=
"
$conf_options
-D
CMAKE_
CUDA_HOST_COMPILER=
$(
which
$CXX
)
"
fi
conf_options
=
"
$conf_options
-DENABLE_GPU=ON"
;;
...
...
This diff is collapsed.
Click to expand it.
install
+
5
−
1
View file @
000fc683
...
...
@@ -361,7 +361,11 @@ else
elif
[
x
"
$CXX
"
==
x
"clang++"
]
;
then
./script/install_BOOST.sh
$i_dir
$ncore
darwin
else
./script/install_BOOST.sh
$i_dir
$ncore
gcc
if
[
x
"
$CXX
"
==
x
"gcc"
]
;
then
./script/install_BOOST.sh
$i_dir
$ncore
gcc
else
./script/install_BOOST.sh
$i_dir
$ncore
gcc
$(
which
$CXX
)
$dgc_major
$dgc_middle
fi
fi
BOOST_installed
=
1
configure_options
=
"
$configure_options
--with-boost=
$i_dir
/BOOST "
...
...
This diff is collapsed.
Click to expand it.
script/install_BOOST.sh
+
15
−
0
View file @
000fc683
...
...
@@ -10,8 +10,23 @@ fi
wget http://ppmcore.mpi-cbg.de/upload/boost_1_68_0.tar.bz2
tar
-xvf
boost_1_68_0.tar.bz2
cd
boost_1_68_0
if
[
x
"
$4
"
!=
x
""
]
;
then
if
[
-f
$HOME
/user-config.jam
]
;
then
mv
$HOME
/user-config.jam
$HOME
/user-config.jam_bck
fi
if
[
x
"
$5
"
!=
x
""
]
;
then
echo
"using gcc :
$5
.
$6
:
$4
; "
>
$HOME
/user-config.jam
else
echo
"using gcc : :
$4
; "
>
$HOME
/user-config.jam
fi
fi
./bootstrap.sh
--with-toolset
=
$3
mkdir
$1
/BOOST
./b2
-j
$2
install
--prefix
=
$1
/BOOST
rm
-rf
boost_1_68_0
if
[
-f
$HOME
/user-config.jam_bck
]
;
then
mv
$HOME
/user-config.jam_bck
$HOME
/user-config.jam
fi
rm
-rf
boost_1_68_0.tar.bz2
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