From 3890f73cfc0a9de5834792649c7e43352670b2e3 Mon Sep 17 00:00:00 2001 From: Kenneth Hoste Date: Thu, 12 Mar 2015 16:17:18 +0100 Subject: [PATCH 1/2] add easyconfig file for TINKER v7.1.2 with intel/2015a --- .../t/TINKER/TINKER-7.1.2-intel-2015a.eb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 easybuild/easyconfigs/t/TINKER/TINKER-7.1.2-intel-2015a.eb diff --git a/easybuild/easyconfigs/t/TINKER/TINKER-7.1.2-intel-2015a.eb b/easybuild/easyconfigs/t/TINKER/TINKER-7.1.2-intel-2015a.eb new file mode 100644 index 000000000000..d61fb49b0793 --- /dev/null +++ b/easybuild/easyconfigs/t/TINKER/TINKER-7.1.2-intel-2015a.eb @@ -0,0 +1,15 @@ +name = 'TINKER' +version = '7.1.2' + +homepage = 'http://dasher.wustl.edu/tinker' +description = """The TINKER molecular modeling software is a complete and general package for molecular mechanics + and dynamics, with some special features for biopolymers.""" + +toolchain = {'name': 'intel', 'version': '2015a'} + +source_urls = ['http://dasher.wustl.edu/tinker/downloads/'] +sources = [SOURCELOWER_TAR_GZ] + +runtest = True + +moduleclass = 'chem' From 4f5a6c0914ed9adea45d845d6d45a28224b60e0d Mon Sep 17 00:00:00 2001 From: Kenneth Hoste Date: Thu, 12 Mar 2015 17:07:42 +0100 Subject: [PATCH 2/2] add FFTW dep to TINKER easyconfig --- .../f/FFTW/FFTW-3.3.4-intel-2015a.eb | 34 +++++++++++++++++++ .../t/TINKER/TINKER-7.1.2-intel-2015a.eb | 2 ++ 2 files changed, 36 insertions(+) create mode 100644 easybuild/easyconfigs/f/FFTW/FFTW-3.3.4-intel-2015a.eb diff --git a/easybuild/easyconfigs/f/FFTW/FFTW-3.3.4-intel-2015a.eb b/easybuild/easyconfigs/f/FFTW/FFTW-3.3.4-intel-2015a.eb new file mode 100644 index 000000000000..ce8a9b16ca94 --- /dev/null +++ b/easybuild/easyconfigs/f/FFTW/FFTW-3.3.4-intel-2015a.eb @@ -0,0 +1,34 @@ +easyblock = 'ConfigureMake' + +name = 'FFTW' +version = '3.3.4' + +homepage = 'http://www.fftw.org' +description = """FFTW is a C subroutine library for computing the discrete Fourier transform (DFT) + in one or more dimensions, of arbitrary input size, and of both real and complex data.""" + +toolchain = {'name': 'intel', 'version': '2015a'} +toolchainopts = {'optarch': True, 'pic': True} + +sources = [SOURCELOWER_TAR_GZ] +source_urls = [homepage] + +common_configopts = "--enable-threads --enable-openmp --with-pic" + +# no quad precision, requires GCC v4.6 or higher +# see also http://www.fftw.org/doc/Extended-and-quadruple-precision-in-Fortran.html +configopts = [ + common_configopts + " --enable-single --enable-sse2 --enable-mpi", + common_configopts + " --enable-long-double --enable-mpi", + common_configopts + " --enable-sse2 --enable-mpi", # default as last +] + +sanity_check_paths = { + 'files': ['bin/fftw%s' % x for x in ['-wisdom', '-wisdom-to-conf', 'f-wisdom', 'l-wisdom']] + + ['include/fftw3%s' % x for x in ['-mpi.f03', '-mpi.h', '.f', '.f03', + '.h', 'l-mpi.f03', 'l.f03', 'q.f03']] + + ['lib/libfftw3%s%s.a' % (x, y) for x in ['', 'f', 'l'] for y in ['', '_mpi', '_omp', '_threads']], + 'dirs': ['lib/pkgconfig'], +} + +moduleclass = 'numlib' diff --git a/easybuild/easyconfigs/t/TINKER/TINKER-7.1.2-intel-2015a.eb b/easybuild/easyconfigs/t/TINKER/TINKER-7.1.2-intel-2015a.eb index d61fb49b0793..814e32e34ae7 100644 --- a/easybuild/easyconfigs/t/TINKER/TINKER-7.1.2-intel-2015a.eb +++ b/easybuild/easyconfigs/t/TINKER/TINKER-7.1.2-intel-2015a.eb @@ -10,6 +10,8 @@ toolchain = {'name': 'intel', 'version': '2015a'} source_urls = ['http://dasher.wustl.edu/tinker/downloads/'] sources = [SOURCELOWER_TAR_GZ] +dependencies = [('FFTW', '3.3.4')] + runtest = True moduleclass = 'chem'