Skip to content

Commit 8b49f1c

Browse files
committed
IOSS: Fix decomp_omit_blocks for non-parallel builds
1 parent 2f0c364 commit 8b49f1c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/seacas/libraries/ioss/src/main/shell_interface.C

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,7 @@ bool IOShell::Interface::parse_options(int argc, char **argv, int my_processor)
748748
}
749749
}
750750

751+
#if defined(SEACAS_HAVE_MPI)
751752
{
752753
const char *temp = options_.retrieve("decomp_omit_blocks");
753754
if (temp != nullptr) {
@@ -758,7 +759,8 @@ bool IOShell::Interface::parse_options(int argc, char **argv, int my_processor)
758759
}
759760
}
760761
}
761-
762+
#endif
763+
762764
{
763765
const char *temp = options_.retrieve("surface_split_scheme");
764766
if (temp != nullptr) {

0 commit comments

Comments
 (0)