Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
f2759e70
Commit
f2759e70
authored
Oct 27, 2015
by
Thomas Jahns
🤸
Browse files
Conditionally compile conditionally used function.
parent
9e93f27a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/pio_server.c
View file @
f2759e70
...
...
@@ -278,21 +278,6 @@ buildVarRedist(int headerIdx, size_t streamIdx,
}
static
void
gatherArray
(
int
headerIdx
,
size_t
streamIdx
,
double
*
gatherBuf
,
/* index list representing the data elements gathered on
* this rank */
Xt_idxlist
dstList
,
const
struct
cdiPioConf
*
conf
)
{
Xt_redist
gatherRedist
=
buildVarRedist
(
headerIdx
,
streamIdx
,
dstList
,
conf
);
xt_redist_s_exchange1
(
gatherRedist
,
rxWin
[
streamIdx
].
clientBuf
[
0
].
mem
,
gatherBuf
);
xt_redist_delete
(
gatherRedist
);
}
struct
xyzDims
{
int
sizes
[
3
];
...
...
@@ -330,6 +315,23 @@ countVarChunkMissingVals(int vlistID, int varID,
return
nmiss
;
}
#ifdef HAVE_LIBNETCDF
static
void
gatherArray
(
int
headerIdx
,
size_t
streamIdx
,
double
*
gatherBuf
,
/* index list representing the data elements gathered on
* this rank */
Xt_idxlist
dstList
,
const
struct
cdiPioConf
*
conf
)
{
Xt_redist
gatherRedist
=
buildVarRedist
(
headerIdx
,
streamIdx
,
dstList
,
conf
);
xt_redist_s_exchange1
(
gatherRedist
,
rxWin
[
streamIdx
].
clientBuf
[
0
].
mem
,
gatherBuf
);
xt_redist_delete
(
gatherRedist
);
}
#endif
#ifdef HAVE_PARALLEL_NC4
static
void
queryVarBounds
(
struct
PPM_extent
varShape
[
3
],
int
vlistID
,
int
varID
)
...
...
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