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
d0290cdf
Commit
d0290cdf
authored
7 years ago
by
Thomas Jahns
Committed by
Sergey Kosukhin
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused functions.
parent
98c36f54
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/pio_util.c
+0
-25
0 additions, 25 deletions
src/pio_util.c
src/pio_util.h
+0
-9
0 additions, 9 deletions
src/pio_util.h
with
0 additions
and
34 deletions
src/pio_util.c
+
0
−
25
View file @
d0290cdf
...
...
@@ -14,8 +14,6 @@
#include
"cdi.h"
#include
"dmemory.h"
static
char
commands
[][
13
]
=
{
"FINALIZE"
,
"RESOURCES"
,
"WRITETS"
};
/*****************************************************************************/
void
cdiAbortC_MPI
(
const
char
*
caller
,
const
char
*
filename
,
const
char
*
functionname
,
int
line
,
const
char
*
errorString
,
va_list
ap
)
...
...
@@ -116,29 +114,6 @@ pcdiXMPIStats(int iret, const char *filename, int line, int n, MPI_Status *restr
/****************************************************/
void
pcdiDebugMsg
(
const
char
*
cdiPioDebugString
,
const
char
*
filename
,
const
char
*
functionname
,
int
line
,
int
tag
,
int
source
,
int
nfinished
)
{
int
rank
=
getMPICommWorldRank
();
fprintf
(
stdout
,
"%s pe%d in %s, %s, line %d: command %s, source %d, finalized=%d
\n
"
,
cdiPioDebugString
,
rank
,
functionname
,
filename
,
line
,
&
commands
[
tag
][
0
],
source
,
nfinished
);
}
/****************************************************/
void
pcdiDebugMsg2
(
const
char
*
filename
,
const
char
*
functionname
,
int
line
,
int
tag
,
int
source
,
char
*
text
)
{
int
rank
=
getMPICommWorldRank
();
fprintf
(
stdout
,
"pe%d in %s, %s, line %d: command %s, source %d, %s
\n
"
,
rank
,
functionname
,
filename
,
line
,
&
commands
[
tag
][
0
],
source
,
text
);
}
/****************************************************/
void
printArray
(
const
char
*
cdiPioDebugString
,
const
char
*
ps
,
const
void
*
array
,
int
n
,
int
datatype
,
const
char
*
funname
,
const
char
*
filename
,
int
line
)
...
...
This diff is collapsed.
Click to expand it.
src/pio_util.h
+
0
−
9
View file @
d0290cdf
...
...
@@ -79,15 +79,6 @@ void pcdiXMPIStats(int, const char *, int, int, MPI_Status *);
} \
while (0)
void
pcdiDebugMsg
(
const
char
*
cdiDebugString
,
const
char
*
filename
,
const
char
*
functionname
,
int
line
,
int
tag
,
int
source
,
int
nfinished
);
#define xdebugMsg(tag, source, nfinished) \
if (ddebug) pcdiDebugMsg(debugString, __FILE__, __func__, __LINE__, tag, source, nfinished)
void
pcdiDebugMsg2
(
const
char
*
filename
,
const
char
*
functionname
,
int
line
,
int
tag
,
int
source
,
char
*
text
);
#define xdebugMsg2(tag, source, text) \
if (ddebug) pcdiDebugMsg(__FILE__, __func__, __LINE__, tag, source, text)
static
inline
int
sum_int
(
size_t
n
,
int
*
a
)
{
...
...
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