Browse Source

Merge branch 'master' of ssh://egit/pbarriat/easyconfigs

Super Pierre-Yves Barriat 3 years ago
parent
commit
a00accc9a9

+ 28 - 0
foss-2020b/CppUnit-1.15.1-GCCcore-10.2.0.eb

@@ -0,0 +1,28 @@
+easyblock = 'ConfigureMake'
+
+name = 'CppUnit'
+version = '1.15.1'
+
+homepage = 'https://freedesktop.org/wiki/Software/cppunit/'
+
+description = """
+ CppUnit is the C++ port of the famous JUnit framework for unit testing.
+"""
+
+toolchain = {'name': 'GCCcore', 'version': '10.2.0'}
+
+source_urls = ['https://dev-www.libreoffice.org/src']
+sources = [SOURCELOWER_TAR_GZ]
+checksums = ['89c5c6665337f56fd2db36bc3805a5619709d51fb136e51937072f63fcc717a7']
+
+builddependencies = [
+    ('binutils', '2.35'),
+]
+
+sanity_check_paths = {
+    'files': ['lib/libcppunit.a', 'lib/libcppunit.%s' % SHLIB_EXT,
+              'lib/pkgconfig/cppunit.pc'],
+    'dirs': ['bin', 'include/cppunit', 'share'],
+}
+
+moduleclass = 'tools'

+ 33 - 0
foss-2020b/Subunit-0.0.21-GCCcore-10.2.0-Python-3.8.6.eb

@@ -0,0 +1,33 @@
+easyblock = 'ConfigureMake'
+
+name = 'Subunit'
+version = '0.0.21'
+versionsuffix = '-Python-%(pyver)s'
+
+homepage = 'https://gogs.elic.ucl.ac.be'
+description = """This repo provides additional extensions for ELIC ecosystem."""
+
+toolchain = {'name': 'GCCcore', 'version': '10.2.0'}
+
+source_urls = ['ftp://ftp.unidata.ucar.edu/pub/udunits']
+sources = [SOURCELOWER_TAR_GZ]
+
+dependencies = [
+    ('Python', '3.8.6'),
+    ('Perl', '5.32.0'),
+    ('Check', '0.15.2'),
+    ('CppUnit', '1.15.1'),
+]
+
+builddependencies = [
+    ('pkg-config', '0.29.2'),
+]
+
+#modextrapaths = {'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages'}
+
+sanity_check_paths = {
+    'files': ['bin/subunit-ls', 'lib/libsubunit.so.0.0.0', 'lib/libsubunit.a', 'include/subunit/SubunitTestProgressListener.h'],
+    'dirs': ['lib/python%(pyshortver)s/site-packages/subunit'],
+}
+
+moduleclass = 'tools'

+ 2 - 0
foss-2020b/libmo_unpack-3.1.2-foss-2020b.eb

@@ -13,6 +13,8 @@ sources = ['v%(version)s.tar.gz']
 
 
 builddependencies = [('CMake', '3.18.4')]
 builddependencies = [('CMake', '3.18.4')]
 
 
+dependencies = [('Subunit', '0.0.21', '-Python-3.8.6')]
+
 separate_build_dir = True
 separate_build_dir = True
 
 
 configopts = '-DCMAKE_EXE_LINKER_FLAGS="$LDFLAGS -lsubunit"'
 configopts = '-DCMAKE_EXE_LINKER_FLAGS="$LDFLAGS -lsubunit"'

+ 4 - 63
intel-2020b/ELIC_Python-2-intel-2020b-Python-3.8.6.eb

@@ -44,16 +44,6 @@ exts_list = [
         'source_urls': ['https://sourceforge.net/projects/%(name)s/files/%(name)s/%(version)s'],
         'source_urls': ['https://sourceforge.net/projects/%(name)s/files/%(name)s/%(version)s'],
         'use_pip': True,
         'use_pip': True,
     }),
     }),
