COMP: provide patch for ADIOS 1.11.0, when reading available transformations

This commit is contained in:
mark
2016-12-14 15:29:02 +01:00
parent c838cae680
commit 09428646a0
3 changed files with 17 additions and 0 deletions

12
etc/patches/ADIOS-1.11.0 Normal file
View File

@ -0,0 +1,12 @@
--- ADIOS-1.11.0/src/core/adios_transform_methods.c.orig 2016-11-17 19:46:11.000000000 +0100
+++ ADIOS-1.11.0/src/core/adios_transform_methods.c 2016-12-14 15:19:39.870832445 +0100
@@ -7,6 +7,9 @@
ADIOS_AVAILABLE_TRANSFORM_METHODS * adios_available_transform_methods()
{
+ /* Ensure the transforms are initialized before accessing */
+ adios_transform_read_init();
+
int i, n;
n = 0;
for (i = (int)adios_transform_none; i < num_adios_transform_types; i++) {

1
etc/patches/adios-1.11.0 Symbolic link
View File

@ -0,0 +1 @@
ADIOS-1.11.0

View File

@ -284,6 +284,8 @@ then
export GIT_DIR=$ADIOS_SOURCE_DIR/.git
applyPatch $adiosPACKAGE $ADIOS_SOURCE_DIR
# Remove any existing build folder and recreate
rm -rf $ADIOS_ARCH_DIR
rm -rf $buildDIR 2>/dev/null
@ -329,6 +331,8 @@ else
export GIT_DIR=$ADIOS_SOURCE_DIR/.git
applyPatch $adiosPACKAGE $ADIOS_SOURCE_DIR
# Remove any existing build folder and recreate
rm -rf $ADIOS_ARCH_DIR
rm -rf $buildDIR 2>/dev/null