Skip to content

Transfer functions#11

Merged
kevinrichardgreen merged 73 commits intouofs-simlab:devfrom
shawn-mcadam:TransferFunctions
May 13, 2022
Merged

Transfer functions#11
kevinrichardgreen merged 73 commits intouofs-simlab:devfrom
shawn-mcadam:TransferFunctions

Conversation

@shawn-mcadam
Copy link
Collaborator

First draft of the nonuniform lookup tables along with the transfer functions we'll use to build them.

Shawn Samuel Carl McAdam added 30 commits June 19, 2020 14:00
…n to/give access to several copies of a user's math function
@kevinrichardgreen
Copy link
Collaborator

On running run_experiment.sh, this PR aborts on a free() call at the end:

free(): invalid next size (fast)
./run_experiment.sh: line 20: 2527481 Aborted                 (core dumped) ./experiment 0.001 30.0 1e-2 10 1000000 19

in both gcc and clang.

In release mode, I can find that this is happening within the ~HornersFunctor() destructor (?? How is that a thing, it looks to be default ??). With debugging flags, gdb doesn't report the stack on abort.

@shawn-mcadam
Copy link
Collaborator Author

Ah, yes I remember that segfault being a thing (and I still don't understand why). I think the transfer functions became uncompilable with gcc in the openmp pr which I did not realize until very recently. These problems should be gone now that I've simplified the transfer functions.

@kevinrichardgreen kevinrichardgreen merged commit bb3870e into uofs-simlab:dev May 13, 2022
@shawn-mcadam shawn-mcadam deleted the TransferFunctions branch July 7, 2022 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants