~ubuntu-branches/ubuntu/utopic/adios/utopic

« back to all changes in this revision

Viewing changes to debian/patches/python3.patch

  • Committer: Package Import Robot
  • Author(s): Alastair McKinstry
  • Date: 2014-05-22 07:02:04 UTC
  • mfrom: (15.1.5 sid)
  • Revision ID: package-import@ubuntu.com-20140522070204-on9wsl3awmau96bo
Tags: 1.6.0-5
* Don't depend on infiniband on hurd, kfreebsd-* 
* Build with serial HDF5 by default; building with mpicc.openmpi collides
  with mpipublic.h internally.
* Prime CMakeCache.txt with PYTHON_MPI4PY_INCLUDE_DIR so it is found
  on all archs to fix FTBFS. 
* Add initial bash_completion.d completions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
Index: adios-1.6.0/utils/skel/bin/skel
7
7
===================================================================
8
 
--- adios-1.6.0.orig/utils/skel/bin/skel        2014-02-19 05:58:09.220062180 +0000
9
 
+++ adios-1.6.0/utils/skel/bin/skel     2014-02-19 05:58:09.208061851 +0000
 
8
--- adios-1.6.0.orig/utils/skel/bin/skel
 
9
+++ adios-1.6.0/utils/skel/bin/skel
10
10
@@ -1,5 +1,7 @@
11
11
 #!/usr/bin/env python
12
12
 
15
15
 import sys
16
16
 import os.path
17
17
 
18
 
@@ -81,7 +83,7 @@
 
18
@@ -81,7 +83,7 @@ def main(argv=None):
19
19
     try:
20
20
         config = adios.adiosConfig (args.project + '_skel.xml')
21
21
     except (IOError):
24
24
         return 1
25
25
 
26
26
     if args.subcommand == 'params':
27
 
@@ -114,7 +116,7 @@
 
27
@@ -114,7 +116,7 @@ def main(argv=None):
28
28
         skel_submit.generate_submit_scripts_with_args (parser)
29
29
         return 0
30
30
 
35
35
 if __name__ == "__main__":
36
36
Index: adios-1.6.0/utils/skel/bin/skel_extract.py
37
37
===================================================================
38
 
--- adios-1.6.0.orig/utils/skel/bin/skel_extract.py     2014-02-19 05:58:09.220062180 +0000
39
 
+++ adios-1.6.0/utils/skel/bin/skel_extract.py  2014-02-19 05:58:09.208061851 +0000
 
38
--- adios-1.6.0.orig/utils/skel/bin/skel_extract.py
 
39
+++ adios-1.6.0/utils/skel/bin/skel_extract.py
40
40
@@ -1,5 +1,6 @@
41
41
 #!/usr/bin/env python
42
42
 
44
44
 import argparse
45
45
 import xml.dom.minidom
46
46
 import sys
47
 
@@ -46,7 +47,7 @@
 
