Commit Graph

627 Commits

Author SHA1 Message Date
Gregory Becker
4d9067c769 pick last compiler instead of first, will be overwritten by more advanced preferences as mentioned in the email group 2016-01-04 16:35:06 -08:00
Gregory Becker
557fca7c60 Support for cray external dependencies implemented in modules 2016-01-04 12:36:48 -08:00
Gregory Becker
8f4182926b Merge branch 'externals' into crayport 2016-01-04 10:46:25 -08:00
Gregory Becker
bd8f4c1a74 fixed yaml error 2015-12-17 15:26:27 -08:00
Mario Melara
8d01b55991 Commented out cxxflag. Not 100% sure it's needed 2015-12-11 12:07:32 -08:00
Mario Melara
2dc06a2b27 Fixed targets ti be x86_64, important note: have not tested this on linux machine 2015-12-11 12:04:47 -08:00
Mario Melara
a10fef71d9 Rewrote docstrings for sys_type() and got rid of unused functions 2015-12-11 12:03:13 -08:00
Mario Melara
c86ffcd1d3 Got rid of the unusued default strategy=None 2015-12-02 10:15:33 -08:00
Mario Melara
378ddac2da Got rid of hard coded strings for adding default 2015-12-01 11:57:54 -08:00
Mario Melara
91172bbb09 Changed default to CPU_TARGET env var. Helps deal with target differences between cori and edison 2015-12-01 11:57:17 -08:00
Mario Melara
007776682e Changed add_target to include variables rather than hard-coded strings 2015-12-01 11:55:38 -08:00
Mario Melara
c99ce45c6f Adding new files to compilers 2015-11-13 11:53:38 -08:00
Mario Melara
0f2e36fdaa Changed name of file and class to craype to avoid spack freaking out about versions 2015-11-13 11:48:49 -08:00
Mario Melara
81c5d887ec Added craype support 2015-11-13 11:48:15 -08:00
Mario Melara
d9a0d8dc3e Got rid of my old method of finding in LOADEDMODULES 2015-11-13 11:47:36 -08:00
Mario Melara
aa570be32f Added a _cmp_key for the architecture class 2015-11-13 11:46:13 -08:00
Gregory Becker
4d5ae60afb Added the basic ouline of a cray compiler class in lib/spack/spack/compilers/cray.py 2015-11-12 14:31:41 -08:00
Gregory Becker
327a409994 used key_comparator decorator from util.lang to compare targets. Fixes find bug 2015-11-12 13:27:10 -08:00
Gregory Becker
7344c861c9 Fixed the to_dict from_dict for targets on cray. First version to build/find properly on Cray 2015-11-11 17:29:47 -08:00
Gregory Becker
faabc632d6 fixed my git problems 2015-11-11 16:33:22 -08:00
Gregory Becker
07b073ea42 made a to_dict for targets. Also a from_dict for sanity 2015-11-11 16:16:47 -08:00
Gregory Becker
4fc7baef9d bug fix in spec.py 2015-11-11 15:07:57 -08:00
Gregory Becker
30bd0b1ab8 First possibly working version of the crayport. Not sufficiently tested at all. 2015-11-11 14:22:07 -08:00
Gregory Becker
ee0bc0a0ec Add modules to compilers. Changed compiler to take paths as a list. Changed compiler_for_spec to be aware of different compiler stratigies 2015-11-11 11:32:18 -08:00
Gregory Becker
13f731b8ac Merge branch 'features/spackathon' of github.com:NERSC/spack into crayport
Conflicts:
	lib/spack/spack/compiler.py
2015-11-11 10:35:59 -08:00
Gregory Becker
5347f460b4 adding module find to find command 2015-11-11 10:31:37 -08:00
Gregory Becker
d02308cb86 Added bgq architecture subclass: may require additional functionality to support 2015-11-05 09:21:56 -08:00
Mario Melara
0cadc644d6 Fixed architecture.py file so it doesn't have the weird merge changes i.e <<<HEAD etc. Also added target method of recognizing it's own architecture 2015-11-04 13:28:12 -08:00
Mario Melara
e2a3925ae7 Merge branch 'features/spackathon' of https://github.com/NERSC/spack into features/spackathon 2015-11-04 13:21:33 -08:00
Gregory Becker
ffde0b16e2 Fixed the previous commit 2015-11-04 13:12:11 -08:00
Mario Melara
9bce5e52d7 generic linux architecture subclass 2015-11-04 13:08:48 -08:00
Mario Melara
0392517265 Merge branch 'features/spackathon' of https://github.com/NERSC/spack into features/spackathon
Conflicts:
	lib/spack/spack/architecture.py
2015-11-04 13:06:56 -08:00
Gregory Becker
8b3f2ec1d1 Changed cray architecture subclass to add proper targets for front at back end nodes 2015-11-04 13:00:35 -08:00
Mario Melara
880cbe16cb changed some potential syntax errors and added a way for target to recognize class 2015-11-04 12:57:29 -08:00
Gregory Becker
9a1c675278 Enforced that the architecture subclass cannot add a target that shares a name with a target alias 2015-11-04 12:50:22 -08:00
Mario Melara
3e2e279552 Added default target and also front end and back end targets 2015-11-02 11:08:55 -08:00
Mario Melara
5d7ba091af Fixed some issues with naming 2015-11-02 11:08:08 -08:00
Mario Melara
04c62896b3 Added arch_path to list of modules path 2015-10-30 15:59:28 -07:00
Mario Melara
32b0ec5da0 Reverted back all architecture way of finding modules 2015-10-30 15:58:49 -07:00
Mario Melara
978bbe32b5 Changed front-end and back-end to front_end and back_end to avoid error 2015-10-30 15:58:20 -07:00
Mario Melara
34e798c7d6 architectures folder where the Architecture subclasses reside 2015-10-30 15:57:00 -07:00
Gregory Becker
47fe619bf7 improved aliasing in target method in architecture.py 2015-10-30 15:15:36 -07:00
Gregory Becker
5baab24b4d added target method to architecture.py and minor cleanup 2015-10-30 15:12:29 -07:00
Mario Melara
dc008380c6 Merge branch 'features/spackathon' of https://github.com/NERSC/spack into features/spackathon
Merge Gregory Becker's commits with my own architecture commits
2015-10-30 14:53:49 -07:00
Mario Melara
7ab921ff02 Changed architecture class and added class Target 2015-10-30 14:46:26 -07:00
Gregory Becker
4453ec4856 prototype of new architecture concretization saved as new_concretize_architecture in concretize.py 2015-10-30 10:23:33 -07:00
Gregory Becker
b70e709a90 updated the executible to return stderr when specified. Added load_module to build_environment.py, loads target 2015-10-30 09:44:28 -07:00
Mario Melara
38508c5a3f Created a control flow logic that will loop through the strategies and find compilers using that. TODO: Need to find a way to locate their executables 2015-10-22 12:02:26 -07:00
Mario Melara
a89abb435f Changed structure of class, add compiler strategy is a method and can create a dict 2015-10-21 11:32:59 -07:00
Mario Melara
9b387e7682 Added strategy method in init 2015-10-21 11:09:05 -07:00