-
Notifications
You must be signed in to change notification settings - Fork 0
Telcon: 2015 06 11
- Todd Gamblin, LLNL
Lots of updates in develop
:
- Integrated linear algebra contributions from:
-
Saravan Pantham PR #21
-
Kevin BrandstatterPR #20, and
-
Benjamin WaltersPR #22
-
New linear algebra packages:
- Better Vim package from Tom Scogland
- See PR #60
- Apparently
vim
is way fancier than I thought.
-
SPACK-38: Virtual dependencies should be retrievable from spec by v-dep name
-
The following now work differently:
``` spec['mpi'] spec['blas'] ```
-
This can return a spec for openmpi, mpich, mvapich, etc., EVEN if the spec is already concretized. This means that in a package that
depends_on('mpi')
, you can dospec['mpi']
to see what it was concretized to. This should simplify MPI and BLAS packages.``` 'mpi' in spec 'blas' in spec ```
-
Previously, if the spec had been concretized, these would be
False
because there was not a dependency in the DAG with either of these names. These will now beTrue
even if the spec has been concretized. So, e.g., this will print "YES"``` s = Spec('callpath ^mpich') if 'mpi' in spec: print "YES" ```
-
Similarly, this will be True:
``` Spec('mpich').satisfies('mpi') ```
-
Because of the way virtual dependencies are currently implemented, the above required some fiddling around with
package.py
- figuring out what is a vdep requires loading all packages and seeing what doesn't exist.
- Now can't ever call
Spec.__contains__
(and result in endless recursion). - For the time being,
package.py
shouldn't call__contains__
-
This should be fixed by allowing virutal dependnecies to have their own package class.
- This would allow a quicker check for vdeps, without a call to
all_packages
. - Would also allow us to put methods/variables/etc. on vdeps
- This would allow a quicker check for vdeps, without a call to
-
-
Added
FileFilter
class to make repeated calls tofilter_file
easier.
- example:
arpack
- Thinking about adding a generic Makefile editor class
- Have methods to set/unset variables in a Makefile (most common operation)
- Fix for shell support for globbing fromTom Scogland
- Greg Lee brought up some path length issues with Spack paths in scripts using
#!
- Install paths got a bit longer due to full hashes.
- What's the best thing to do about this?
- Wrappers?
- Different install layout?
- TBD