JCSDA / spack-stack

Creative Commons Zero v1.0 Universal
21 stars 41 forks source link

[INSTALL]: NEPTUNE stand-alone on narwhal #1127

Closed areinecke closed 3 weeks ago

areinecke commented 3 weeks ago

Package name

neptune stand alone

Package version/tag

1.5

Build options

current

Installation timeframe

as soon as possible

Other information

N/A

WCOSS2

WCOSS2: General questions

No response

WCOSS2: Installation and testing

No response

WCOSS2: Technical & security review list

WCOSS2: Additional comments

No response

climbfuji commented 3 weeks ago

Working on this now

climbfuji commented 3 weeks ago

@areinecke I built the standalone env on Narwhal with Intel (same commit hash as on Nautilus). I compiled neptune_atmos with it (making the necessary sp -> ip changes).

umask 0022
module unload PrgEnv-cray
module load PrgEnv-intel/8.3.2
module unload intel
module load intel-classic/2021.4.0
module unload cray-mpich
module load cray-mpich/8.1.14
module unload cray-python
module load cray-python/3.9.7.1
module unload cray-libsci
module load cray-libsci/22.08.1.1

module use /p/app/projects/NEPTUNE/spack-stack/spack-stack-dev-20240523-neptune-env/envs/ne-intel-2021.4.0/install/modulefiles/Core
module load stack-intel/2021.4.0
module load stack-cray-mpich/8.1.14
module load stack-python/3.10.13
module load neptune-env/1.4.0

I did see an odd warning or two about libz, because the standalone env comes with zlib-ng and both are shared libraries. I think it is ok for now, but going forward we either want to revert to zlib (possible performance hit when using compression), or build zlib-ng static only.

areinecke commented 3 weeks ago

@areinecke I built the standalone env on Narwhal with Intel (same commit hash as on Nautilus). I compiled neptune_atmos with it (making the necessary sp -> ip changes).

umask 0022
module unload PrgEnv-cray
module load PrgEnv-intel/8.3.2
module unload intel
module load intel-classic/2021.4.0
module unload cray-mpich
module load cray-mpich/8.1.14
module unload cray-python
module load cray-python/3.9.7.1
module unload cray-libsci
module load cray-libsci/22.08.1.1

module use /p/app/projects/NEPTUNE/spack-stack/spack-stack-dev-20240523-neptune-env/envs/ne-intel-2021.4.0/install/modulefiles/Core
module load stack-intel/2021.4.0
module load stack-cray-mpich/8.1.14
module load stack-python/3.10.13
module load neptune-env/1.4.0

I did see an odd warning or two about libz, because the standalone env comes with zlib-ng and both are shared libraries. I think it is ok for now, but going forward we either want to revert to zlib (possible performance hit when using compression), or build zlib-ng static only.

Thanks, Dom. I test it out.

areinecke commented 3 weeks ago

I tested this on narwhal and it worked as expected.

climbfuji commented 3 weeks ago

Thanks for the quick turnaround! Closing.