Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libcdi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
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
mpim-sw
libcdi
Commits
bd730259
Commit
bd730259
authored
4 years ago
by
Thomas Jahns
Browse files
Options
Downloads
Patches
Plain Diff
Add new work-around for new fail dimension of PGI 20.
parent
a071dc23
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/pio_server.c
+16
-2
16 additions, 2 deletions
src/pio_server.c
with
16 additions
and
2 deletions
src/pio_server.c
+
16
−
2
View file @
bd730259
...
...
@@ -1498,12 +1498,17 @@ planPasses(const struct streamMapping *mapping,
* recordAggLim data bytes, but use at least one, unless none
* remain */
size_t
firstRecordOfPass
=
0
,
curRecord
;
#if ! defined __PGI || __PGIC__ != 20
struct
passPlan
(
*
passes
)[
collSize
]
=
NULL
;
#else
struct
passPlan
*
passes
=
NULL
;
#endif
size_t
sizeof_pass
=
collSize
*
sizeof
(
struct
passPlan
);
do
{
size_t
taskBegin
=
firstRecordOfPass
;
curRecord
=
firstRecordOfPass
-
1
;
passes
=
Realloc
(
passes
,
sizeof
(
*
pass
es
)
*
(
numPasses
+
1
));
passes
=
Realloc
(
passes
,
sizeof
_
pass
*
(
numPasses
+
1
));
for
(
size_t
rank
=
0
;
rank
<
collSize
;
++
rank
)
{
size_t
recordAggBufSize
=
0
;
...
...
@@ -1515,7 +1520,12 @@ planPasses(const struct streamMapping *mapping,
if
(
curRecord
==
taskBegin
-
1
&&
curRecord
+
1
<
numWrittenRecords
)
++
curRecord
;
passes
[
numPasses
][
rank
]
=
(
struct
passPlan
){
#if ! defined __PGI || __PGIC__ != 20
passes
[
numPasses
][
rank
]
#else
passes
[
numPasses
*
collSize
+
rank
]
#endif
=
(
struct
passPlan
){
.
recordAggStart
=
(
unsigned
)
taskBegin
,
.
recordAggEnd
=
(
unsigned
)
curRecord
,
.
varStart
=
writtenRecords
[
taskBegin
].
varID
,
...
...
@@ -1526,7 +1536,11 @@ planPasses(const struct streamMapping *mapping,
++
numPasses
,
firstRecordOfPass
=
curRecord
+
1
;
}
while
(
curRecord
+
1
<
numWrittenRecords
);
#if ! defined __PGI || __PGIC__ != 20
*
passes_
=
passes
;
#else
*
passes_
=
(
struct
passPlan
(
*
)[
collSize
])
passes
;
#endif
}
Free
(
recordDataSizePfxSums
);
return
numPasses
;
...
...
This diff is collapsed.
Click to expand it.
Sergey Kosukhin
@m300488
mentioned in merge request
!8 (closed)
·
3 years ago
mentioned in merge request
!8 (closed)
mentioned in merge request !8
Toggle commit list
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