Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compare curves #16

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

Phikimon
Copy link

@Phikimon Phikimon commented Nov 24, 2020

See commits' messages

Filipp Mikoian added 4 commits November 23, 2020 20:03
This annoying option always reports error due to one suspicious piece of
code in the mpi code. This issue is documented online. So release others
from this suffering
By using setprecision() and fixed, we prohibit ofstream to make
arbitrary roundings as well as produce output in scientific form,
e.g. -5.87228e-07. Yes, this will definitely not contribute to decrease
of test output size, but who cares -- there are already big Loop tests.

Also using newline as a delimiter instead of space eases preprocessing
for bc(1) script introduced in next commit, in particular calling tr(1).
This is simple and parallelizable implementation of compare_curves. Need
for parallelization arised from the fact that output file alone takes 70
MB, and it takes quite some time to be processed by bc.

To change number of threads, play with $procnum variable.
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.

1 participant