Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
openfpm_pdata
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openfpm
openfpm_pdata
Commits
aa1d7717
Commit
aa1d7717
authored
Jun 08, 2016
by
Pietro Incardona
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing clang compilation
parent
d68964b8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
build_pdata.sh
build_pdata.sh
+2
-1
src/Vector/vector_dist_unit_test.hpp
src/Vector/vector_dist_unit_test.hpp
+2
-2
No files found.
build_pdata.sh
View file @
aa1d7717
...
...
@@ -229,11 +229,12 @@ then
module load boost/1.60.0
module load gcc/5.3.0
module load openmpi/1.10.2-gnu
module load petsc/3.3-p7
module unload bullxmpi
export
LD_LIBRARY_PATH
=
"
$LD_LIBRARY_PATH
:/home/incard/PARMETIS/lib:/home/incard/METIS/lib:/home/incard/HDF5/lib"
./install
-s
-c
"CXX=mpic++ --with-boost=/sw/taurus/libraries/boost/1.60.0"
./install
-s
-c
"CXX=mpic++ --with-boost=/sw/taurus/libraries/boost/1.60.0
--with-petsc=
$PETSC_DIR
"
make
if
[
$?
-ne
0
]
;
then
curl
-X
POST
--data
"payload={
\"
icon_emoji
\"
:
\"
:jenkins:
\"
,
\"
username
\"
:
\"
jenkins
\"
,
\"
attachments
\"
:[{
\"
title
\"
:
\"
Error:
\"
,
\"
color
\"
:
\"
#FF0000
\"
,
\"
text
\"
:
\"
$2
failed to complete the openfpm_pdata test
\"
}] }"
https://hooks.slack.com/services/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
...
...
src/Vector/vector_dist_unit_test.hpp
View file @
aa1d7717
...
...
@@ -478,7 +478,7 @@ BOOST_AUTO_TEST_CASE( vector_dist_periodic_test_use_2d )
Ghost
<
2
,
float
>
ghost2
(
0.05001
/
factor
);
// Distributed vector
vector_dist
<
2
,
float
,
Point_test
<
float
>
,
CartDecomposition
<
2
,
float
>
>
vd
(
k
,
box
,
bc
,
ghost
);
vector_dist
<
2
,
float
,
Point_test
<
float
>
>
vd
(
k
,
box
,
bc
,
ghost
);
auto
it
=
vd
.
getIterator
();
...
...
@@ -534,7 +534,7 @@ BOOST_AUTO_TEST_CASE( vector_dist_periodic_test_use_2d )
// Iterate only on the ghost particles
auto
itg
=
vd
.
getGhostIterator
();
count_local_n_local
(
vd
,
itg
,
bc
,
box
,
dom_ext
,
l_cnt
,
nl_cnt
,
n_out
);
count_local_n_local
<
2
,
vector_dist
<
2
,
float
,
Point_test
<
float
>
>
>
(
vd
,
itg
,
bc
,
box
,
dom_ext
,
l_cnt
,
nl_cnt
,
n_out
);
// No particle on the ghost must be inside the domain
BOOST_REQUIRE_EQUAL
(
l_cnt
,
0ul
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment