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

Compilation with -DCHECK fails in src_c/IMB.c #9

Closed
kawashima-fj opened this issue Oct 30, 2018 · 2 comments
Closed

Compilation with -DCHECK fails in src_c/IMB.c #9

kawashima-fj opened this issue Oct 30, 2018 · 2 comments

Comments

@kawashima-fj
Copy link

make -C src_c CFLAGS=-DCHECK fails because of missing ( in IMB.c.

diff --git src_c/IMB.c src_c/IMB.c
index 21ded36..ae97b86 100644
--- src_c/IMB.c
+++ src_c/IMB.c
@@ -388,7 +388,7 @@ Return value          (type int)
     IMB_free_all(&C_INFO, &BList, &ITERATIONS);
 
 #ifdef CHECK
-    if num_alloc == num_free)
+    if (num_alloc == num_free)
         ierr=0;
     else {
         fprintf(stderr, "pr %d: calls to IMB_v_alloc %d / IMB_v_free %d (doesn't seem ok, are unequal!)\n", C_INFO.w_rank,num_alloc,num_free);
@VinnitskiV
Copy link
Contributor

@kawashima-fj
Thank you for the contribution. This issue will be fixed in one of upcoming releases, with corresponding notes in Release Notes (What’s New section). As soon the release is out, this issue will be closed.

@kawashima-fj
Copy link
Author

I confirmed this is fixed in IMB 2019.2. Thanks.

JuliaRS pushed a commit that referenced this issue Apr 24, 2024
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