Goddard-Fortran-Ecosystem / pFUnit_demos

Pedagogical examples for using pFUnit
Apache License 2.0
17 stars 7 forks source link

Add example using pFUnit as a submodule. #16

Open vegardjervell opened 1 month ago

vegardjervell commented 1 month ago

Adding the minimal example mentioned in #15. Note that the way this is set up, cmake seems to get confused if PFUNIT_DIR is set (as I guess it usually is if you have an installation of pFUnit), so you need to unset PFUNIT_DIR to get it to build. Theres probably a more robust way to handle that in the CMakeLists.txt (perhaps in pFUnit itself?).

mathomp4 commented 1 month ago

Hmm. I think what this shows me is I should whip up some simple github tests for this repo. Never realized there was no CI here.

vegardjervell commented 1 month ago

That would probably be very helpful to people like me, the reason I started digging into this originally was exactly that I wanted to set up CI with pFUnit for our repo :)