Coder Social home page Coder Social logo

Comments (2)

pnorbert avatar pnorbert commented on August 24, 2024

Thank you for the report. I confirmed this bug, it worked fine in 1.6.0 and
fails like this in 1.7.0

On Fri, Apr 10, 2015 at 12:19 AM, Sung Bae [email protected] wrote:

I am practising with the manual (1.8.0) and the example code.
Section 14.8.1 of manual and examples/C/global-array,

seb56@c061hk:/pkg/adios-1.8.0/examples/C/global-array$ mpirun -n 4
./adios_global
seb56@c061hk:
/pkg/adios-1.8.0/examples/C/global-array$ bpls -latd
adios_global.bp -n 10
integer NX scalar = 10
integer size scalar = 4
integer rank scalar = 0
double temperature {4, 10} = 0 / 39 / 19.5 / 11.5434
(0,0) 0 1 2 3 4 5 6 7 8 9
(1,0) 10 11 12 13 14 15 16 17 18 19
(2,0) 20 21 22 23 24 25 26 27 28 29
(3,0) 30 31 32 33 34 35 36 37 38 39
string temperature/description attr = "Global array written from 'size'
processes"

So far so good.
However, converting to netcdf seems to corrupt the data.

seb56@c061hk:/pkg/adios-1.8.0/examples/C/global-array$ bp2ncd
adios_global.bp
local[0]: 80
local[0]: 80
local[0]: 80
local[0]: 80
seb56@c061hk:
/pkg/adios-1.8.0/examples/C/global-array$ ncdump
adios_global.nc
netcdf adios_global {
dimensions:
NX = 10 ;
size = 4 ;
temperature_0 = 80 ;
rank = 1 ;
variables:
byte temperature(temperature_0) ;
data:

temperature = 0, 0, 0, 0, 0, 0, 62, 64, 0, 0, 0, 0, 0, 0, 63, 64, 0, 0, 0,
0, 0, 0, 64, 64, 0, 0, 0, 0, 0, -128, 64, 64, 0, 0, 0, 0, 0, 0, 65, 64,
0, 0, 0, 0, 0, -128, 65, 64, 0, 0, 0, 0, 0, 0, 66, 64, 0, 0, 0, 0, 0,
-128, 66, 64, 0, 0, 0, 0, 0, 0, 67, 64, 0, 0, 0, 0, 0, -128, 67, 64 ;
}

From the manual, I was expecting to see temperature ranging 0...39


Reply to this email directly or view it on GitHub
#49.

from adios.

pnorbert avatar pnorbert commented on August 24, 2024

from adios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.