Peacock segmentation fault on Mac Monterey #20114
-
Hi, I am having problem when trying to run peacock on my Mac Monterey: rocess: python3.7 [46382] Date/Time: 2022-01-24 19:04:20.6359 +0800 Sleep/Wake UUID: B72ACBDD-7B44-42E5-8462-ADC38D2438DD Time Awake Since Boot: 11000 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGSEGV) Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 Is there any solution to this issue? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The error is indicating you must first build a binary for which Peacock can interface with. For MOOSE, this usually means either building the test suite, or modules: cd ~/projects/moose/test
make
# or
cd ~/projects/moose/modules
make Once either (or both) of those locations are built, you can then invoke peacock while somewhere within that path: cd ~/projects/moose/test/tests/kernels/simple_diffusion
peacock -i simple_diffusion.i
# ^instructing peacock to run the simple_diffusion.i input file in this directory
|
Beta Was this translation helpful? Give feedback.
The error is indicating you must first build a binary for which Peacock can interface with. For MOOSE, this usually means either building the test suite, or modules:
Once either (or both) of those locations are built, you can then invoke peacock while somewhere within that path:
peacock
is designed to search for a binary in this current directory. If not found, it goes 'up' one directory and searches there. It does this until it can't go up any more d…