[cgma-dev] r3553 - cgm/trunk/itaps
hongjun at mcs.anl.gov
hongjun at mcs.anl.gov
Fri Feb 19 14:49:34 CST 2010
It worked originally with ACIS.
However, some file structures are changed for new parallel CGM, like "ProcData" to "CGMParallelComm" for mpi control and "ParallelGeomTool" for parallel CGM interfaces.
For these new files, I could not test if they works for ACIS without real ACIS libraries.
I tried to use ACIS class like "BinaryFile" from cubit library but it failed.
I am sure current parallel CGM will work with ACIS but because I couldn't test it, I excluded it for now.
Thanks.
Hong-Jun
----- Original Message -----
From: "Tim Tautges" <tautges at mcs.anl.gov>
To: cgma-dev at mcs.anl.gov
Sent: Friday, February 19, 2010 2:13:53 PM GMT -06:00 US/Canada Central
Subject: Re: [cgma-dev] r3553 - cgm/trunk/itaps
Remind me again, why not? I thought that's where it worked originally?
- tim
hongjun at mcs.anl.gov wrote:
> 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;
>
>
--
================================================================
"You will keep in perfect peace him whose mind is
steadfast, because he trusts in you." Isaiah 26:3
Tim Tautges Argonne National Laboratory
(tautges at mcs.anl.gov) (telecommuting from UW-Madison)
phone: (608) 263-8485 1500 Engineering Dr.
fax: (608) 263-4499 Madison, WI 53706
More information about the cgma-dev
mailing list