From 992ee1ec33ce0a5254bdb0a5201c3a37b4c1f1e1 Mon Sep 17 00:00:00 2001 From: Stefan Wolfsheimer Date: Tue, 3 Dec 2024 18:12:07 +0100 Subject: [PATCH] adding easyconfigs: ncview-2.1.11-gompi-2024a.eb --- .../n/ncview/ncview-2.1.11-gompi-2024a.eb | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 easybuild/easyconfigs/n/ncview/ncview-2.1.11-gompi-2024a.eb diff --git a/easybuild/easyconfigs/n/ncview/ncview-2.1.11-gompi-2024a.eb b/easybuild/easyconfigs/n/ncview/ncview-2.1.11-gompi-2024a.eb new file mode 100644 index 000000000000..7b0da0b88653 --- /dev/null +++ b/easybuild/easyconfigs/n/ncview/ncview-2.1.11-gompi-2024a.eb @@ -0,0 +1,42 @@ +## +# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild +## +easyblock = 'ConfigureMake' + +name = 'ncview' +version = '2.1.11' + +homepage = 'http://meteora.ucsd.edu/~pierce/ncview_home_page.html' +description = """Ncview is a visual browser for netCDF format files. +Typically you would use ncview to get a quick and easy, push-button +look at your netCDF files. You can view simple movies of the data, +view along various dimensions, take a look at the actual data values, +change color maps, invert the data, etc.""" + +toolchain = {'name': 'gompi', 'version': '2024a'} +toolchainopts = {'usempi': True, 'pic': True} + +source_urls = ['https://cirrus.ucsd.edu/~pierce/ncview/'] +sources = [SOURCE_TAR_GZ] +checksums = ['597cfddf9c2d7993e9b0b86bca1b73839567ee9116ee33f6d750a449b5033d91'] + +# specified compiler is hard checked against (full path to) compiler used for netCDF... +preconfigopts = "CC=$(nc-config --cc) " +configopts = "--with-udunits2_incdir=$EBROOTUDUNITS/include --with-udunits2_libdir=$EBROOTUDUNITS/lib " +configopts += "--with-nc-config=$EBROOTNETCDF/bin/nc-config" + +dependencies = [ + ('netCDF', '4.9.2'), + ('netCDF-Fortran', '4.6.1'), + ('UDUNITS', '2.2.28'), + ('X11', '20240607'), + ('libpng', '1.6.43'), + ('zlib', '1.3.1'), +] + +sanity_check_paths = { + 'files': ['bin/ncview'], + 'dirs': [], +} + +moduleclass = 'vis'