[MOAB-dev] r4645 - in MOAB/trunk: examples src src/moab tools

Iulian Grindeanu iulian at mcs.anl.gov
Wed Mar 30 21:14:15 CDT 2011


Hi Steve,
I am sorry, I could not reproduce the problem with read_cgm_test. Can you send me the output.sat file that you have?
I followed your script, and the output.sat file generated is attached (I used cubit 12.2, 32 bit version and dum.sat from moab repository). 
running read_cgm_test, the result is here:

read_cgm_test output.sat

iulian at latitude:~/source/MOAB/test/io$ read_cgm_test output.sat 
Running read_multiple_test ...
Read 5 ACIS Entities from the input file

ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.

Constructed 5 Volumes: 1 to 5
Read 5 ACIS Entities from the input file

ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.
ERROR: Attribute type -1 not recognized.

Constructed 5 Volumes: 6 to 10


I am not sure where the error is, it is "the same" as before, errors about type. Maybe I am not running it right :(

The changes in GeomTopoTool involve the methods about setting/getting senses (edge/face or face/volume senses)

How do I run the dagmc tool? 
When I run dagmc_preproc ~/output.sat , I get something like:
...
ERROR: Attribute type -1 not recogniz
ERROR: Attribute type -1 not recogniz
ERROR: Attribute type -1 not recogniz

Constructed 5 Volumes: 1 to 5
Error: MB_MULTIPLE_ENTITIES_FOUND (5)

Is this what I should be looking at?

Thanks,
Iulian

----- Original Message -----
> This bug makes DagMC unusable, except for problems that have been
> preprocessed ahead of time by earlier versions of MOAB.
> 
> Speaking for myself, I don't think fixing it is urgent; we can wait a
> few days. If it was going to be more than two weeks I'd ask to have
> the change backed out.
> ~S
> 
> On Mar 30, 2011, at 17:01 , Tim Tautges wrote:
> 
> > Yeah, that's exactly where the problem will be. Iulian might be out
> > for a few days, but it shouldn't be too long before this is looked
> > at. How urgent is this, can you roll back your version and make due?
> >
> > - tim
> >
> > On 03/30/2011 03:54 PM, Steve Jackson wrote:
> >> An update to what I wrote before: r4645 passes read_cgm_test unit
> >> test, which loads the file 'dum.sat' that's included in MOAB. This
> >> problem wasn't noticed earlier because this test was succeeding.
> >>
> >> It seems like the error might have to do with merged surfaces.
> >> Running the commands below in Cubit 12.2 will convert dum.sat
> >> (currently readable by MOAB) to a file that is unreadable (i.e.
> >> ReadCGM returns MB_MULTIPLE_ENTITIES_FOUND).
> >> ~S
> >>
> >> set attrib on
> >> import acis 'dum.sat'
> >> imprint all
> >> merge all
> >> set geom version 1600
> >> export acis 'output.sat' overwrite
> >>
> >>
> >>
> >>
> >> On Mar 30, 2011, at 15:13 , Steve Jackson wrote:
> >>
> >>> r4645 breaks ReadCGM. ReadCGM now returns
> >>> MB_MULTIPLE_ENTITIES_FOUND for any .sat file I give it, including
> >>> those that worked in previous revisions. I haven't had time to
> >>> investigate the details yet. Iulian: do you have an idea of what
> >>> might be going wrong?
> >>> ~S
> >>>
> >>>
> >>>
> >>> On Mar 25, 2011, at 10:54 , iulian at mcs.anl.gov wrote:
> >>>
> >>>> Author: iulian
> >>>> Date: 2011-03-25 10:54:42 -0500 (Fri, 25 Mar 2011)
> >>>> New Revision: 4645
> >>>>
> >>>> Modified:
> >>>>  MOAB/trunk/examples/GeomSetHierarchy.cpp
> >>>>  MOAB/trunk/src/GeomTopoTool.cpp
> >>>>  MOAB/trunk/src/moab/GeomTopoTool.hpp
> >>>>  MOAB/trunk/src/moab/Types.hpp
> >>>>  MOAB/trunk/tools/gsets.cc
> >>>> Log:
> >>>> sense tags modifications; some cleanup required
> >>>> meshkit tests do not pass now (test_scdmesh,
> >>>> test_copygeom,
> >>>> FAIL: test_triadvance
> >>>> FAIL: test_mbgeom
> >>>> FAIL: test_paver
> >>>> FAIL: test_tetmesher
> >>>>
> >>>> )
> >>>>
> >>>> Old methods for senses are commented out, they will be completely
> >>>> removed
> >>>>
> >>>
> >>
> >>
> >
> > --
> > ================================================================
> > "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
> >
-------------- next part --------------
A non-text attachment was scrubbed...
Name: output.sat
Type: application/octet-stream
Size: 165306 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20110330/24690a09/attachment-0001.obj>


More information about the moab-dev mailing list