-    #('stratify', '0.1.1', {
-    #    'modulename': 'stratify',
-    #    'source_tmpl': 'v%(version)s.tar.gz',
-    #    'source_urls': ['https://github.com/SciTools-incubator/python-stratify/archive/'],
-    #}),
-    #('mo_pack', '0.2.0', {
-    #    'source_tmpl': 'v%(version)s.tar.gz',
-    #    'source_urls': ['https://github.com/SciTools/mo_pack/archive/'],
-    #    'checksums': ['4aa70e1f846b666670843bc2514435dedf7393203e88abaf74d48f8f2717a726'],
-    #}),
     ('basemap', '1.2.1rel', {
     ('basemap', '1.2.1rel', {
         'modulename': 'mpl_toolkits',
         'modulename': 'mpl_toolkits',
         'source_tmpl': 'v%(version)s.tar.gz',
         'source_tmpl': 'v%(version)s.tar.gz',
@@ -74,60 +64,11 @@ postinstallcmds = [
     'pip install OWSLib ' +
     'pip install OWSLib ' +
                 'netCDF4 ' +
                 'netCDF4 ' +
                 'dask ' +
                 'dask ' +
-                'cf-units ' +
-                'Cartopy ' +
-                #'Shapely ' +
-                #'astropy ' +
-                #'tqdm ' +
-                #'cf-units ' +
-                #'cftime ' +
-                #'singledispatch ' +
-                #'backports_abc ' +
-                #'tornado ' +
-                #'toolz ' +
-                #'patsy ' +
-                #'statsmodels ' +
-                #'nc-time-axis ' +
-                #'yamale ' +
-                #'affine ' +
-                #'boto3 ' +
-                #'botocore ' +
-                #'click-plugins ' +
-                #'cligj ' +
-                #'cloudpickle ' +
-                #'fiona ' +
-                #'geopandas ' +
-                #'jmespath ' +
-                #'munch ' +
-                #'networkx ' +
-                #'python-utils ' +
-                #'rasterio ' +
-                #'s3transfer ' +
-                #'snuggs ' +
-                #'xarray ' +
-                #'PyWavelets ' +
-                #'progressbar2 ' +
-                #'scikit-image ' +
-                #'descartes ' +
-                #'graphviz ' +
-                #'Bottleneck ' +
-                #'pickleshare ' +
-                #'prompt_toolkit ' +
-                #'ptyprocess ' +
-                #'pexpect ' +
-                #'typelib ' +
-                #'testpath ' +
-                #'parso ' +
-                #'jedi ' +
-                #'scikit-learn ' +
-                #'ldap3 ' +
-                #'skills ' +
-                #'XlsxWriter ' +
-                #'pyrsistent ' +
-                #'jsonschema ' +
-                #'plotly-charts ' +
-                #'rpy2 ' +
                 '--prefix="%(installdir)s" '
                 '--prefix="%(installdir)s" '
 ]
 ]
 
 
+#pip install eofs dask cf-units Cartopy netCDF4 mpi4py GitPython keyring --user
+#pip install certifi requests OWSLib netCDF4 geoval Shapely dask astropy oktopus bs4 tqdm cf-units cftime pyugrid cycler singledispatch backports_abc tornado toolz patsy statsmodels nc-time-axis yamale psutil bcrypt cffi cryptography Cython decorator mpi4py numpy pandas pbr pycparser scipy six virtualenv xlrd affine atomicwrites boto3 botocore click click-plugins cligj cloudpickle configobj docutils fiona geopandas jmespath more-itertools motionless munch networkx pathlib2 pluggy py pytest python-utils rasterio s3transfer scandir snuggs xarray py-expression-eval PyWavelets attrs progressbar2 scikit-image PyNaCl descartes graphviz wcwidth Bottleneck pickleshare simplegeneric prompt_toolkit Pygments ptyprocess pexpect typelib testpath parso jedi backcall scikit-learn ldap3 skills XlsxWriter retrying pyrsistent jsonschema plotly-charts --user
+#pip install SkillMetrics cdo PyQt5 --user
+
 moduleclass = 'numlib'
 moduleclass = 'numlib'

+ 23 - 0
intel-2020b/YAXT-0.6.2-iimpi-2020b.eb

@@ -0,0 +1,23 @@
+easyblock = 'ConfigureMake'
+
+name = 'YAXT'
+version = '0.6.2'
+
+homepage = 'https://www.dkrz.de/redmine/projects/yaxt'
+description = "Yet Another eXchange Tool"
+
+toolchain = {'name': 'iimpi', 'version': '2020b'}
+toolchainopts = {'usempi': True}
+
+source_urls = ['https://www.dkrz.de/redmine/attachments/download/492/']
+sources = [SOURCELOWER_TAR_GZ]
+checksums = ['7fc9b3e5dd2e0d3d5846f389a01c935aa40528eb09d82162b76c061b496a3c5b']
+
+configopts = 'FC="$F90" FCFLAGS="$F90FLAGS -cpp"'
+
+sanity_check_paths = {
+    'files': ['include/yaxt.h', 'include/yaxt.mod', 'lib/libyaxt.a', 'lib/libyaxt.%s' % SHLIB_EXT],
+    'dirs': ['include/xt'],
+}
+
+moduleclass = 'tools'

+ 4 - 4
intel-2020b/YAXT-0.9.0-iimpi-2020b.eb

@@ -7,14 +7,14 @@ homepage = 'https://www.dkrz.de/redmine/projects/yaxt'
 description = "Yet Another eXchange Tool"
 description = "Yet Another eXchange Tool"
 
 
 toolchain = {'name': 'iimpi', 'version': '2020b'}
 toolchain = {'name': 'iimpi', 'version': '2020b'}
-toolchainopts = {'pic': True, 'usempi': True, 'lowopt': True}
-#toolchainopts = {'usempi': True}
+#toolchainopts = {'pic': True, 'usempi': True, 'lowopt': True}
+toolchainopts = {'usempi': True}
 
 
 source_urls = ['https://www.dkrz.de/redmine/attachments/download/498/']
 source_urls = ['https://www.dkrz.de/redmine/attachments/download/498/']
 sources = [SOURCELOWER_TAR_GZ]
 sources = [SOURCELOWER_TAR_GZ]
 
 
-configopts = 'FC="$F90" FCFLAGS="$F90FLAGS -cpp" UCX_TLS="ud,sm,self" '
-#configopts = 'FC="$F90" FCFLAGS="$F90FLAGS -cpp" '
+#configopts = 'FC="$F90" FCFLAGS="$F90FLAGS -cpp" UCX_TLS="ud,sm,self" '
+configopts = 'FC="$F90" FCFLAGS="$F90FLAGS -cpp" '
 
 
 sanity_check_paths = {
 sanity_check_paths = {
     'files': ['include/yaxt.h', 'include/yaxt.mod', 'lib/libyaxt.a', 'lib/libyaxt.%s' % SHLIB_EXT],
     'files': ['include/yaxt.h', 'include/yaxt.mod', 'lib/libyaxt.a', 'lib/libyaxt.%s' % SHLIB_EXT],

+ 2 - 0
intel-2020b/libmo_unpack-3.1.2-intel-2020b.eb

@@ -13,6 +13,8 @@ sources = ['v%(version)s.tar.gz']
 
 
 builddependencies = [('CMake', '3.18.4')]
 builddependencies = [('CMake', '3.18.4')]
 
 
+dependencies = [('Subunit', '0.0.21', '-Python-3.8.6')]
+
 separate_build_dir = True
 separate_build_dir = True
 
 
 configopts = '-DCMAKE_EXE_LINKER_FLAGS="$LDFLAGS -lsubunit"'
 configopts = '-DCMAKE_EXE_LINKER_FLAGS="$LDFLAGS -lsubunit"'