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

Question about adios_selection_boudingbox #176

Open
Lucymugua opened this issue Apr 18, 2018 · 16 comments
Open

Question about adios_selection_boudingbox #176

Lucymugua opened this issue Apr 18, 2018 · 16 comments

Comments

@Lucymugua
Copy link

I am using adios_selection_boundingbox for my adios reading. However , I met an error:
image

This is only a test program and the code is rather simple. It just reads an integer variable from bp file.
image

I don't know what is wrong.
Could any one help me with this issue?

Thanks,
Lucy

@pnorbert
Copy link
Contributor

pnorbert commented Apr 18, 2018 via email

@Lucymugua
Copy link
Author

Dear Norbert,

Thanks for your solution!
I have already solved the problem.

Best regards,
Lucy

@Lucymugua
Copy link
Author

Hi Norbert,

Sorry for bother you again.
I have another question.
image
What does each data.bp.dir\data.bp.R file contains?
And what does global metadata file data.bp contains?
If I want to read data, what file should I use? data.bp.R or data.bp file?

Thanks,
Lucy

@pnorbert
Copy link
Contributor

pnorbert commented Apr 21, 2018 via email

@Lucymugua
Copy link
Author

Hi Norbert,

Thanks for your answer and I will have a try.

Best regards,
Lucy

@Lucymugua
Copy link
Author

Hi Norbert,

I have a few more question to bother you.
Can a xml file has more than one global space? If the answer is yes, do these global spaces generate only one global metadata file?
I want to write some 2d arrays and 3d arrays using adios method. Their first and second dimensions are the same. can I just use one global space? If that is true,should I design like these arrays order one by one in this single global space?

Thanks,
Lucy

@pnorbert
Copy link
Contributor

pnorbert commented Apr 21, 2018 via email

@Lucymugua
Copy link
Author

Dear Norbert,

What if these 2d arrays have same number of dimensions and each dimension has the same size? Can they belong to the same global-bound? If the answer is yes, how do the offsets set?

And I understand that one adios-group corresponds to one global metadata bp file. However, what if these variables belong to the same adios-group but different global-bounds? Are those variables belong to the same global metadata bp file? If that, how to read them if they belong to different global-bounds?

Thanks so much
Lucy

@pnorbert
Copy link
Contributor

pnorbert commented Apr 22, 2018 via email

@Lucymugua
Copy link
Author

Hi Norbert,

Thanks for your reply. I am trying to read data from the global metadata file. The bp file information are listed below using bpls tool:
image

Each variable has 320 blocks and the block size is: BLCKX=180,BLCKY=144; I use adios_selection_boundingbox method to read variables.
image

One process read one block of variable each time.However, I got an error like that
image

I am wondering what does this error mean?

Thanks,
Lucy

@pnorbert
Copy link
Contributor

pnorbert commented Apr 23, 2018 via email

@Lucymugua
Copy link
Author

Lucymugua commented Apr 27, 2018 via email

@Lucymugua
Copy link
Author

Hi Norbert,

Thanks for your great help.

I have already solved my problems and complete the data format conversion program. And I have verified my adios output results are correct compared with my original netcdf format data.
I previously misunderstood the relationship between the global metadata file,i.e. data.bp and process's own file,i.e. data.bp.dir\data.bp.R., which is the main reason of getting errors. And now have a deeper understanding of it.
Yes. I have ghost cells in my program. I have already considered this in my program and have solved the problem.

I will use adios to optimize my input part next.

Best regards,
Lucy

@Lucymugua
Copy link
Author

Hi Norbert,

I am optimizing my input part recently and met a problem. I use adios_read_open method which have been used before in my data conversion program. However, I got a confused error hint:
image

I have consulted the source code in this path:adios-1.12.0/src/core/adiosf_read_mod.f90 and didn't found anything wrong.
image

And I wonder where is the mistake.

Thanks,
Lucy

@pnorbert
Copy link
Contributor

pnorbert commented Apr 30, 2018 via email

@Lucymugua
Copy link
Author

Hi Noerbert,

I  have already solved the above problem. Thanks for your great help.
I plan to use “MPI_AGGREGATE” method in my program, however it doesn't work. 

The configuration in XML file is listed as follow.

image
Is there anything I have missed?

Thanks,
Lucy

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