Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
openfpm_io
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_io
Commits
6ba4b2e8
Commit
6ba4b2e8
authored
3 years ago
by
Pietro Incardona
Browse files
Options
Downloads
Patches
Plain Diff
Fixing warning and reinstalling BOOST
parent
6142d941
No related branches found
No related tags found
No related merge requests found
Pipeline
#3865
passed
3 years ago
Stage: build
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+19
-14
19 additions, 14 deletions
CMakeLists.txt
build.sh
+1
-0
1 addition, 0 deletions
build.sh
install_BOOST.sh
+5
-5
5 additions, 5 deletions
install_BOOST.sh
with
25 additions
and
19 deletions
CMakeLists.txt
+
19
−
14
View file @
6ba4b2e8
...
...
@@ -45,7 +45,9 @@ find_package(HDF5 REQUIRED)
find_package
(
TinyObjLoader
)
find_package
(
PETSc
)
find_package
(
OpenMP
)
find_package
(
HIP
)
if
(
CUDA_ON_BACKEND STREQUAL
"HIP"
AND NOT HIP_FOUND
)
find_package
(
HIP
)
endif
()
if
(
HIP_FOUND
)
set
(
DEFINE_HIP_GPU
"#define HIP_GPU"
)
...
...
@@ -104,20 +106,23 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/config/config_cmake.h.in ${CMAKE_
include_directories
(
SYSTEM
${
MPI_INCLUDE_PATH
}
)
set
(
WARNING_SUPPRESSION_AND_OPTION_NVCC
${
WARNING_SUPPRESSION_AND_OPTION_NVCC
}
PARENT_SCOPE
)
set
(
WARNING_SUPPRESSION_AND_OPTION_NVCC_TEXT
${
WARNING_SUPPRESSION_AND_OPTION_NVCC_TEXT
}
PARENT_SCOPE
)
add_subdirectory
(
src
)
set
(
DEFINE_HAVE_BOOST
${
DEFINE_HAVE_BOOST
}
PARENT_SCOPE
)
set
(
DEFINE_HAVE_BOOST_IOSTREAMS
${
DEFINE_HAVE_BOOST_IOSTREAMS
}
PARENT_SCOPE
)
set
(
DEFINE_HAVE_BOOST_PROGRAM_OPTIONS
${
DEFINE_HAVE_BOOST_PROGRAM_OPTIONS
}
PARENT_SCOPE
)
set
(
DEFINE_HAVE_BOOST_UNIT_TEST_FRAMEWORK
${
DEFINE_HAVE_BOOST_UNIT_TEST_FRAMEWORK
}
PARENT_SCOPE
)
set
(
DEFINE_HAVE_BOOST_CONTEXT
${
DEFINE_HAVE_BOOST_CONTEXT
}
PARENT_SCOPE
)
set
(
DEFINE_HAVE_BOOST_FIBER
${
DEFINE_HAVE_BOOST_FIBER
}
PARENT_SCOPE
)
set
(
DEFINE_HAVE_OPENMP
${
DEFINE_HAVE_OPENMP
}
PARENT_SCOPE
)
set
(
DEFINE_HAVE_ALPAKA
${
DEFINE_HAVE_ALPAKA
}
PARENT_SCOPE
)
set
(
DEFINE_CUDA_GPU
${
DEFINE_CUDA_GPU
}
PARENT_SCOPE
)
set
(
DEFINE_CUDIFY_BACKEND
${
DEFINE_CUDIFY_BACKEND
}
PARENT_SCOPE
)
set
(
OPTIONAL_BOOST_LIBS
${
OPTIONAL_BOOST_LIBS
}
PARENT_SCOPE
)
get_directory_property
(
hasParent PARENT_DIRECTORY
)
if
(
hasParent
)
set
(
DEFINE_HAVE_BOOST
${
DEFINE_HAVE_BOOST
}
PARENT_SCOPE
)
set
(
DEFINE_HAVE_BOOST_IOSTREAMS
${
DEFINE_HAVE_BOOST_IOSTREAMS
}
PARENT_SCOPE
)
set
(
DEFINE_HAVE_BOOST_PROGRAM_OPTIONS
${
DEFINE_HAVE_BOOST_PROGRAM_OPTIONS
}
PARENT_SCOPE
)
set
(
DEFINE_HAVE_BOOST_UNIT_TEST_FRAMEWORK
${
DEFINE_HAVE_BOOST_UNIT_TEST_FRAMEWORK
}
PARENT_SCOPE
)
set
(
DEFINE_HAVE_BOOST_CONTEXT
${
DEFINE_HAVE_BOOST_CONTEXT
}
PARENT_SCOPE
)
set
(
DEFINE_HAVE_BOOST_FIBER
${
DEFINE_HAVE_BOOST_FIBER
}
PARENT_SCOPE
)
set
(
DEFINE_HAVE_OPENMP
${
DEFINE_HAVE_OPENMP
}
PARENT_SCOPE
)
set
(
DEFINE_HAVE_ALPAKA
${
DEFINE_HAVE_ALPAKA
}
PARENT_SCOPE
)
set
(
DEFINE_CUDA_GPU
${
DEFINE_CUDA_GPU
}
PARENT_SCOPE
)
set
(
DEFINE_CUDIFY_BACKEND
${
DEFINE_CUDIFY_BACKEND
}
PARENT_SCOPE
)
set
(
OPTIONAL_BOOST_LIBS
${
OPTIONAL_BOOST_LIBS
}
PARENT_SCOPE
)
set
(
WARNING_SUPPRESSION_AND_OPTION_NVCC
${
WARNING_SUPPRESSION_AND_OPTION_NVCC
}
PARENT_SCOPE
)
set
(
WARNING_SUPPRESSION_AND_OPTION_NVCC_TEXT
${
WARNING_SUPPRESSION_AND_OPTION_NVCC_TEXT
}
PARENT_SCOPE
)
endif
()
This diff is collapsed.
Click to expand it.
build.sh
+
1
−
0
View file @
6ba4b2e8
...
...
@@ -63,6 +63,7 @@ if [ x"$hostname" == x"cifarm-mac-node.mpi-cbg.de" ]; then
export
PATH
=
"/usr/local/bin:
$PATH
"
./install_MPI.sh
$HOME
/openfpm_dependencies/openfpm_io/
$branch
/ 4
export
PATH
=
"
$HOME
/openfpm_dependencies/openfpm_io/
$branch
/MPI/bin/:
$PATH
"
rm
-rf
$HOME
/openfpm_dependencies/openfpm_io/
$branch
/BOOST
./install_BOOST.sh
$HOME
/openfpm_dependencies/openfpm_io/
$branch
/ 4
./install_HDF5.sh
$HOME
/openfpm_dependencies/openfpm_io/
$branch
/ 4
./install_LIBHILBERT.sh
$HOME
/openfpm_dependencies/openfpm_io/
$branch
/ 4
...
...
This diff is collapsed.
Click to expand it.
install_BOOST.sh
+
5
−
5
View file @
6ba4b2e8
...
...
@@ -12,7 +12,7 @@ fi
rm
boost_1_75_0.tar.bz2
wget http://ppmcore.mpi-cbg.de/upload/boost_1_75_0.tar.bz2
tar
-x
v
f
boost_1_75_0.tar.bz2
tar
-xf
boost_1_75_0.tar.bz2
cd
boost_1_75_0
if
[
x
"
$4
"
!=
x
""
]
;
then
if
[
-f
$HOME
/user-config.jam
]
;
then
...
...
@@ -30,15 +30,15 @@ mkdir $1/BOOST
if
[
x
"
$platform
"
==
x
"osx"
]
;
then
if
[
x
"
$arch
"
==
x
"arm64"
]
;
then
if
[
x
"
$3
"
==
x
""
]
;
then
./b2
-j
$2
install
--prefix
=
$1
/BOOST address-model
=
64
architecture
=
arm
abi
=
aapcs binary-format
=
mach-o
toolset
=
clang
./b2
-j
$2
install
--prefix
=
$1
/BOOST address-model
=
64
architecture
=
arm
abi
=
aapcs binary-format
=
mach-o
toolset
=
clang
-sNO_LZMA
=
1
-sNO_ZSTD
=
1
else
./b2
-j
$2
install
--prefix
=
$1
/BOOST address-model
=
64
architecture
=
arm
abi
=
aapcs binary-format
=
mach-o
toolset
=
$3
./b2
-j
$2
install
--prefix
=
$1
/BOOST address-model
=
64
architecture
=
arm
abi
=
aapcs binary-format
=
mach-o
toolset
=
$3
-sNO_LZMA
=
1
-sNO_ZSTD
=
1
fi
else
./b2
-j
$2
install
--prefix
=
$1
/BOOST address-model
=
64
architecture
=
x86
abi
=
sysv binary-format
=
mach-o
toolset
=
clang
./b2
-j
$2
install
--prefix
=
$1
/BOOST address-model
=
64
architecture
=
x86
abi
=
sysv binary-format
=
mach-o
toolset
=
clang
-sNO_LZMA
=
1
-sNO_ZSTD
=
1
fi
else
./b2
-j
$2
install
--prefix
=
$1
/BOOST
./b2
-j
$2
install
--prefix
=
$1
/BOOST
-sNO_LZMA
=
1
-sNO_ZSTD
=
1
fi
rm
-rf
boost_1_75_0
...
...
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