This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ spack solve -U py-trimesh +recommended py-scikit-image@0.25: | |
==> Best of 11 considered solutions. | |
==> Optimization Criteria: | |
Priority Criterion Installed ToBuild | |
1 requirement weight - 0 | |
2 number of packages to build (vs. reuse) - 164 | |
3 number of nodes from the same package - 2 | |
4 deprecated versions used 0 0 | |
5 version badness (roots) 0 0 | |
6 number of non-default variants (roots) 0 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ spack solve py-trimesh +recommended | |
==> Best of 1 considered solutions. | |
==> Optimization Criteria: | |
Priority Criterion Installed ToBuild | |
1 requirement weight - 0 | |
2 number of packages to build (vs. reuse) - 0 | |
3 number of nodes from the same package - 0 | |
4 deprecated versions used 0 0 | |
5 version badness (roots) 2 0 | |
6 number of non-default variants (roots) 1 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ spack solve -U py-trimesh +recommended | |
==> Best of 12 considered solutions. | |
==> Optimization Criteria: | |
Priority Criterion Installed ToBuild | |
1 requirement weight - 0 | |
2 number of packages to build (vs. reuse) - 158 | |
3 number of nodes from the same package - 1 | |
4 deprecated versions used 0 0 | |
5 version badness (roots) 0 0 | |
6 number of non-default variants (roots) 0 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
'''Run fstrim in chunks and sleep in between | |
''' | |
from __future__ import print_function, division | |
import os, sys, argparse, time, string, re, logging | |
from datetime import datetime | |
from random import random | |
from subprocess import check_output | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import division | |
import sys | |
from glob import glob | |
from collections import OrderedDict | |
import numpy as np | |
from nibabel.nicom import dicomwrappers | |
from bitarray import bitarray | |
import dicom |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Provides access to Mellanox 'mstflint' program which can be used to manage | |
# the firmware on their Infiniband cards. | |
from subprocess import check_output as _check_output | |
from subprocess import CalledProcessError | |
from salt.utils.decorators import depends | |
try: | |
_check_output(['which', 'mstflint']) | |
HAS_MSTFLINT = True |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
reactor: | |
- 'minion_start': | |
- /srv/reactor/on_start.sls |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import division | |
import sys | |
import numpy as np | |
import nibabel as nb | |
try: | |
range = xrange | |
except NameError: | |
pass |