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

Wald2017b ASR assessment tests rely on confusing path resolution #301

Closed dschwen closed 2 years ago

dschwen commented 2 years ago

Reason

The files in the analysis/* sub-directories use data files (CSV and Exodus) relative to the original input files, which are symlinked from the parent directory. I'd like to stop resolving symlinks and load the datafiles relative to the input file (which may be a symlink). This requires the datafiles to be symlinked as well.

Design

Symlink all required files into the directories where they are used.

Impact

This will give the user flexibility to symlink the same input to different dirs with potentially different data files. This would apply to cases A3-102-L1, A3-202-L2, and A3-202-L3 for example, which currently use an awkward way to override the cli_args to point to files in the parent dir, that only are used in these specific tests.