47
@@ -46,7 +47,7 @@ def extract (skel_output, dest, select,
48
48
     # check the selected fields
49
49
     for field in selected_fields:
50
50
         if not field in keys:
53
53
             return
54
54
 
55
55
     #Print the header
 
56
@@ -153,13 +154,13 @@ def extract_R (skel_output, select, rank
 
57
 def parse_iteration (filename):
 
58
     #assume filename ends with .xml
 
59
     if not filename.endswith (".xml"):
 
60
-        print "Warning: filename does not meet expectations, should end with .xml"
 
61
+        print("Warning: filename does not meet expectations, should end with .xml")
 
62
 
 
63
     filename = filename [:-4]
 
64
 
 
65
     iteration = filename.rsplit ("_", 1)[1]
 
66
 
 
67
-    print iteration
 
68
+    print(iteration)
 
69
 
 
70
     return iteration
 
71
 
56
72
Index: adios-1.6.0/utils/skel/lib/skelconf.py
57
73
===================================================================
58
 
--- adios-1.6.0.orig/utils/skel/lib/skelconf.py 2014-02-19 05:58:09.220062180 +0000
59
 
+++ adios-1.6.0/utils/skel/lib/skelconf.py      2014-02-19 05:58:09.208061851 +0000
 
74
--- adios-1.6.0.orig/utils/skel/lib/skelconf.py
 
75
+++ adios-1.6.0/utils/skel/lib/skelconf.py
60
76
@@ -1,5 +1,5 @@
61
77
+from __future__ import absolute_import, division, print_function, unicode_literals
62
78
 import xml.dom.minidom
64
80
 import skel_settings
65
81
 import skel_have_adios_timing
66
82
 
67
 
@@ -10,7 +10,7 @@
 
83
@@ -10,7 +10,7 @@ class skelConfig:
68
84
 
69
85
         nodes = doc.childNodes
70
86
         if (nodes.length != 1):
75
91
 
76
92
Index: adios-1.6.0/utils/gpp/ad_config.py
77
93
===================================================================
78
 
--- adios-1.6.0.orig/utils/gpp/ad_config.py     2014-02-19 05:58:09.220062180 +0000
79
 
+++ adios-1.6.0/utils/gpp/ad_config.py  2014-02-19 05:58:09.208061851 +0000
 
94
--- adios-1.6.0.orig/utils/gpp/ad_config.py
 
95
+++ adios-1.6.0/utils/gpp/ad_config.py
80
96
@@ -1,3 +1,4 @@
81
97
+from __future__ import absolute_import, division, print_function, unicode_literals
82
98
 import xml.dom.minidom
83
99
 import type_mapper
84
100
 
85
 
@@ -11,7 +12,7 @@
 
101
@@ -11,7 +12,7 @@ class adiosConfig:
86
102
         doc = xml.dom.minidom.parse (config_file_name)
87
103
         nodes = doc.childNodes
88
104
         if (nodes.length != 1):
91
107
             raise SystemExit
92
108
         self.config_node = nodes[0]
93
109
 
94
 
@@ -41,7 +42,7 @@
 
110
@@ -41,7 +42,7 @@ class adiosConfig:
95
111
 
96
112
     def get_buffer (self):
97
113
         #return the buffer info
100
116
 
101
117
     def get_host_language (self):
102
118
         return self.config_node.getAttribute ('host-language')
103
 
@@ -182,7 +183,7 @@
 
119
@@ -182,7 +183,7 @@ class var:
104
120
             return None
105
121
         else:
106
122
             # place the dimensions in a list and remove the time-index if it is there.
111
127
             for d in dims:
112
128
Index: adios-1.6.0/utils/gpp/gpp.py
113
129
===================================================================
114
 
--- adios-1.6.0.orig/utils/gpp/gpp.py   2014-02-19 05:58:09.220062180 +0000
115
 
+++ adios-1.6.0/utils/gpp/gpp.py        2014-02-19 05:58:09.208061851 +0000
 
130
--- adios-1.6.0.orig/utils/gpp/gpp.py
 
131
+++ adios-1.6.0/utils/gpp/gpp.py
116
132
@@ -1,5 +1,5 @@
117
133
 #!/usr/bin/env python
118
134
-
120
136
 import sys
121
137
 import os
122
138
 
123
 
@@ -22,10 +22,10 @@
 
139
@@ -22,10 +22,10 @@ def checkXML (config_file, path):
124
140
     if rv == 0:
125
141
         return 'success'
126
142
     elif rv == 32512:  # System unable to find adios_lint command
133
149
         return 'failure'
134
150
 
135
151
 
136
 
@@ -244,7 +244,7 @@
 
152
@@ -244,7 +244,7 @@ def main (argv=None):
137
153
   
138
154
     # Must be called with one argument, the name of the xml file
139
155
     if len (sys.argv) != 2:
142
158
         return 1
143
159
 
144
160
 
145
 
@@ -265,7 +265,7 @@
 
161
@@ -265,7 +265,7 @@ def main (argv=None):
146
162
     elif lang == 'c' or lang == 'cpp':
147
163
         generate_c (config)
148
164
     else:
153
169
 
154
170
Index: adios-1.6.0/utils/skel/lib/adios.py
155
171
===================================================================
156
 
--- adios-1.6.0.orig/utils/skel/lib/adios.py    2014-02-19 05:58:09.220062180 +0000
157
 
+++ adios-1.6.0/utils/skel/lib/adios.py 2014-02-19 05:58:09.212061961 +0000
 
172
--- adios-1.6.0.orig/utils/skel/lib/adios.py
 
173
+++ adios-1.6.0/utils/skel/lib/adios.py
158
174
@@ -1,5 +1,5 @@
159
175
+from __future__ import print_function
160
176
 import xml.dom.minidom
162
178
 import typeMapper
163
179
 
164
180
 class adiosConfig:
165
 
@@ -12,7 +12,7 @@
 
181
@@ -12,7 +12,7 @@ class adiosConfig:
166
182
         doc = xml.dom.minidom.parse (config_file_name)
167
183
         nodes = doc.childNodes
168
184
         if (nodes.length != 1):
171
187
             raise SystemExit
172
188
         self.config_node = nodes[0]
173
189
 
174
 
@@ -47,7 +47,7 @@
 
190
@@ -47,7 +47,7 @@ class adiosConfig:
175
191
 
176
192
     def get_buffer (self):
177
193
         #return the buffer info
180
196
 
181
197
     def get_host_language (self):
182
198
         return self.host_language
183
 
@@ -157,7 +157,7 @@
 
199
@@ -157,7 +157,7 @@ class var:
184
200
             return None
185
201
         else:
186
202
             # place the dimensions in a list and remove the time-index if it is there.
191
207
 
192
208
Index: adios-1.6.0/utils/skel/lib/argparse.py
193
209
===================================================================
194
 
--- adios-1.6.0.orig/utils/skel/lib/argparse.py 2014-02-19 05:58:09.220062180 +0000
195
 
+++ adios-1.6.0/utils/skel/lib/argparse.py      2014-02-19 05:58:09.212061961 +0000
196
 
@@ -81,7 +81,6 @@
 
210
--- adios-1.6.0.orig/utils/skel/lib/argparse.py
 
211
+++ adios-1.6.0/utils/skel/lib/argparse.py
 
212
@@ -81,7 +81,6 @@ __all__ = [
197
213
     'ZERO_OR_MORE',
198
214
 ]
199
215
 
203
219
 import re as _re
204
220
Index: adios-1.6.0/utils/skel/lib/skel_install.py
205
221
===================================================================
206
 
--- adios-1.6.0.orig/utils/skel/lib/skel_install.py     2014-02-19 05:58:09.220062180 +0000
207
 
+++ adios-1.6.0/utils/skel/lib/skel_install.py  2014-02-19 05:58:09.212061961 +0000
 
222
--- adios-1.6.0.orig/utils/skel/lib/skel_install.py
 
223
+++ adios-1.6.0/utils/skel/lib/skel_install.py
208
224
@@ -1,5 +1,5 @@
209
225
 #!/usr/bin/env python
210
226
-
214
230
 def main(argv=None):
215
231
Index: adios-1.6.0/utils/skel/lib/skel_makefile.py
216
232
===================================================================
217
 
--- adios-1.6.0.orig/utils/skel/lib/skel_makefile.py    2014-02-19 05:58:09.220062180 +0000
218
 
+++ adios-1.6.0/utils/skel/lib/skel_makefile.py 2014-02-19 05:58:09.212061961 +0000
 
233
--- adios-1.6.0.orig/utils/skel/lib/skel_makefile.py
 
234
+++ adios-1.6.0/utils/skel/lib/skel_makefile.py
219
235
@@ -1,5 +1,7 @@
220
236
 #!/usr/bin/env python
221
237
 
224
240
 import argparse
225
241
 import os
226
242
 import sys
227
 
@@ -190,10 +192,10 @@
 
243
@@ -190,10 +192,10 @@ def main(argv=None):
228
244
 
229
245
     lang = config.get_host_language ()
230
246
     if 'c' == lang or 'C' == lang:
239
255
 
240
256
Index: adios-1.6.0/utils/skel/lib/skel_params.py
241
257
===================================================================
242
 
--- adios-1.6.0.orig/utils/skel/lib/skel_params.py      2014-02-19 05:58:09.220062180 +0000
243
 
+++ adios-1.6.0/utils/skel/lib/skel_params.py   2014-02-19 05:58:40.876928321 +0000
 
258
--- adios-1.6.0.orig/utils/skel/lib/skel_params.py
 
259
+++ adios-1.6.0/utils/skel/lib/skel_params.py
244
260
@@ -1,4 +1,5 @@
245
261
 #!/usr/bin/env python
246
262
+from __future__ import absolute_import, division, print_function, unicode_literals
247
263
 import sys
248
264
 import os
249
265
 import argparse
250
 
@@ -35,7 +36,7 @@
 
266
@@ -35,7 +36,7 @@ def generate_param_file_with_args (confi
251
267
 
252
268
     # Only proceed if outfilename does not already exist, or if -f was used
253
269
     if os.path.exists (outfilename) and not args.force:
256
272
         return 999
257
273
 
258
274
     generate_param_file (args.project, outfilename, config, args.group, args.bpls)
259
 
@@ -46,7 +47,7 @@
 
275
@@ -46,7 +47,7 @@ def generate_param_file (app, outfile, c
260
276
     param_file = open (outfile, 'w')
261
277
 
262
278
     if bplsfile is not None:
265
281
         bpdata = skel_bpls.bpls (open (bplsfile, 'r') )
266
282
 
267
283
     #Write the file header
268
 
@@ -148,7 +149,7 @@
 
284
@@ -148,7 +149,7 @@ def main(argv=None):
269
285
 
270
286
     # Only proceed if outfilename does not already exist.
271
287
     if os.path.exists (outfilename):
276
292
     generate_param_file (args.project, outfilename, config, args.group)
277
293
Index: adios-1.6.0/utils/skel/lib/skel_settings.py
278
294
===================================================================
279
 
--- adios-1.6.0.orig/utils/skel/lib/skel_settings.py    2014-02-19 05:58:09.220062180 +0000
280
 
+++ adios-1.6.0/utils/skel/lib/skel_settings.py 2014-02-19 05:58:09.212061961 +0000
 
295
--- adios-1.6.0.orig/utils/skel/lib/skel_settings.py
 
296
+++ adios-1.6.0/utils/skel/lib/skel_settings.py
281
297
@@ -1,5 +1,5 @@
282
298
 #!/usr/bin/env python
283
299
-
285
301
 import sys
286
302
 import os.path
287
303
 import shutil
288
 
@@ -20,8 +20,8 @@
 
304
@@ -20,8 +20,8 @@ class skel_settings:
289
305
                 continue
290
306
             split_line = line.split('=')
291
307
             if not len (split_line) == 2:
296
312
                 continue
297
313
             self.settings_dict[split_line[0]] = split_line[1]
298
314
 
299
 
@@ -55,7 +55,7 @@
 
315
@@ -55,7 +55,7 @@ def create_settings_dir_if_needed():
300
316
     if not os.path.exists (skel_settings_dir_name):
301
317
         bindir = os.path.dirname (sys.argv[0])
302
318
         shutil.copytree (bindir + '/../etc/skel', skel_settings_dir_name)
307
323
 def main(argv=None):
308
324
Index: adios-1.6.0/utils/skel/lib/skel_source.py
309
325
===================================================================
310
 
--- adios-1.6.0.orig/utils/skel/lib/skel_source.py      2014-02-19 05:58:09.220062180 +0000
311
 
+++ adios-1.6.0/utils/skel/lib/skel_source.py   2014-02-19 05:58:09.212061961 +0000
 
326
--- adios-1.6.0.orig/utils/skel/lib/skel_source.py
 
327
+++ adios-1.6.0/utils/skel/lib/skel_source.py
312
328
@@ -1,4 +1,5 @@
313
329
 #!/usr/bin/env python
314
330
+from __future__ import absolute_import, division, print_function, unicode_literals
315
331
 import sys
316
332
 import os
317
333
 import argparse
318
 
@@ -84,25 +85,25 @@
 
334
@@ -84,25 +85,25 @@ def generate_c_write (outfile, config, p
319
335
         # same program var (as is done by genarray)
320
336
         c_file.write ('\n\n// Scalar declarations')
321
337
         declarations = set()
345
361
             c_file.write (adios.cFormatter.get_initialization (v, params.get_group (g.get_name() ) ) )
346
362
 
347
363
         if measure.use_sleep_before_open():
348
 
@@ -220,7 +221,7 @@
 
364
@@ -220,7 +221,7 @@ def generate_c_write (outfile, config, p
349
365
         # free the array memory
350
366
         c_file.write ('\n\n// Free the arrays')
351
367
         frees = set()
354
370
             frees.add ('\nfree (' + v.get_gwrite() + ');')
355
371
 
356
372
         for f in frees:
357
 
@@ -297,7 +298,7 @@
 
373
@@ -297,7 +298,7 @@ def generate_fortran_write (outfile, con
358
374
         # same program var (as is done by genarray)
359
375
         f_file.write ('\n\n! Scalar declarations')
360
376
         declarations = set()
363
379
             declarations.add (adios.fortranFormatter.get_declaration (v, params.get_group (g.get_name() ) ) )
364
380
 
365
381
         for d in declarations:
366
 
@@ -305,7 +306,7 @@
 
382
@@ -305,7 +306,7 @@ def generate_fortran_write (outfile, con
367
383
 
368
384
         f_file.write ('\n\n! Array declarations')
369
385
         declarations = set()
372
388
             declarations.add (adios.fortranFormatter.get_declaration (v, params.get_group (g.get_name() ) ) )
373
389
 
374
390
         for d in declarations:
375
 
@@ -335,13 +336,13 @@
 
391
@@ -335,13 +336,13 @@ def generate_fortran_write (outfile, con
376
392
         # For now, just do the numerical values first, then come back and do the more
377
393
         # complicated ones. This won't cover something like a depends on b, b depends on c,
378
394
         # but it will work for the moment
388
404
             #split at the spaces, just print the ones where the third element is a number
389
405
             init_str = adios.fortranFormatter.get_initialization (v, params.get_group (g.get_name() ) )
390
406
             if not init_str.split (None, 2)[2].isdigit():
391
 
@@ -350,7 +351,7 @@
 
407
@@ -350,7 +351,7 @@ def generate_fortran_write (outfile, con
392
408
         f_file.write ('\n\n! Initialize the arrays')
393
409
 
394
410
                # And the vector initializations
397
413
             f_file.write (adios.fortranFormatter.get_initialization (v, params.get_group (g.get_name() ) ) )
398
414
 
399
415
 
400
 
@@ -535,7 +536,7 @@
 
416
@@ -535,7 +536,7 @@ def generate_c_read_all (outfile, config
401
417
         # same program var (as is done by genarray)
402
418
         c_file.write ('\n\n// Scalar declarations')
403
419
         declarations = set()
406
422
             declarations.add (adios.cFormatter.get_declaration (v, params.get_group (g.get_name() ) ) )
407
423
 
408
424
         for d in declarations:
409
 
@@ -543,7 +544,7 @@
 
425
@@ -543,7 +544,7 @@ def generate_c_read_all (outfile, config
410
426
 
411
427
         c_file.write ('\n\n// Array declarations')
412
428
         declarations = set()
415
431
             declarations.add (adios.cFormatter.get_declaration (v, params.get_group (g.get_name() ) ) )
416
432
 
417
433
         for d in declarations:
418
 
@@ -620,7 +621,7 @@
 
434
@@ -620,7 +621,7 @@ def generate_c_read_all (outfile, config
419
435
         # free the array memory
420
436
         c_file.write ('\n\n// Free the arrays')
421
437
         frees = set()
426
442
         for f in frees:
427
443
Index: adios-1.6.0/utils/skel/lib/skel_submit.py
428
444
===================================================================
429
 
--- adios-1.6.0.orig/utils/skel/lib/skel_submit.py      2014-02-19 05:58:09.220062180 +0000
430
 
+++ adios-1.6.0/utils/skel/lib/skel_submit.py   2014-02-19 05:58:09.212061961 +0000
 
445
--- adios-1.6.0.orig/utils/skel/lib/skel_submit.py
 
446
+++ adios-1.6.0/utils/skel/lib/skel_submit.py
431
447
@@ -1,5 +1,5 @@
432
448
 #!/usr/bin/env python
433
449
-
435
451
 import argparse
436
452
 import os
437
453
 
438
 
@@ -123,7 +123,7 @@
 
454
@@ -123,7 +123,7 @@ def generate_submit_scripts_from_yaml (a
439
455
 
440
456
     # Only proceed if outfilename does not already exist, or if -f was used
441
457
     if os.path.exists (outfilename) and not args.force:
444
460
         return 999
445
461
 
446
462
     skel_file = open (outfilename, 'w')
447
 
@@ -157,8 +157,8 @@
 
463
@@ -157,8 +157,8 @@ def generate_submit_scripts_with_args (p
448
464
         try:
449
465
             params = skelconf.skelConfig (args.project + '_params.xml')
450
466
         except (IOError):
457
473
         generate_submit_scripts_from_xml (params)
458
474
Index: adios-1.6.0/utils/skel/lib/skel_xml.py
459
475
===================================================================
460
 
--- adios-1.6.0.orig/utils/skel/lib/skel_xml.py 2014-02-19 05:58:09.220062180 +0000
461
 
+++ adios-1.6.0/utils/skel/lib/skel_xml.py      2014-02-19 05:59:12.789801918 +0000
 
476
--- adios-1.6.0.orig/utils/skel/lib/skel_xml.py
 
477
+++ adios-1.6.0/utils/skel/lib/skel_xml.py
462
478
@@ -1,5 +1,6 @@
463
479
 #!/usr/bin/env python
464
480
 
466
482
 import argparse
467
483
 import os
468
484
 import xml.dom.minidom
469
 
@@ -67,7 +68,7 @@
 
485
@@ -67,7 +68,7 @@ def create_from_yaml (project,args):
470
486
 
471
487
     # Only proceed if outfilename does not already exist, or if -f was used
472
488
     if os.path.exists (outfilename) and not args.force:
475
491
         return 999
476
492
 
477
493
     skel_file = open (outfilename, 'w')
478
 
@@ -90,7 +91,7 @@
 
494
@@ -90,7 +91,7 @@ def create_from_xml (project, args):
479
495
 
480
496
     # Only proceed if outfilename does not already exist, or if -f was used
481
497
     if os.path.exists (outfilename) and not args.force:
486
502
     skel_file = open (outfilename, 'w')
487
503
Index: adios-1.6.0/wrappers/numpy/example/ncdf2bp.py
488
504
===================================================================
489
 
--- adios-1.6.0.orig/wrappers/numpy/example/ncdf2bp.py  2014-02-19 05:58:09.220062180 +0000
490
 
+++ adios-1.6.0/wrappers/numpy/example/ncdf2bp.py       2014-02-19 05:58:09.212061961 +0000
 
505
--- adios-1.6.0.orig/wrappers/numpy/example/ncdf2bp.py
 
506
+++ adios-1.6.0/wrappers/numpy/example/ncdf2bp.py
491
507
@@ -1,4 +1,5 @@
492
508
 #!/usr/bin/env python
493
509
+from __future__ import absolute_import, division, print_function, unicode_literals
496
512
 import numpy as np
497
513
Index: adios-1.6.0/wrappers/numpy/test/adios_noxml_test.py
498
514
===================================================================
499
 
--- adios-1.6.0.orig/wrappers/numpy/test/adios_noxml_test.py    2014-02-19 05:58:09.220062180 +0000
500
 
+++ adios-1.6.0/wrappers/numpy/test/adios_noxml_test.py 2014-02-19 05:58:09.212061961 +0000
 
515
--- adios-1.6.0.orig/wrappers/numpy/test/adios_noxml_test.py
 
516
+++ adios-1.6.0/wrappers/numpy/test/adios_noxml_test.py
501
517
@@ -1,4 +1,5 @@
502
518
 #!/usr/bin/env python
503
519
+from __future__ import absolute_import, division, print_function, unicode_literals
504
520
 from adios import *
505
521
 import numpy as np
506
522
 
507
 
@@ -17,7 +18,7 @@
 
523
@@ -17,7 +18,7 @@ NX = 10
508
524
 size = 1
509
525
 rank = 0
510
526
 groupsize =  4 + 4 + 4 + 8 * 1 * NX
515
531
 write_int(fd, "size", size)
516
532
Index: adios-1.6.0/wrappers/numpy/test/adios_read_test.py
517
533
===================================================================
518
 
--- adios-1.6.0.orig/wrappers/numpy/test/adios_read_test.py     2014-02-19 05:58:09.220062180 +0000
519
 
+++ adios-1.6.0/wrappers/numpy/test/adios_read_test.py  2014-02-19 05:58:09.212061961 +0000
 
534
--- adios-1.6.0.orig/wrappers/numpy/test/adios_read_test.py
 
535
+++ adios-1.6.0/wrappers/numpy/test/adios_read_test.py
520
536
@@ -1,4 +1,5 @@
521
537
 #!/usr/bin/env python
522
538
+
523
539
 from adios import *
524
540
 import numpy as np
525
541
 
526
 
@@ -9,6 +10,6 @@
 
542
@@ -9,6 +10,6 @@ g.printself()
527
543
 v = g.var["/temperature"]
528
544
 v.printself()
529
545
 
533
549
 f.close()
534
550
Index: adios-1.6.0/wrappers/numpy/test/adios_write_test.py
535
551
===================================================================
536
 
--- adios-1.6.0.orig/wrappers/numpy/test/adios_write_test.py    2014-02-19 05:58:09.220062180 +0000
537
 
+++ adios-1.6.0/wrappers/numpy/test/adios_write_test.py 2014-02-19 05:58:09.212061961 +0000
 
552
--- adios-1.6.0.orig/wrappers/numpy/test/adios_write_test.py
 
553
+++ adios-1.6.0/wrappers/numpy/test/adios_write_test.py
538
554
@@ -1,4 +1,5 @@
539
555
 #!/usr/bin/env python
540
556
+from __future__ import absolute_import, division, print_function, unicode_literals
541
557
 import adios
542
558
 import numpy as np
543
559
 
544
 
@@ -9,7 +10,7 @@
 
560
@@ -9,7 +10,7 @@ NX = 10
545
561
 size = 1
546
562
 rank = 0
547
563
 groupsize =  4 + 4 + 4 + 8 * 1 * NX