Pierre-Yves Barriat hace 6 años
padre
commit
d906b4f254

+ 38 - 0
intel-2016.02/UDUNITS-2.2.26-intel-2016.02-GCC-4.9.eb

@@ -0,0 +1,38 @@
+##
+# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild
+#
+# Copyright:: Copyright 2012-2013 University of Luxembourg, Ghent University
+# Authors::   Fotis Georgatos <fotis@cern.ch>, Kenneth Hoste (Ghent University)
+# License::   MIT/GPL
+# $Id$
+#
+# This work implements a part of the HPCBIOS project and is a component of the policy:
+# http://hpcbios.readthedocs.org/en/latest/HPCBIOS_2012-97.html
+##
+
+easyblock = 'ConfigureMake'
+
+name = 'UDUNITS'
+version = '2.2.26'
+
+homepage = 'http://www.unidata.ucar.edu/software/udunits/'
+description = """UDUNITS supports conversion of unit specifications between formatted and binary forms,
+ arithmetic manipulation of units, and conversion of values between compatible scales of measurement."""
+
+toolchain = {'name': 'intel', 'version': '2016.02-GCC-4.9'}
+toolchainopts = {'pic': True}
+
+sources = [SOURCELOWER_TAR_GZ]
+source_urls = ['ftp://ftp.unidata.ucar.edu/pub/udunits']
+
+dependencies = [('expat', '2.2.0')]
+
+sanity_check_paths = {
+    'files': ['bin/udunits2', 'include/converter.h', 'include/udunits2.h', 'include/udunits.h',
+              'lib/libudunits2.a', 'lib/libudunits2.%s' % SHLIB_EXT],
+    'dirs': ['share'],
+}
+
+parallel = 1
+
+moduleclass = 'phys'

+ 16 - 0
intel-2016.02/expat-2.2.0-intel-2016.02-GCC-4.9.eb

@@ -0,0 +1,16 @@
+easyblock = 'ConfigureMake'
+
+name = 'expat'
+version = '2.2.0'
+
+homepage = 'http://expat.sourceforge.net/'
+description = """Expat is an XML parser library written in C. It is a stream-oriented parser in which an application
+ registers handlers for things the parser might find in the XML document (like start tags)"""
+
+toolchain = {'name': 'intel', 'version': '2016.02-GCC-4.9'}
+toolchainopts = {'pic': True}
+
+sources = [SOURCELOWER_TAR_BZ2]
+source_urls = [SOURCEFORGE_SOURCE]
+
+moduleclass = 'tools'

+ 24 - 0
intel-2016.02/netCDF-C++4-4.3.0-intel-2016.02-GCC-4.9.eb

@@ -0,0 +1,24 @@
+easyblock = 'ConfigureMake'
+
+name = 'netCDF-C++4'
+version = '4.3.0'
+
+homepage = 'http://www.unidata.ucar.edu/software/netcdf/'
+description = """NetCDF (network Common Data Form) is a set of software libraries 
+ and machine-independent data formats that support the creation, access, and sharing of array-oriented 
+ scientific data."""
+
+toolchain = {'name': 'intel', 'version': '2016.02-GCC-4.9'}
+toolchainopts = {'pic': True}
+
+source_urls = ['https://github.com/Unidata/netcdf-cxx4/archive/']
+sources = ['v%(version)s.tar.gz']
+
+dependencies = [('netCDF', '4.4.1.1')]
+
+sanity_check_paths = {
+    'files': ['include/netcdf', 'lib/libnetcdf_c++4.a', 'lib/libnetcdf_c++4.%s' % SHLIB_EXT],
+    'dirs': [],
+}
+
+moduleclass = 'data'

+ 2 - 0
utils/install_modulerc.sh

@@ -326,6 +326,8 @@ echo "#%Module" > /opt/modules/all/${VAR}/.modulerc
 echo "hide-version expat/2.2.0-GCCcore-6.3.0" >> /opt/modules/all/${VAR}/.modulerc
 echo "hide-version expat/2.2.4-GCCcore-6.4.0" >> /opt/modules/all/${VAR}/.modulerc
 echo "hide-version expat/2.2.5-GCCcore-6.4.0" >> /opt/modules/all/${VAR}/.modulerc
+echo "hide-version expat/2.2.0-GCCcore-4.9.3" >> /opt/modules/all/${VAR}/.modulerc
+echo "hide-version expat/2.2.0-intel-2016.02-GCC-4.9" >> /opt/modules/all/${VAR}/.modulerc
 
 VAR=flex
 echo "#%Module" > /opt/modules/all/${VAR}/.modulerc