idaholab / blackbear

BlackBear is a MOOSE-based code for simulating degradation processes in concrete and other structural materials.
GNU Lesser General Public License v2.1
17 stars 42 forks source link

BlackBear APPLICATION_NAME in Makefile prevents its use through dynamic linking #383

Open bwspenc opened 7 months ago

bwspenc commented 7 months ago

Bug Description

In the Makefile, blackbear currently sets APPLICATION_NAME to blackbear.

If a user requests to dynamically load objects from blackbear, they need to set register_objects_from = 'BlackBearApp'. The system in MOOSE that translates that to a library name puts an underscore between the words: black_bear, which doesn't match the name of the library, which gets created based on APPLICATION_NAME.

Steps to Reproduce

Try to link with BlackBear objects using register_objects_from = 'BlackBearApp' in the Problem block of an input file.

Impact

This makes it so users cannot dynamically link with BlackBear.