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

JOSS review comments #427

Closed
guadabsb15 opened this issue Oct 28, 2024 · 8 comments · Fixed by #428
Closed

JOSS review comments #427

guadabsb15 opened this issue Oct 28, 2024 · 8 comments · Fixed by #428

Comments

@guadabsb15
Copy link

Hello, these are some starting comments for review openjournals/joss-reviews#6805

For what I have seen so far, singularity-eos looks very helpful and comprehensive.

Looking at your Getting Started site in the documentation, I think it could be useful to have also -DSINGULARITY_BUILD_EXAMPLES=ON and then say something like "as a quick check of your installation go to /build/example and run ./get_sound_speed_press you should be able to see the following output: "

The final values are:
rho = 0.987467
uu  = 0.00987467
P   = 0.0059248
cs  = 0.0979796

I personally like having a sanity check when installing/using a new tool. And as a reviewer, is this the result I should be getting? I must admit I didn't compute the EOS values myself. I believe it is valuable to have the expected output of the example.

I'm not an expert in CMake, but I think it might look more consistent if the code snipets for both Getting Started and Examples used mkdir -p build && cd build, and not build for Example and bin for the Getting started?

For the Python Bindings documentation, it might be worth it to mention to add the singularity-eos\build\python to the $PYTHONPATH (or the path were users install singularity-eos /lib/python.../site-packages)

The EOS Models page doesn't show several of the Figures, is that on purpose?

I still need to check the written paper and a few more things, but these are my initial thoughts.

@Yurlungur Yurlungur linked a pull request Oct 30, 2024 that will close this issue
9 tasks
@Yurlungur
Copy link
Collaborator

Thanks @guadabsb15 for the suggestions! I just submitted an MR, #428 which should address these. Please take a look at your convenience.

@Yurlungur
Copy link
Collaborator

I personally like having a sanity check when installing/using a new tool. And as a reviewer, is this the result I should be getting? I must admit I didn't compute the EOS values myself. I believe it is valuable to have the expected output of the example.

I added the examples as a sanity check. But I think a more quantitative sanity check is the unit tests, so I added those to getting started as well.

The EOS Models page doesn't show several of the Figures, is that on purpose?

Not on purpose. It appears that whether or not the pdfs display properly is browser dependent. I changed the figures to pngs which should be supported by all browsers.

I'm not an expert in CMake, but I think it might look more consistent if the code snipets for both Getting Started and Examples used mkdir -p build && cd build, and not build for Example and bin for the Getting started?

Good point. I tried to make this more consistent.

For the Python Bindings documentation, it might be worth it to mention to add the singularity-eos\build\python to the $PYTHONPATH (or the path were users install singularity-eos /lib/python.../site-packages)

Good point. I added some verbage to this effect.

@guadabsb15
Copy link
Author

Thank you for addressing my feedback, I will be taking a look at your PR hopefully tomorrow.

I read the software paper and it reads really well, I only have a question about one reference. In the performance portable polymorphism section, the citation for OpenMP Target Offload is from 2001. I could be wrong, but I thought OpenMP 4.0 was the first version that started supporting accelerators offload, and that was released in 2013? Or are you citing OpenMP in general?

@Yurlungur
Copy link
Collaborator

Thank you for addressing my feedback, I will be taking a look at your PR hopefully tomorrow.

Thanks @guadabsb15 ! Sounds good.

I read the software paper and it reads really well, I only have a question about one reference. In the performance portable polymorphism section, the citation for OpenMP Target Offload is from 2001. I could be wrong, but I thought OpenMP 4.0 was the first version that started supporting accelerators offload, and that was released in 2013? Or are you citing OpenMP in general?

Yes---the 2001 reference is the recommended citation for OpenMP as a whole. I will modify the citation location to clarify this. I'll also stick in a reference for OpenMP 4.0. I'll just sneak these into MR #428.

@guadabsb15
Copy link
Author

Hi! I took a look at PR #428 and it looks good. However, for the quickstart I think the unit tests are a bit too involved/in depth. Just the example, to check the installation worked, like you put it is great.

@Yurlungur
Copy link
Collaborator

for the quickstart I think the unit tests are a bit too involved/in depth. Just the example, to check the installation worked, like you put it is great.

Fair enough! I removed the reference to the unit tests. Thanks @guadabsb15 . Should I go ahead and merge that MR and close this issue?

@guadabsb15
Copy link
Author

@Yurlungur sounds good! The MR looks great and takes care of the comments in this issue.

@Yurlungur
Copy link
Collaborator

Great thank you!

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

Successfully merging a pull request may close this issue.

2 participants