Danny Shevitz copied flecsi-tutorial example 03 to an external (to flecsi-tutorial) location, in preparation for integrating some of its contents into a separate application to be built in cmake/make fashion rather than with flecsit. The code has been failing with cryptic runtime errors, even while the same code as built with flecsit runs as intended.
We have explored various leads including, but not limited to: (1) Ensuring the same underlying compiler and flags in the cmake/make system as compared with flecsit. (2) Looking into debug- vs. release-mode issues. (3) Guaranteeing that paths were such that we pulled in the same specialization in both cases, instead of inadvertently picking up a different and incompatible one in the problem case. (4) Issues related to modules and libraries.
We also hand-#included all relevant specialization/ material into the main code, to make a single self-contained file that replicates the original tutorial example. FleCSI Static Analyzer reports no known problems, the same as it does with the original tutorial code.
So far, no luck in tracking down the error. We'll continue exploring, and report on what proves to be the problem.
Danny Shevitz copied flecsi-tutorial example 03 to an external (to flecsi-tutorial) location, in preparation for integrating some of its contents into a separate application to be built in cmake/make fashion rather than with flecsit. The code has been failing with cryptic runtime errors, even while the same code as built with flecsit runs as intended.
We have explored various leads including, but not limited to: (1) Ensuring the same underlying compiler and flags in the cmake/make system as compared with flecsit. (2) Looking into debug- vs. release-mode issues. (3) Guaranteeing that paths were such that we pulled in the same specialization in both cases, instead of inadvertently picking up a different and incompatible one in the problem case. (4) Issues related to modules and libraries.
We also hand-#included all relevant specialization/ material into the main code, to make a single self-contained file that replicates the original tutorial example. FleCSI Static Analyzer reports no known problems, the same as it does with the original tutorial code.
So far, no luck in tracking down the error. We'll continue exploring, and report on what proves to be the problem.