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

SZ transformation build error #200

Open
khou2020 opened this issue Jun 22, 2019 · 2 comments
Open

SZ transformation build error #200

khou2020 opened this issue Jun 22, 2019 · 2 comments

Comments

@khou2020
Copy link

Hi:

I encounter compile error building ADIOS with SZ transformation method. I am using the latest master branch of SZ.
It seems it requires a specific version of SZ. Anyone know the version required?

nsform_sz_write.c' || echo './'transforms/adios_transform_sz_write.c
transforms/adios_transform_sz_write.c: In function 'adios_transform_sz_apply':
transforms/adios_transform_sz_write.c:130:16: error: 'sz_params' {aka 'struct sz_params'} has no member named 'dataEndianType'; did you mean 'dataType'?
sz.dataEndianType = LITTLE_ENDIAN_DATA;
^~~~~~~~~~~~~~
dataType
transforms/adios_transform_sz_write.c:131:15: error: 'sz_params' {aka 'struct sz_params'} has no member named 'sysEndianType'
sz.sysEndianType = LITTLE_ENDIAN_DATA;
^
transforms/adios_transform_sz_write.c:133:15: error: 'sz_params' {aka 'struct sz_params'} has no member named 'layers'
sz.layers = 1;
^
transforms/adios_transform_sz_write.c:136:15: error: 'sz_params' {aka 'struct sz_params'} has no member named 'offset'
sz.offset = 0;
^
transforms/adios_transform_sz_write.c:165:16: error: 'sz_params' {aka 'struct sz_params'} has no member named 'dataEndianType'; did you mean 'dataType'?
sz.dataEndianType = atoi(param->value);
^~~~~~~~~~~~~~
dataType
transforms/adios_transform_sz_write.c:169:15: error: 'sz_params' {aka 'struct sz_params'} has no member named 'sysEndianType'
sz.sysEndianType = atoi(param->value);
^
transforms/adios_transform_sz_write.c:177:15: error: 'sz_params' {aka 'struct sz_params'} has no member named 'layers'
sz.layers = atoi(param->value);
^
transforms/adios_transform_sz_write.c:189:15: error: 'sz_params' {aka 'struct sz_params'} has no member named 'offset'
sz.offset = atoi(param->value);
^
In file included from transforms/adios_transform_sz_write.c:15:
transforms/adios_transform_sz_write.c:331:59: error: 'sz_params' {aka 'struct sz_params'} has no member named 'dataEndianType'; did you mean 'dataType'?
log_debug("%s: %d\n", "sz.dataEndianType", sz.dataEndianType);
^~~~~~~~~~~~~~
../src/core/adios_logger.h:25:30: note: in definition of macro 'adios_logger'
fprintf (adios_logf, VA_ARGS);
^~~~~~~~~~~
transforms/adios_transform_sz_write.c:331:13: note: in expansion of macro 'log_debug'
log_debug("%s: %d\n", "sz.dataEndianType", sz.dataEndianType);
^~~~~~~~~
transforms/adios_transform_sz_write.c:332:57: error: 'sz_params' {aka 'struct sz_params'} has no member named 'sysEndianType'
log_debug("%s: %d\n", "sz.sysEndianType", sz.sysEndianType);
^
../src/core/adios_logger.h:25:30: note: in definition of macro 'adios_logger'
fprintf (adios_logf, VA_ARGS);
^~~~~~~~~~~
transforms/adios_transform_sz_write.c:332:13: note: in expansion of macro 'log_debug'
log_debug("%s: %d\n", "sz.sysEndianType", sz.sysEndianType);
^~~~~~~~~
transforms/adios_transform_sz_write.c:334:50: error: 'sz_params' {aka 'struct sz_params'} has no member named 'layers'
log_debug("%s: %d\n", "sz.layers", sz.layers);
^
../src/core/adios_logger.h:25:30: note: in definition of macro 'adios_logger'
fprintf (adios_logf, VA_ARGS);
^~~~~~~~~~~
transforms/adios_transform_sz_write.c:334:13: note: in expansion of macro 'log_debug'
log_debug("%s: %d\n", "sz.layers", sz.layers);
^~~~~~~~~
transforms/adios_transform_sz_write.c:337:50: error: 'sz_params' {aka 'struct sz_params'} has no member named 'offset'
log_debug("%s: %d\n", "sz.offset", sz.offset);
^
../src/core/adios_logger.h:25:30: note: in definition of macro 'adios_logger'
fprintf (adios_logf, VA_ARGS);
^~~~~~~~~~~
transforms/adios_transform_sz_write.c:337:13: note: in expansion of macro 'log_debug'
log_debug("%s: %d\n", "sz.offset", sz.offset);
^~~~~~~~~
make[2]: *** [Makefile:3768: transforms/libadios_nompi_a-adios_transform_sz_write.o] Error 1
make[2]: Leaving directory '/home/khl7265/ADIOS/src'
make[1]: *** [Makefile:6045: install-recursive] Error 1
make[1]: Leaving directory '/home/khl7265/ADIOS/src'
make: *** [Makefile:756: install-recursive] Error 1
`

@williamfgc
Copy link

I am using 2.0.2.1 not sure if their APIs were broken later in their master

@williamfgc
Copy link

My bad, I thought this was adios2. I believe adios1 uses sz 1.x versions

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