[cgma-dev] r3553 - cgm/trunk/itaps
hongjun at mcs.anl.gov
hongjun at mcs.anl.gov
Fri Feb 19 12:51:41 CST 2010
Author: hongjun
Date: 2010-02-19 12:51:41 -0600 (Fri, 19 Feb 2010)
New Revision: 3553
Modified:
cgm/trunk/itaps/iGeom_CGMA.cc
Log:
o Parallel loading is not supported for ACIS
Modified: cgm/trunk/itaps/iGeom_CGMA.cc
===================================================================
--- cgm/trunk/itaps/iGeom_CGMA.cc 2010-02-19 18:22:52 UTC (rev 3552)
+++ cgm/trunk/itaps/iGeom_CGMA.cc 2010-02-19 18:51:41 UTC (rev 3553)
@@ -106,8 +106,10 @@
#include "CubitVector.hpp"
#ifdef USE_MPI
+#ifdef build_OCC
#include "ParallelGeomTool.hpp"
#endif
+#endif
#include "CGMApp.hpp"
#include "GeometryModifyTool.hpp"
@@ -355,6 +357,7 @@
// parallel
if (parallel) {
#ifdef USE_MPI
+#ifdef build_OCC
ParallelGeomTool pgt(NULL);
CubitStatus status = pgt.load_file(name, options);
if (CUBIT_SUCCESS != status) {
@@ -362,7 +365,8 @@
}
#else
ERROR(iBase_NOT_SUPPORTED, "Parallel not enabled in this version.");
-#endif
+#endif
+#endif
}
else {
CubitStatus status = CUBIT_SUCCESS;
More information about the cgma-dev
mailing list