NOAA-EMC / hpc-stack

Create a software stack for HPC's
GNU Lesser General Public License v2.1
30 stars 36 forks source link

Install PIO 2.5.2 #113

Closed kgerheiser closed 3 years ago

kgerheiser commented 3 years ago

From Ufuk:

The S2S uses 2.5.1 which is not suitable to use under CDEPS. https://github.com/NCAR/ParallelIO

This version includes new short data type which is required for the CDEPS and HAFS integration. The ERA5 dataset uses short datatype and this version of PIO converts it to float on the fly by using add_offset and scale_factor. I am plaining to make PIO external dependency in HAFS application also like S2S. Let me know what do you think?

edwardhartnett commented 3 years ago

Is this for the 1.1.0 release?

uturuncoglu commented 3 years ago

@edwardhartnett this is not related with the release. I just need it for HAFS CDEPS integration. I'll define PIO as external dependency like S2S app.

uturuncoglu commented 3 years ago

@kgerheiser @edwardhartnett is there any time estimate for it. I am asking because I need it soon to make some modification in the coupled HAFS configuration. The easiest solution could be installing it individually to a common place that I could point out in the module file.

kgerheiser commented 3 years ago

I can get it installed somewhere for you. What machines do you want it on?

uturuncoglu commented 3 years ago

Thanks @kgerheiser. That would be great. I need it on Orion. If you could install it using following modules that will be consistent with the model,

https://github.com/hafs-community/ufs-hafs-model/blob/feature/hafs_couplehycom/modulefiles/orion.intel/fv3

uturuncoglu commented 3 years ago

@kgerheiser is there any update about this issue? Me might also need this module on Hera and Jet.

kgerheiser commented 3 years ago

Working on it now

uturuncoglu commented 3 years ago

@kgerheiser Thank you very much!

kgerheiser commented 3 years ago

You can try it with module use /apps/contrib/NCEPLIBS/orion/modulefiles (which you already have).

module load pio/2.5.2

It sets the variables:

They are static libraries (libpioc.a and libpiof.a) so you'll have to link in NetCDF, etc.

Let me know how (if) it works.

uturuncoglu commented 3 years ago

@kgerheiser Thanks. Sure. I'll test it and let you know. BTW, will this version part of the next release of hoc-stack?

kgerheiser commented 3 years ago

Yes, we will put version 2.5.2 in hpc-stack. It'll actually be more convenient like that than having to install it manually. Looks like your HAFS model would easily transition to use hpc-stack.

uturuncoglu commented 3 years ago

Thanks. Yes, we could update modules for HAFS app once everything is working.

uturuncoglu commented 3 years ago

@kgerheiser I tested with the new PIO module and everything works fine. Thank you very much! I am not sure you are the right person to ask but is it possible also install it on Hera and Jet with the module files found in here,

https://github.com/hafs-community/ufs-hafs-model/tree/support/HAFS/modulefiles

this will also help us to continue to develop and test the new version of the HAFS app in different platforms.

uturuncoglu commented 3 years ago

@kgerheiser @edwardhartnett we are syncing our development with the head of the model and I need to provide the PIO 2.5.2 on Hera, Jet and Orion. The model currently using following module on Orion,

/apps/contrib/NCEP/test/hpc-stack-nco/modulefiles/stack

and it includes PIO 2.5.1. Is there any plan to update HPC stack with newer version of the PIO?

edwardhartnett commented 3 years ago

FWIW Jim Edwards and I are planning on doing the PIO 2.5.3 release within the next week or so...

uturuncoglu commented 3 years ago

@edwardhartnett thanks for the information. Do we need to wait for 2.5.3? It seems that it will include minor fixes. To sync HAFS model with the UFS weather model, we need to have 2.5.2 which has short data type support to support data components with packed data arrays (via add_offset and scale_factor).

edwardhartnett commented 3 years ago

You can go with 2.5.2.

Hang-Lei-NOAA commented 3 years ago

The pio/2.5.2 have been installed on Hera, WCOSS-dell, and WCOSS-cray.

edwardhartnett commented 3 years ago

When you install, do you run tests?

Hang-Lei-NOAA commented 3 years ago

Not yet, the hwrf people will run the tests.

On Mon, Jan 11, 2021 at 5:07 PM Edward Hartnett notifications@github.com wrote:

When you install, do you run tests?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/NOAA-EMC/hpc-stack/issues/113#issuecomment-758254914, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKWSMFC4HJL6S7IXKNUUK63SZNZAHANCNFSM4UH35VIA .

uturuncoglu commented 3 years ago

@kgerheiser @edwardhartnett @Hang-Lei-NOAA Is PIO 2.5.2 installed to MSU Orion? If so, could you tell me the module file that I need to use.

edwardhartnett commented 3 years ago

@Hang-Lei-NOAA who are the hwrf people who will run the tests?

When we install software, we should always run the tests. We should not depend on users to do it.

We can make whatever modifications are needed to make the tests easier to run (ex. slurm files in the distribution, if that would help).

Hang-Lei-NOAA commented 3 years ago

Bin Liu in EMC has run the tests on Hera and wcoss installations.

I will test it too. Kyle will install on the Orion.

On Fri, Jan 22, 2021 at 5:16 AM Edward Hartnett notifications@github.com wrote:

@Hang-Lei-NOAA https://github.com/Hang-Lei-NOAA who are the hwrf people who will run the tests?

When we install software, we should always run the tests. We should not depend on users to do it.

We can make whatever modifications are needed to make the tests easier to run (ex. slurm files in the distribution, if that would help).

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/NOAA-EMC/hpc-stack/issues/113#issuecomment-765300081, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKWSMFAVRHKK25KSTGWHN4LS3FF5ZANCNFSM4UH35VIA .

kgerheiser commented 3 years ago

@uturuncoglu

It's on Orion at module use /apps/contrib/NCEP/libs/hpc-stack/modulefiles/stack (then load hpc, hpc-intel, hpc-impi...). It is the same modules that the weather model uses.

uturuncoglu commented 3 years ago

@kgerheiser Thanks for your help. I could see pio/2.5.2 in the module list and I am testing it now. If we see any problem I'll let you know.

kgerheiser commented 3 years ago

Going to close this issue. If you encounter any problems you can re-open it.

uturuncoglu commented 3 years ago

@kgerheiser sure. Thanks for your help. It seems that there is no any issue with the installation.