[cgma-dev] r5037 - in cgm/trunk: . geom/parallel itaps

Hong-Jun Kim hongjun at mcs.anl.gov
Mon Jun 27 09:23:03 CDT 2011


Thanks for the update.

Actually, ACIS parallel mesher is only working with "read_delete" method which doesn't need geometry distribution and then, can not be used when compute nodes in parallel computer can not read geometry.

Anyway, I'd like to say your work is very worth for me.
Thanks.

-----------------------------
Hong-Jun Kim
Post-doc researcher
MCS, Argonne National Laboratory
9700 S. Cass Ave. B240/R2147
Argonne, IL 60439
630-252-4791
hongjun at mcs.anl.gov
-----------------------------

----- Original Message -----
> From: "Jane Hu" <janejhu at gmail.com>
> To: cgma-dev at mcs.anl.gov
> Sent: Monday, June 27, 2011 9:10:10 AM
> Subject: Re: [cgma-dev] r5037 - in cgm/trunk: . geom/parallel itaps
> Hi, Hong-Jun
> 
> 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.
> 
> I am glad that you found ACIS works for your parallel work.
> 
> Jane
> 
> 
> On Fri, Jun 24, 2011 at 5:36 PM, < hongjun at mcs.anl.gov > wrote:
> 
> 
> Author: hongjun
> Date: 2011-06-24 17:36:43 -0500 (Fri, 24 Jun 2011)
> New Revision: 5037
> 
> Modified:
> cgm/trunk/Makefile.am
> cgm/trunk/ configure.ac
> cgm/trunk/geom/parallel/CGMParallelComm.cpp
> cgm/trunk/geom/parallel/CGMReadParallel.cpp
> cgm/trunk/geom/parallel/Makefile.am
> cgm/trunk/itaps/iGeom_CGMA.cc
> Log:
> o Parallel CGM is also supported for ACIS geometry kernel only with
> "READ_PARALLEL" option
> o Parallel codes are built when "parallel_build" is defined (also
> cubit library is used)
> o GeometryQueryTool::import(export)_solid_model" functions are changed
> to CubitCompat functions
> o Passes make check
> 
> 
> Modified: cgm/trunk/Makefile.am
> ===================================================================
> --- cgm/trunk/Makefile.am 2011-06-24 19:11:43 UTC (rev 5036)
> +++ cgm/trunk/Makefile.am 2011-06-24 22:36:43 UTC (rev 5037)
> @@ -45,7 +45,7 @@
> geom/ libcubit_geom.la \
> util/ libcubit_util.la
> else
> - CORE_CGM_LIBS = geom/ libcubit_geom.la
> + CORE_CGM_LIBS = geom/ libcubit_geom.la $(CGM_ll_LIB)
> endif
> 
> SUBDIRS = compat util geom init . $(igeom_DIR) test cgm_apps
> geom/testing
> 
> Modified: cgm/trunk/ configure.ac
> ===================================================================
> --- cgm/trunk/ configure.ac 2011-06-24 19:11:43 UTC (rev 5036)
> +++ cgm/trunk/ configure.ac 2011-06-24 22:36:43 UTC (rev 5037)
> @@ -104,12 +104,6 @@
> [CUBIT_DIR="$withval"
> DISTCHECK_CONFIGURE_FLAGS="$DISTCHECK_CONFIGURE_FLAGS
> --with-cubit=\"${withval}\""])
> 
> -if test "x$CUBIT_DIR" != "xno"; then
> - if test "x$WITH_MPI" != "xno"; then
> - AC_MSG_ERROR("CGM from CUBIT shared library dosn't support parallel
> build. Use serial build.")
> - fi
> -fi
> -
> if test "x$CUBIT_DIR" == "xyes"; then
> AC_MSG_ERROR([Option --with-CUBIT without specifying Cubit
> directory.])
> elif test "x$CUBIT_DIR" != "xno"; then
> 
> Modified: cgm/trunk/geom/parallel/CGMParallelComm.cpp
> ===================================================================
> --- cgm/trunk/geom/parallel/CGMParallelComm.cpp 2011-06-24 19:11:43
> UTC (rev 5036)
> +++ cgm/trunk/geom/parallel/CGMParallelComm.cpp 2011-06-24 22:36:43
> UTC (rev 5037)
> @@ -267,9 +267,11 @@
> return CUBIT_SUCCESS;
> }
> 
> +#ifdef HAVE_OCC
> CubitStatus result =
> GeometryQueryTool::instance()->export_solid_model(ref_entity_list,
> pBuffer,
> n_buffer_size, b_write_buffer);
> RRA("Failed to write ref entities to buffer.");
> +#endif
> 
> if (b_write_buffer) m_currentPosition += n_buffer_size;
> return CUBIT_SUCCESS;
> @@ -285,9 +287,11 @@
> #else
> if (n_buffer_size == 0) return CUBIT_SUCCESS;


More information about the cgma-dev mailing list