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

make check failed on test/check_nmt #67

Closed
ittpmichael opened this issue Sep 24, 2019 · 4 comments
Closed

make check failed on test/check_nmt #67

ittpmichael opened this issue Sep 24, 2019 · 4 comments

Comments

@ittpmichael
Copy link

Hi,

I have built NaMaster with these following packages provided by OpenHPC repo:

  • gnu8/8.3.0 (GCC)
  • mvapich2/2.3, openmpi3/3.1.3
  • fftw/3.3.8
  • gsl/2.5
  • libsharp compiled with either mvapich2 or openmpi3

and with healpix.x86_64 and chealpix.x86_64 from epel repo. The OS is CentOS7 (3.10.0-957.el7.x86_64).

The make check processes are failed on

TEST 34/66 nmt:bins_f_ell [FAIL]
  ERR: test/nmt_test_bins.c:30  expected 5.252e+05, got 5.252e+05 (diff -1.164e-10, tol 1.000e-10)
@damonge
Copy link
Collaborator

damonge commented Oct 23, 2019

sorry for the delay @ittpmichael . This seems like a very weird floating point error that would be difficult to track down... I suggest to ignore this. I'll just raise the tolerance a bit on this one. Thanks a lot!

@damonge
Copy link
Collaborator

damonge commented Oct 23, 2019

Solved by #71

@damonge damonge closed this as completed Oct 23, 2019
@ittpmichael
Copy link
Author

ittpmichael commented Oct 25, 2019

@damonge I can reproduce this error and I finally know what causes this make check to be failed. This is because I set CFLAGS=-Ofast. For other flags like -O4 or -O3 are working fine.

@damonge
Copy link
Collaborator

damonge commented Oct 25, 2019

Aha, good detective work! Thanks a lot for reporting this!

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

No branches or pull requests

2 participants