You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting these errors with CESM 2.3 (alpha 17a) and pio2.6.2 when compiling in debug mode with GNU and MPIch:
/scratch/cesm2_3_alpha17a/libraries/parallelio/src/clib/pio_nc4.c: In function 'PIOc_def_var_filter':
/scratch//cesm2_3_alpha17a/libraries/parallelio/src/clib/pio_nc4.c:1340:9: error: 'i' undeclared (first use in this function); did you mean 'id'?
1340 | for(i=0; i<nparams; i++)
| ^
| id
/scratch/cesm2_3_alpha17a/libraries/parallelio/src/clib/pio_nc4.c:1340:9: note: each undeclared identifier is reported only once for each function it appears in
/scratch/cesm2_3_alpha17a/libraries/parallelio/src/clib/pio_nc4.c:1341:47: error: macro "PLOG" passed 4 arguments, but takes just 1
1341 | PLOG(1, " param %d %d\n",i, params[i]);
| ^
In file included from /scratch/cesm2_3_alpha17a/libraries/parallelio/src/clib/pio_nc4.c:8:
**/scratch/cesm2_3_alpha17a/libraries/parallelio/src/clib/pio_internal.h:97: note: macro "PLOG" defined here
**97 | #define PLOG(e) pio_log e****
|
/scratch/cesm2_3_alpha17a/libraries/parallelio/src/clib/pio_nc4.c:1341:9: error: 'PLOG' undeclared (first use in this function)
1341 | PLOG(1, " param %d %d\n",i, params[i]);
Is it normal?
The text was updated successfully, but these errors were encountered:
The PLOG macro requires two sets of parenthesis:
For example line 1341 of pio_nc4.c should be
PLOG((1, " param %d %d\n",i, params[i]));
I've corrected this in main but haven't made a new tag yet.
Hi,
I am getting these errors with CESM 2.3 (alpha 17a) and pio2.6.2 when compiling in debug mode with GNU and MPIch:
Is it normal?
The text was updated successfully, but these errors were encountered: