Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{cae} [intel-2015a] GATE-7.0, Geant4-9.6.p04, root-5.34.26, clhep-2.1.3.1 (REVIEW) #1439

Merged
merged 27 commits into from
Jan 12, 2016
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
25 changes: 25 additions & 0 deletions easybuild/easyconfigs/a/Autoconf/Autoconf-2.69-intel-2015a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
easyblock = 'ConfigureMake'

name = 'Autoconf'
version = '2.69'

homepage = 'http://www.gnu.org/software/autoconf/'
description = """Autoconf is an extensible package of M4 macros that produce shell scripts to automatically
configure software source code packages. These scripts can adapt the packages to many kinds of UNIX-like
systems without manual user intervention. Autoconf creates a configuration script for a package from a
template file that lists the operating system features that the package can use, in the form of M4 macro calls."""

toolchain = {'name': 'intel', 'version': '2015a'}

source_urls = [GNU_SOURCE]
sources = [SOURCELOWER_TAR_GZ]

dependencies = [('M4', '1.4.17')]

sanity_check_paths = {
'files': ["bin/%s" % x for x in ["autoconf", "autoheader", "autom4te", "autoreconf",
"autoscan", "autoupdate", "ifnames"]],
'dirs': [],
}

moduleclass = 'devel'
33 changes: 33 additions & 0 deletions easybuild/easyconfigs/a/Automake/Automake-1.15-intel-2015a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
##
# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild
#
# Copyright:: Copyright 2012-2014 Uni.Lu/LCSB, NTUA
# Authors:: Fotis Georgatos <fotis@cern.ch>
# 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/
##

easyblock = 'ConfigureMake'

name = 'Automake'
version = "1.15"

homepage = 'http://www.gnu.org/software/automake/automake.html'
description = "Automake: GNU Standards-compliant Makefile generator"

toolchain = {'name': 'intel', 'version': '2015a'}

source_urls = ['http://ftp.gnu.org/gnu/automake']
sources = [SOURCELOWER_TAR_GZ]

dependencies = [('Autoconf', '2.69')]

sanity_check_paths = {
'files': ['bin/automake', 'bin/aclocal'],
'dirs': []
}

moduleclass = 'devel'
22 changes: 22 additions & 0 deletions easybuild/easyconfigs/c/CFITSIO/CFITSIO-3.37-intel-2015a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
easyblock = 'ConfigureMake'

name = 'CFITSIO'
version = '3.37'

homepage = 'http://heasarc.gsfc.nasa.gov/fitsio/'
description = """CFITSIO is a library of C and Fortran subroutines for reading and writing data files in
FITS (Flexible Image Transport System) data format."""

toolchain = {'name': 'intel', 'version': '2015a'}
toolchainopts = {'optarch': True, 'pic': True}

srcversion = '%s0' % version.replace('.', '')
source_urls = ['ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/']
sources = ['%%(namelower)s%s.tar.gz' % srcversion]

sanity_check_paths = {
'files': ["lib/libcfitsio.a"],
'dirs': ["include"],
}

moduleclass = 'lib'
30 changes: 30 additions & 0 deletions easybuild/easyconfigs/c/CLHEP/CLHEP-2.1.3.1-intel-2015a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
easyblock = 'CMakeMake'

name = 'CLHEP'
version = '2.1.3.1'

homepage = 'http://proj-clhep.web.cern.ch/proj-clhep/'
description = """The CLHEP project is intended to be a set of HEP-specific foundation and
utility classes such as random generators, physics vectors, geometry and linear algebra.
CLHEP is structured in a set of packages independent of any external package."""


toolchain = {'name': 'intel', 'version': '2015a'}
toolchainopts = {'pic': True}

sources = [SOURCELOWER_TGZ]
source_urls = ['http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/']

dependencies = [ ('CMake', '3.1.3') ]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why the spaces around (...)?


# build dir should not be in the source tree!
preconfigopts = 'mkdir ../../2.1.3.1_bld && cd ../../2.1.3.1_bld &&'
prebuildopts = 'cd ../../2.1.3.1_bld &&'
preinstallopts = 'cd ../../2.1.3.1_bld &&'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't hardcode the version, and there's even no need to use the version at all?

just call the dir obj, which is more-or-less a standard?


configopts = '-DCMAKE_BUILD_TYPE=Release'

# build dir should not be in the source tree!
srcdir = '../2.1.3.1/CLHEP/'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't hardcode the version please

how does this relate to the preconfigopts & co?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

separate_build_dir = True does not work, so I had to find a solution to put builddir out of the source tree.


moduleclass = 'numlib'
22 changes: 22 additions & 0 deletions easybuild/easyconfigs/c/CMake/CMake-3.1.3-intel-2015a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
easyblock = 'ConfigureMake'

name = 'CMake'
version = '3.1.3'

homepage = 'http://www.cmake.org'
description = """CMake, the cross-platform, open-source build system.
CMake is a family of tools designed to build, test and package software."""

toolchain = {'name': 'intel', 'version': '2015a'}

source_urls = ['http://www.cmake.org/files/v%(version_major_minor)s']
sources = [SOURCELOWER_TAR_GZ]

dependencies = [('ncurses', '5.9')]

sanity_check_paths = {
'files': ["bin/%s" % x for x in ['cmake', 'cpack', 'ctest']],
'dirs': [],
}

moduleclass = 'devel'
15 changes: 15 additions & 0 deletions easybuild/easyconfigs/e/expat/expat-2.1.0-intel-2015a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
easyblock = 'ConfigureMake'

name = 'expat'
version = '2.1.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': '2015a'}

sources = [SOURCELOWER_TAR_GZ]
source_urls = [SOURCEFORGE_SOURCE]

moduleclass = 'tools'
21 changes: 21 additions & 0 deletions easybuild/easyconfigs/f/freetype/freetype-2.5.5-intel-2015a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name = 'freetype'
version = '2.5.5'

homepage = 'http://freetype.org'
description = """FreeType 2 is a software font engine that is designed to be small, efficient, highly customizable, and
portable while capable of producing high-quality output (glyph images). It can be used in graphics libraries, display
servers, font conversion tools, text image generation tools, and many other products as well."""

toolchain = {'name': 'intel', 'version': '2015a'}

source_urls = [GNU_SAVANNAH_SOURCE]
sources = [SOURCE_TAR_GZ]

dependencies = [('libpng', '1.6.16')]

sanity_check_paths = {
'files': ['bin/freetype-config', 'lib/libfreetype.a', 'lib/libfreetype.so', 'lib/pkgconfig/freetype2.pc'],
'dirs': ['include/freetype2'],
}

moduleclass = 'vis'
26 changes: 26 additions & 0 deletions easybuild/easyconfigs/g/GATE/GATE-7.0-intel-2015a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name = 'GATE'
version = '7.0'

homepage = 'http://www.opengatecollaboration.org/'
description = """GATE is an advanced opensource software developed by the international OpenGATE collaboration and
dedicated to the numerical simulations in medical imaging. It currently supports simulations of Emission Tomography
(Positron Emission Tomography - PET and Single Photon Emission Computed Tomography - SPECT), and Computed Tomography"""

toolchain = {'name': 'intel', 'version': '2015a'}

sources = [('%(namelower)s_v%(version)s.tar_.gz' , "tar xfvz %s")]
source_urls = ['http://www.opengatecollaboration.org/sites/opengatecollaboration.org/files/']

patches = [
'GATE-%(version)s_Makefile-prefix.patch',
'GATE-%(version)s_unistdh.patch',
]

dependencies = [
('Geant4', '9.6.p04'),
('CLHEP', '2.1.3.1'),
('ROOT', 'v5.34.26'),
('CMake', '3.1.3'),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

build dep only?

]

moduleclass = 'cae'
46 changes: 46 additions & 0 deletions easybuild/easyconfigs/g/GATE/GATE-7.0_Makefile-prefix.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
--- gate_v7.0/cluster_tools/filemerger/Makefile.orig 2014-05-12 11:18:16.000000000 +0200
+++ gate_v7.0/cluster_tools/filemerger/Makefile 2015-03-04 10:54:55.461301152 +0100
@@ -16,6 +16,8 @@
INCLUDE := -I./include `geant4-config --cflags` `root-config --cflags`
LDFLAGS := `geant4-config --libs` `root-config --glibs`

+PREFIX := /usr/local
+
TARGET := gjm

.PHONY: all clean directories cleanall install uninstall
@@ -49,8 +51,9 @@

install:
@echo Installing ...
- @$(CP) $(TARGET) /usr/local/bin
+ mkdir -p $(PREFIX)/bin
+ @$(CP) $(TARGET) $(PREFIX)/bin

uninstall:
@echo Uninstalling...
- @$(RM) /usr/local/bin/$(TARGET)
+ @$(RM) $(PREFIX)/bin/$(TARGET)
--- gate_v7.0/cluster_tools/jobsplitter/Makefile.orig 2014-05-12 11:18:16.000000000 +0200
+++ gate_v7.0/cluster_tools/jobsplitter/Makefile 2015-03-04 10:54:55.461301152 +0100
@@ -16,6 +16,8 @@
INCLUDE := -I./include `geant4-config --cflags`
LDFLAGS := `geant4-config --libs`

+PREFIX := /usr/local
+
TARGET := gjs

.PHONY: all clean directories cleanall install uninstall
@@ -57,8 +59,9 @@

install:
@echo Installing ...
- @$(CP) $(TARGET) /usr/local/bin
+ mkdir -p $(PREFIX)/bin
+ @$(CP) $(TARGET) $(PREFIX)/bin

