Build failure due to missing reference #28476
Replies: 7 comments 4 replies
-
|
Hello This code is deprecated, we no longer use templates to define validParams Guillaume |
Beta Was this translation helpful? Give feedback.
-
|
Thank you, I have been able to resolve that issue. I'm trying to run one of
my problem inputs but
I get this error
*** ERROR ***
A 'SwitchingFunctionMultiPhaseMaterial' is not a registered object.
If you are trying to find this object in a dynamically loaded library, make
sure that
the library can be found either in your "Problem/library_path" parameter or
in the
MOOSE_LIBRARY_PATH environment variable.
Could you help me with this?
Solomon
…On Tue, Aug 27, 2024 at 10:01 AM Guillaume Giudicelli < ***@***.***> wrote:
Hello
This code is deprecated, we no longer use templates to define validParams
See this announcement for how to transition your code
https://mooseframework.inl.gov/newsletter/2020/2020_04.html
Guillaume
—
Reply to this email directly, view it on GitHub
<#28476 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYGR6DISOJIYLTNJCKIMPSLZTRFAXAVCNFSM6AAAAABNE6SRBGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANBWGEZTQOI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
I'm not so sure how to activate the PhaseField module in the makefile.
…On Tue, Aug 27, 2024 at 1:48 PM Guillaume Giudicelli < ***@***.***> wrote:
did you activate the PhaseField module in the Makefile of your application?
If not, then you need to, then git commit that change, then git clean
everything, then rebuild
—
Reply to this email directly, view it on GitHub
<#28476 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYGR6DKP7F3QL5X2FXUWLYTZTR7UNAVCNFSM6AAAAABNE6SRBGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANBWGM3DMNI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
I'm still getting the same error message please.
*** ERROR ***
A 'SwitchingFunctionMultiPhaseMaterial' is not a registered object.
If you are trying to find this object in a dynamically loaded library, make
sure that
the library can be found either in your "Problem/library_path" parameter or
in the
MOOSE_LIBRARY_PATH environment variable.
Stack frames: 21
0: libMesh::print_trace(std::ostream&)
1: moose::internal::mooseErrorRaw(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >)
2: void mooseError<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > >(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >&&)
3: Factory::reportUnregisteredError(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&) const
4: Factory::getValidParams(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&) const
5: MooseObjectAction::MooseObjectAction(InputParameters const&)
6: AddMaterialAction::AddMaterialAction(InputParameters const&)
7: RegistryEntry<AddMaterialAction>::buildAction(InputParameters const&)
8: ActionFactory::create(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, InputParameters&)
9: Moose::Builder::walkRaw(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >, hit::Node*)
10: Moose::Builder::walk(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, hit::Node*)
11: hit::Node::walk(hit::Walker*, hit::NodeType, hit::TraversalOrder)
12: hit::Node::walk(hit::Walker*, hit::NodeType, hit::TraversalOrder)
13: hit::Node::walk(hit::Walker*, hit::NodeType, hit::TraversalOrder)
14: Moose::Builder::build()
15: MooseApp::setupOptions()
16: MooseApp::run()
17: ./evolution-opt(+0x20e8) [0x55a29a1530e8]
18: main
19: __libc_start_main
20: ./evolution-opt(+0x238b) [0x55a29a15338b]
Abort(1) on node 0 (rank 0 in comm 0): application called
MPI_Abort(MPI_COMM_WORLD, 1) - process 0
…On Tue, Aug 27, 2024 at 4:50 PM Guillaume Giudicelli < ***@***.***> wrote:
if you open the Makefile in a text editor you can just write yes in front
of PHASE_FIELD
—
Reply to this email directly, view it on GitHub
<#28476 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYGR6DNNLSOMSPPVMZ67U5DZTSU53AVCNFSM6AAAAABNE6SRBGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANBWGU3TCMI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
I have attached both my input file and Makefile
On Tue, Aug 27, 2024 at 5:08 PM solomon felicien ***@***.***>
wrote:
… I'm still getting the same error message please.
*** ERROR ***
A 'SwitchingFunctionMultiPhaseMaterial' is not a registered object.
If you are trying to find this object in a dynamically loaded library,
make sure that
the library can be found either in your "Problem/library_path" parameter
or in the
MOOSE_LIBRARY_PATH environment variable.
Stack frames: 21
0: libMesh::print_trace(std::ostream&)
1: moose::internal::mooseErrorRaw(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >)
2: void mooseError<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >
>(std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >&&)
3: Factory::reportUnregisteredError(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&) const
4: Factory::getValidParams(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&) const
5: MooseObjectAction::MooseObjectAction(InputParameters const&)
6: AddMaterialAction::AddMaterialAction(InputParameters const&)
7: RegistryEntry<AddMaterialAction>::buildAction(InputParameters const&)
8: ActionFactory::create(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, InputParameters&)
9: Moose::Builder::walkRaw(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >, hit::Node*)
10: Moose::Builder::walk(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, hit::Node*)
11: hit::Node::walk(hit::Walker*, hit::NodeType, hit::TraversalOrder)
12: hit::Node::walk(hit::Walker*, hit::NodeType, hit::TraversalOrder)
13: hit::Node::walk(hit::Walker*, hit::NodeType, hit::TraversalOrder)
14: Moose::Builder::build()
15: MooseApp::setupOptions()
16: MooseApp::run()
17: ./evolution-opt(+0x20e8) [0x55a29a1530e8]
18: main
19: __libc_start_main
20: ./evolution-opt(+0x238b) [0x55a29a15338b]
Abort(1) on node 0 (rank 0 in comm 0): application called
MPI_Abort(MPI_COMM_WORLD, 1) - process 0
On Tue, Aug 27, 2024 at 4:50 PM Guillaume Giudicelli <
***@***.***> wrote:
> if you open the Makefile in a text editor you can just write yes in front
> of PHASE_FIELD
>
> —
> Reply to this email directly, view it on GitHub
> <#28476 (reply in thread)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AYGR6DNNLSOMSPPVMZ67U5DZTSU53AVCNFSM6AAAAABNE6SRBGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANBWGU3TCMI>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
Beta Was this translation helpful? Give feedback.
-
|
Sorry, Pls find them attached. I should mention that I am practicing PhaseField simulations using an input file I forked. So I'm not really sure what I am doing. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you very much for the help. I've been able to run my the code after
rebuilding my moose app.
…On Tue, Aug 27, 2024, 6:29 PM Guillaume Giudicelli ***@***.***> wrote:
PHASE_FIELD := yes
this is correct.
now clean both repos and rebuild
you ll need to make sure to save those files you are working on as git
clean -Xfd will remove them
—
Reply to this email directly, view it on GitHub
<#28476 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYGR6DNAY4VK7ZQOMJWK5F3ZTTARJAVCNFSM6AAAAABNE6SRBGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANBWGY2TIMA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Check these boxes if you have followed the posting rules.
Issue or question about MOOSE
I very recently started exploring MOOSE. My first build keeps failing with the output below;
Linking Executable /home/max/projects/Al-Mg-Si_evo/evolution-opt...
/home/max/.conda/envs/moose/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: /home/max/projects/Al-Mg-Si_evo/lib/libevolution-opt.so: undefined reference to `InputParameters validParams<AuxKernelTempl >()'
collect2: error: ld returned 1 exit status
make: *** [/home/max/projects/moose/framework/app.mk:457: /home/max/projects/Al-Mg-Si_evo/evolution-opt] Error 1
It is a rerun of a simulation setup I found online at
https://github.com/Sachinscnpdl/Al-Cu-Ni_dft_pf/tree/main/Phase_fields/Moose_codes.
Can I get some help with this?
(Optional) code in question / simulation log / errors
No response
Encountering Errors? Please include diagnostic output
No response
Beta Was this translation helpful? Give feedback.
All reactions