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">&lt;<a href="mailto:hongjun@mcs.anl.gov">hongjun@mcs.anl.gov</a>&gt;</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 &quot;READ_PARALLEL&quot; option<br>
o Parallel codes are built when &quot;parallel_build&quot; is defined (also cubit library is used)<br>
o GeometryQueryTool::import(export)_solid_model&quot; 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=&quot;$withval&quot;<br>
               DISTCHECK_CONFIGURE_FLAGS=&quot;$DISTCHECK_CONFIGURE_FLAGS --with-cubit=\&quot;${withval}\&quot;&quot;])<br>
<br>
-if test &quot;x$CUBIT_DIR&quot; != &quot;xno&quot;; then<br>
-  if test &quot;x$WITH_MPI&quot; != &quot;xno&quot;; then<br>
-    AC_MSG_ERROR(&quot;CGM from CUBIT shared library dosn&#39;t support parallel build. Use serial build.&quot;)<br>
-  fi<br>
-fi<br>
-<br>
 if test &quot;x$CUBIT_DIR&quot; == &quot;xyes&quot;; then<br>
   AC_MSG_ERROR([Option --with-CUBIT without specifying Cubit directory.])<br>
 elif test &quot;x$CUBIT_DIR&quot; != &quot;xno&quot;; 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()-&gt;export_solid_model(ref_entity_list, pBuffer,<br>
                                                                         n_buffer_size, b_write_buffer);<br>
   RRA(&quot;Failed to write ref entities to buffer.&quot;);<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>