Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on export with OSX #133

Open
sjcrs opened this issue Jul 7, 2022 · 4 comments
Open

Crash on export with OSX #133

sjcrs opened this issue Jul 7, 2022 · 4 comments

Comments

@sjcrs
Copy link

sjcrs commented Jul 7, 2022

Hi,
I have installed Cubit 2021.5 on my Macbook (running 11.4 Big Sur) and have installed the corresponding Cubit plugin for macOS and cubit 2021.5. With a simple STEP file imported, I'm following the directions here (https://svalinn.github.io/DAGMC/usersguide/cubit_workflow.html). When I run the export dagmc command, Cubit crashes and returns a lengthy problem report. The head of this shows:

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Application Specific Information:
Assertion failed: (0), function serial_create_file, file /Users/runner/work/Cubit-plugin/moab/moab/src/io/WriteHDF5.cpp, line 2497.

I can reproduce the problem and show a lengthier chunk of the report if necessary. I'm hoping someone can help me get past this error.

Thanks!

@pshriwise
Copy link
Member

Sorry to hear this is crashing @sjcrs!

It looks to me like this is coming from the following assertion in MOAB that has to do with the length of tag data
https://bitbucket.org/fathomteam/moab/src/f641aadf7c6d240be3e6140c458bfdfb912bb3a1/src/io/WriteHDF5.cpp#lines-2942

Out of curiosity, can you successfully export a single volume like a sphere or box?

@sjcrs
Copy link
Author

sjcrs commented Jul 12, 2022

I created a single cube in CAD, exported to STEP, imported into Cubit, and saw the same behavior on exporting to dagmc.

@makeclean
Copy link
Contributor

Could you attach a cubit journal file, or an acis file fully marked up that we can take a look at?

@sjcrs
Copy link
Author

sjcrs commented Jul 15, 2022

Hi all,
I'm starting from a STEP file and issuing the following commands

import step "/TIARA_CAD.step" heal
imprint body all
merge tol 5e-7
merge all
group "mat:Iron" equals 1 3 5
group "mat:Aluminum" equals 7 to 11
group "mat:Concrete" equals 6
group "mat:Scintillator" equals 12
group "mat:Vacuum" equals 2
group "mat:Iron" add 4
group "mat:Aluminum" add 13

dagmc export "tiara.h5m"

At this point it crashes.

Andy, I can email you the STEP file and/or a .cub5 file, if that's alright. I don't have a place to stash it on the web in order to produce a link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants