Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
9115e7c7
Commit
9115e7c7
authored
Dec 18, 2017
by
Peter W. Draper
Browse files
Sort out so that can still compile with only METIS
parent
bb1824d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/debug.c
View file @
9115e7c7
...
...
@@ -393,7 +393,7 @@ void dumpCells(const char *prefix, int active, int mpiactive, int pactive,
fclose
(
file
);
}
#ifdef
HAVE_METIS
#if
def
ined(WITH_MPI) && defined(
HAVE_METIS
)
/**
* @brief Dump the METIS graph in standard format, simple format and weights
...
...
src/debug.h
View file @
9115e7c7
...
...
@@ -39,7 +39,7 @@ int checkCellhdxmax(const struct cell *c, int *depth);
void
dumpCells
(
const
char
*
prefix
,
int
active
,
int
mpiactive
,
int
pactive
,
struct
space
*
s
,
int
rank
,
int
step
);
#ifdef
HAVE_METIS
#if
def
ined(WITH_MPI) && defined(
HAVE_METIS
)
#include
"metis.h"
void
dumpMETISGraph
(
const
char
*
prefix
,
idx_t
nvtxs
,
idx_t
ncon
,
idx_t
*
xadj
,
idx_t
*
adjncy
,
idx_t
*
vwgt
,
idx_t
*
vsize
,
idx_t
*
adjwgt
);
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment