Adding support for Chapel v1.6.0 #2

Merged
merged 8 commits into from Dec 28, 2012

Conversation

Projects
None yet
2 participants
Collaborator

fgeorgatos commented Oct 19, 2012

The language Chapel v1.6.0 was released on 20121018 by Cray fellows.

I am testing the new eb repo environment, so bear with this; simply comment upon it;
easyconfig is sent right next to the block, to reduce workflow effort.

Signed-off-by: Fotis Georgatos fotis.georgatos@uni.lu

@fgeorgatos fgeorgatos Adding support for Chapel v1.6.0
Signed-off-by: Fotis Georgatos <fotis.georgatos@uni.lu>
95f9a13

@boegel boegel commented on an outdated diff Nov 5, 2012

easybuild/easyblocks/c/chapel.py
+
+
+class EB_Chapel(EasyBlock):
+ """Support for building Chapel."""
+
+
+ def __init__(self, *args, **kwargs):
+ """Initialize Chapel-specific variables."""
+ super(EB_Chapel, self).__init__(*args, **kwargs)
+ self.build_in_installdir = True
+
+
+ def configure_step(self):
+ """Configure Chapel build using custom tools"""
+
+ pass
@boegel

boegel Nov 5, 2012

Owner

Remove empty line above pass

@boegel boegel commented on an outdated diff Nov 5, 2012

easybuild/easyblocks/c/chapel.py
+
+ # enable parallel build
+ p = self.cfg['parallel']
+ self.par = ""
+ if p:
+ self.par = "-j %s" % p
+
+ # build chapel
+ cmd = "make %s" % self.par
+ run_cmd(cmd, log_all=True, simple=True, log_output=True)
+
+
+ def install_step(self):
+ """Installation of Chapel has alredy been done as part of the build procedure"""
+
+ pass
@boegel

boegel Nov 5, 2012

Owner

remove empty line above pass

fix indentation of pass line; please make sure you're not using tabs anywhere

@boegel boegel commented on an outdated diff Nov 5, 2012

easybuild/easyblocks/c/chapel.py
+
+ def install_step(self):
+ """Installation of Chapel has alredy been done as part of the build procedure"""
+
+ pass
+
+
+ def make_module_req_guess(self):
+ """
+ A dictionary of possible directories to look for; this is needed since bin/linux64 of chapel is non standard
+ """
+ return {
+ 'PATH':['bin', 'bin/linux64', 'bin64'],
+ 'LD_LIBRARY_PATH':['lib', 'lib/linux64', 'lib64'],
+ }
+
@boegel

boegel Nov 5, 2012

Owner

define the custom sanity check in the easyblock

@boegel boegel commented on an outdated diff Nov 5, 2012

...uild/easyblocks/c/Chapel-1.6.0-goalf-1.1.0-no-OFED.eb
@@ -0,0 +1,57 @@
+# Built with 0.9-r33bd38316ee74908e98e294486c590916db09a43 on 2012-10-19_10-26-20
@boegel

boegel Nov 5, 2012

Owner

Please make a pull request for the easyconfig file in https://github.com/hpcugent/easybuild-easyconfigs

@boegel boegel commented on an outdated diff Nov 5, 2012

...uild/easyblocks/c/Chapel-1.6.0-goalf-1.1.0-no-OFED.eb
+Chapel is designed to improve the productivity of high-end computer users while also serving
+as a portable parallel programming model that can be used on commodity clusters or desktop multicore
+systems. Chapel strives to vastly improve the programmability of large-scale parallel computers
+while matching or beating the performance and portability of current programming models like MPI."""
+
+
+unpackOptions='--strip-components=1'
+
+toolchain = {'name': 'goalf', 'version': '1.1.0-no-OFED'}
+toolchainopts = {'optarch': True, 'pic': True}
+
+sources = ['%s-%s.tar.gz' % (name.lower(), version)]
+sourceURLs = [('http://sourceforge.net/projects/%s/files/%s/%s/' % (name.lower(), name.lower(), version) , 'download')]
+
+# better safe than sorry, the build can fail at parallel runs
+maxparallel=1
@boegel

boegel Nov 5, 2012

Owner

does it actually fail when built in parallel? have you seen if fail?

@boegel boegel commented on an outdated diff Nov 5, 2012

...uild/easyblocks/c/Chapel-1.6.0-goalf-1.1.0-no-OFED.eb
+while matching or beating the performance and portability of current programming models like MPI."""
+
+
+unpackOptions='--strip-components=1'
+
+toolchain = {'name': 'goalf', 'version': '1.1.0-no-OFED'}
+toolchainopts = {'optarch': True, 'pic': True}
+
+sources = ['%s-%s.tar.gz' % (name.lower(), version)]
+sourceURLs = [('http://sourceforge.net/projects/%s/files/%s/%s/' % (name.lower(), name.lower(), version) , 'download')]
+
+# better safe than sorry, the build can fail at parallel runs
+maxparallel=1
+
+_libpath='lib/linux64/gnu/comm-none/substrate-none/seg-none/mem-default/tasks-fifo/threads-pthreads/atomics-intrinsics/'
+sanityCheckPaths = {
@boegel

boegel Nov 5, 2012

Owner

Default sanity check should be defined in easyblock, not in easyconfig.

The default custom sanity check paths can still be overridden here, if need be (but that's not there case here, stuff below should go in the easyblock).

boegel referenced this pull request in easybuilders/easybuild-easyconfigs Dec 28, 2012

Merged

added example easyconfig for Chapel #56

Owner

boegel commented Dec 28, 2012

Pull request made to fix easyblock, see fgeorgatos#1 .

Easyconfig file has been split off into hpcugent/easybuild-easyconfigs#56.

@boegel boegel added a commit that referenced this pull request Dec 28, 2012

@boegel boegel Merge pull request #2 from fgeorgatos/contrib_Chapel
Adding support for Chapel v1.6.0
5c4755f

@boegel boegel merged commit 5c4755f into easybuilders:develop Dec 28, 2012

@JensTimmerman JensTimmerman added a commit that referenced this pull request Jan 9, 2013

@JensTimmerman JensTimmerman Merge pull request #2 from boegel/r
reorganize and clean up R support (+ update to develop)
06aa19e

@boegel boegel pushed a commit that referenced this pull request Mar 21, 2013

@fgeorgatos fgeorgatos Merge pull request #2 from boegel/contrib_CUDA_easyblock
don't use full path for Perl install scripts, unset DISPLAY env var
b02daf6

fgeorgatos referenced this pull request Apr 4, 2013

Merged

Add Clang easyblock #151

@boegel boegel pushed a commit that referenced this pull request Aug 13, 2013

@wpoely86 wpoely86 Merge pull request #2 from boegel/gcc-unset-env
use self.cfg.update for adjusting unwanted_env_vars
b6a20e7

@boegel boegel pushed a commit that referenced this pull request Aug 1, 2014

@hajgato hajgato Merge pull request #2 from boegel/imkl_11.1.x_fftw_mpi_wrappers
enhance sanity check to check for FFTW wrapper libs, get rid of duplicate code in post_install_step
c935594

@boegel boegel pushed a commit that referenced this pull request Sep 8, 2014

@pescobar pescobar Merge pull request #2 from boegel/modeller
use existing 'key' easyconfig parameter
2f41d77

@boegel boegel referenced this pull request in boegel/easybuild-easyblocks Oct 29, 2014

@ocaisa ocaisa Merge pull request #2 from boegel/change_impi_default_compiler
check compiler env vars before using them
ad58a85

@boegel boegel pushed a commit that referenced this pull request May 21, 2015

@rjeschmi rjeschmi Merge pull request #2 from boegel/ruby-ext-gem
fixes & changes in Ruby-related easyblock
9811067

@boegel boegel pushed a commit that referenced this pull request Jul 10, 2015

@geimer geimer Merge pull request #2 from boegel/system_compiler
cleanup, fixes and enhancements to SystemCompiler easyblock
f49d80a

@ehiggs ehiggs added a commit that referenced this pull request Jul 14, 2015

@ehiggs ehiggs Merge pull request #2 from boegel/pbd
configure in run() + drop empty custom __init__ in pbdMPI easyblock
5674717

@boegel boegel pushed a commit that referenced this pull request Jul 14, 2015

@ocaisa ocaisa Merge pull request #2 from boegel/ocaisa_patch-2
fix super call in BuildEnv generic easyblock (+ fix location)
5911ef3

@boegel boegel pushed a commit that referenced this pull request Jan 10, 2016

@sbecuwe sbecuwe Merge pull request #2 from boegel/modules/cplex-1263
fix remarks w.r.t. using glob in installdir
23d25f4

fgeorgatos referenced this pull request Feb 3, 2016

Open

XALT support #444

@boegel boegel pushed a commit that referenced this pull request Feb 11, 2016

@pforai pforai Merge pull request #2 from boegel/hpl_no_FFTW
minor style fix in HPL easyblock
30142a8

@boegel boegel pushed a commit that referenced this pull request Jun 17, 2016

@gppezzi gppezzi Merge pull request #2 from boegel/boost_cray
fix indent on write_file for user-config.jam + minor style issues in Boost easyblock
d8223d8

@boegel boegel pushed a commit that referenced this pull request Nov 15, 2016

@jerowe jerowe Merge pull request #2 from boegel/anaconda
rework EB_CondaCreate as generic CondaCreate easyblock, get rid of trivial run_cmd wrappers pre_install_step/post_install_step
397d27c

@boegel boegel pushed a commit that referenced this pull request Dec 8, 2016

@akesandgren akesandgren Merge pull request #2 from boegel/allinea-templates+system.config-han…
…dling

get rid of tabs, clarify use of shutil.copy + minor style fixes
f540531

@boegel boegel pushed a commit that referenced this pull request Mar 18, 2017

@bartoldeman bartoldeman Merge pull request #2 from boegel/icc-reduce-env-vars
clean up optionally defining $IDB_HOME
7c1f0b9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment