Hi, Hong-Jun<br><br>I am still doing code change for the attribute read/write stuff. it seems not a small change. The past week, I tried different things and made work for this case, then fail on the other case. But I am going to continue to work on it, trying new thoughts based on
my understanding of details on OCC topology/geometry structure.<br><br> I am glad that you found ACIS works for your parallel work.<br><br>Jane<br><br><div class="gmail_quote">On Fri, Jun 24, 2011 at 5:36 PM, <span dir="ltr"><<a href="mailto:hongjun@mcs.anl.gov">hongjun@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Author: hongjun<br>
Date: 2011-06-24 17:36:43 -0500 (Fri, 24 Jun 2011)<br>
New Revision: 5037<br>
<br>
Modified:<br>
cgm/trunk/Makefile.am<br>
cgm/trunk/<a href="http://configure.ac" target="_blank">configure.ac</a><br>
cgm/trunk/geom/parallel/CGMParallelComm.cpp<br>
cgm/trunk/geom/parallel/CGMReadParallel.cpp<br>
cgm/trunk/geom/parallel/Makefile.am<br>
cgm/trunk/itaps/iGeom_CGMA.cc<br>
Log:<br>
o Parallel CGM is also supported for ACIS geometry kernel only with "READ_PARALLEL" option<br>
o Parallel codes are built when "parallel_build" is defined (also cubit library is used)<br>
o GeometryQueryTool::import(export)_solid_model" functions are changed to CubitCompat functions<br>
o Passes make check<br>
<br>
<br>
Modified: cgm/trunk/Makefile.am<br>
===================================================================<br>
--- cgm/trunk/Makefile.am 2011-06-24 19:11:43 UTC (rev 5036)<br>
+++ cgm/trunk/Makefile.am 2011-06-24 22:36:43 UTC (rev 5037)<br>
@@ -45,7 +45,7 @@<br>
geom/<a href="http://libcubit_geom.la" target="_blank">libcubit_geom.la</a> \<br>
util/<a href="http://libcubit_util.la" target="_blank">libcubit_util.la</a><br>
else<br>
- CORE_CGM_LIBS = geom/<a href="http://libcubit_geom.la" target="_blank">libcubit_geom.la</a><br>
+ CORE_CGM_LIBS = geom/<a href="http://libcubit_geom.la" target="_blank">libcubit_geom.la</a> $(CGM_ll_LIB)<br>
endif<br>
<br>
SUBDIRS = compat util geom init . $(igeom_DIR) test cgm_apps geom/testing<br>
<br>
Modified: cgm/trunk/<a href="http://configure.ac" target="_blank">configure.ac</a><br>
===================================================================<br>
--- cgm/trunk/<a href="http://configure.ac" target="_blank">configure.ac</a> 2011-06-24 19:11:43 UTC (rev 5036)<br>
+++ cgm/trunk/<a href="http://configure.ac" target="_blank">configure.ac</a> 2011-06-24 22:36:43 UTC (rev 5037)<br>
@@ -104,12 +104,6 @@<br>
[CUBIT_DIR="$withval"<br>
DISTCHECK_CONFIGURE_FLAGS="$DISTCHECK_CONFIGURE_FLAGS --with-cubit=\"${withval}\""])<br>
<br>
-if test "x$CUBIT_DIR" != "xno"; then<br>
- if test "x$WITH_MPI" != "xno"; then<br>
- AC_MSG_ERROR("CGM from CUBIT shared library dosn't support parallel build. Use serial build.")<br>
- fi<br>
-fi<br>
-<br>
if test "x$CUBIT_DIR" == "xyes"; then<br>
AC_MSG_ERROR([Option --with-CUBIT without specifying Cubit directory.])<br>
elif test "x$CUBIT_DIR" != "xno"; then<br>
<br>
Modified: cgm/trunk/geom/parallel/CGMParallelComm.cpp<br>
===================================================================<br>
--- cgm/trunk/geom/parallel/CGMParallelComm.cpp 2011-06-24 19:11:43 UTC (rev 5036)<br>
+++ cgm/trunk/geom/parallel/CGMParallelComm.cpp 2011-06-24 22:36:43 UTC (rev 5037)<br>
@@ -267,9 +267,11 @@<br>
return CUBIT_SUCCESS;<br>
}<br>
<br>
+#ifdef HAVE_OCC<br>
CubitStatus result = GeometryQueryTool::instance()->export_solid_model(ref_entity_list, pBuffer,<br>
n_buffer_size, b_write_buffer);<br>
RRA("Failed to write ref entities to buffer.");<br>
+#endif<br>
<br>
if (b_write_buffer) m_currentPosition += n_buffer_size;<br>
return CUBIT_SUCCESS;<br>
@@ -285,9 +287,11 @@<br>
#else<br>
if (n_buffer_size == 0) return CUBIT_SUCCESS;<br>
</blockquote></div><br>