uninstall:
@echo Uninstalling...
- @$(RM) /usr/local/bin/$(TARGET)
+ @$(RM) $(PREFIX)/bin/$(TARGET)
10 changes: 10 additions & 0 deletions easybuild/easyconfigs/g/GATE/GATE-7.0_unistdh.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--- gate_v7.0/cluster_tools/jobsplitter/include/GateMacfileParser.hh.org 2014-05-12 11:18:16.000000000 +0200
+++ gate_v7.0/cluster_tools/jobsplitter/include/GateMacfileParser.hh 2015-03-04 10:32:24.416298472 +0100
@@ -19,6 +19,7 @@
#include <sstream>
#include <fstream>
#include <math.h>
+#include <unistd.h>

using namespace std;

24 changes: 24 additions & 0 deletions easybuild/easyconfigs/g/Geant4/Geant4-9.6.p04-intel-2015a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name = 'Geant4'
version = '9.6.p04'

homepage = 'http://geant4.cern.ch/'
description = """Geant4 is a toolkit for the simulation of the passage of particles through matter.
Its areas of application include high energy, nuclear and accelerator physics,
as well as studies in medical and space science."""

toolchain = {'name': 'intel', 'version': '2015a'}

source_urls = ['http://geant4.cern.ch/support/source']
sources = ['%(namelower)s.%(version)s.tar.gz']

dependencies = [
('expat', '2.1.0'),
('CLHEP', '2.1.3.1'),
]

builddependencies = [('CMake', '3.1.3')]

configopts = "-DEXPAT_LIBRARY=$EBROOTEXPAT/lib/libexpat.so -DEXPAT_INCLUDE_DIR=$EBROOTEXPAT/include"
configopts += "-DGEANT4_INSTALL_DATA=OFF"

moduleclass = 'phys'
21 changes: 21 additions & 0 deletions easybuild/easyconfigs/g/glproto/glproto-1.4.17-intel-2015a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
easyblock = 'ConfigureMake'

name = 'glproto'
version = '1.4.17'

homepage = "http://www.freedesktop.org/wiki/Software/xlibs"
description = "X protocol and ancillary headers"

toolchain = {'name': 'intel', 'version': '2015a'}
toolchainopts = {'optarch': True}

sources = [SOURCE_TAR_GZ]
source_urls = ['http://xorg.freedesktop.org/archive/individual/proto/']

sanity_check_paths = {
'files': ['include/GL/%s.h' % x for x in ['glxint', 'glxmd', 'glxproto',
'glxtokens', 'internal/glcore']],
'dirs': [],
}

moduleclass = 'devel'
27 changes: 27 additions & 0 deletions easybuild/easyconfigs/l/libdrm/libdrm-2.4.59-intel-2015a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
easyblock = 'ConfigureMake'

name = 'libdrm'
version = '2.4.59'

homepage = 'http://dri.freedesktop.org'
description = """Direct Rendering Manager runtime library."""

source_urls = ['http://dri.freedesktop.org/libdrm/']
sources = [SOURCELOWER_TAR_GZ]

toolchain = {'name': 'intel', 'version': '2015a'}

dependencies = [
('libpthread-stubs', '0.3'),
('libpciaccess', '0.13.3'),
]

configopts = '--enable-nouveau-experimental-api'

sanity_check_paths = {
'files' : ['include/xf86drm.h', 'include/xf86drmMode.h', 'lib/libdrm_intel.so',
'lib/libdrm_radeon.so', 'lib/libdrm_nouveau.so', 'lib/libdrm.so', 'lib/libkms.so'],
'dirs': ['include/libdrm', 'include/libkms', 'lib/pkgconfig'],
}

moduleclass = 'lib'
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
easyblock = 'ConfigureMake'

name = 'libpciaccess'
version = '0.13.3'

homepage = 'http://cgit.freedesktop.org/xorg/lib/libpciaccess/'
description = """Generic PCI access library."""

source_urls = ['http://cgit.freedesktop.org/xorg/lib/libpciaccess/snapshot']
sources = [SOURCE_TAR_GZ]

toolchain = {'name': 'intel', 'version': '2015a'}

builddependencies = [
('Autoconf', '2.69'),
('xorg-macros', '1.19.0'),
]

preconfigopts = "ACLOCAL='aclocal -I $EBROOTXORGMINMACROS/share/aclocal' ./autogen.sh && "

sanity_check_paths = {
'files': ['include/pciaccess.h', 'lib/libpciaccess.a'],
'dirs': ['lib/pkgconfig'],
}

moduleclass = 'system'
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
easyblock = 'ConfigureMake'

name = 'libpthread-stubs'
version = '0.3'

homepage = 'http://xcb.freedesktop.org/'
description = """The X protocol C-language Binding (XCB) is a replacement for Xlib featuring a small footprint,
latency hiding, direct access to the protocol, improved threading support, and extensibility."""

source_urls = ['http://xcb.freedesktop.org/dist/']
sources = [SOURCELOWER_TAR_GZ]

toolchain = {'name': 'intel', 'version': '2015a'}

sanity_check_paths = {
'files' : ['lib/pkgconfig/pthread-stubs.pc'],
'dirs': [] ,
}

moduleclass = 'lib'