Giter Club home page Giter Club logo

condimentstation's People

Contributors

jenshnielsen avatar mdavezac avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

ucl-rits dpshelio

condimentstation's Issues

~/.salted doesn't get created

when spack state is applied at first, if add_to_zprofile is set to true, it tries to add a file into ~/.salted/ however that directory may not exist.

Fail to install spack modules

Some just fail in the install after the install phase (maybe updating spack database?)

==> Installing GreatCMakeCookoff
==> Using cached archive: /home/dvd/Stuff/build/spack/var/spack/cache/GreatCMakeCookoff/GreatCMakeCookoff-2.1.9.tar.gz
==> Already staged GreatCMakeCookoff-2.1.9-jzrvdssgv3u7j3y4clwfihd26vhh5d3y in /home/dvd/Stuff/build/spack/var/spack/stage/GreatCMakeCookoff-2.1.9-jzrvdssgv3u7j3y4clwfihd26vhh5d3y
==> No patches needed for GreatCMakeCookoff
==> Building GreatCMakeCookoff [Package]
==> Executing phase: 'install'
==> Error: TypeError: can't pickle _yaml.Mark objects
TypeError: TypeError: can't pickle _yaml.Mark objects

/home/dvd/Stuff/build/spack/lib/spack/spack/package.py:1456, in build_process:
     60                        self.log()
     61    
     62                    # Run post install hooks before build stage is removed.
  >> 63                    spack.hooks.post_install(self.spec)
     64    
     65                # Stop timer.
     66                self._total_time = time.time() - start_time

whereas in other cases creates flags that spack doesn't know:

[email protected]%[email protected]~cuda fabrics= ~java schedulers= ~sqlite3~thread_multiple~ucx+vt arch=linux-archrolling-x86_64
^[email protected]%[email protected]~cuda+libxml2+pci+shared arch=linux-archrolling-x86_64
^[email protected]%[email protected] arch=linux-archrolling-x86_64
^[email protected]%[email protected] arch=linux-archrolling-x86_64
^[email protected]%[email protected] arch=linux-archrolling-x86_64
^[email protected]%[email protected]~python arch=linux-archrolling-x86_64
^[email protected]%[email protected] patches=3877ab548f88597ab2327a2230ee048d2d07ace1062efe81fc92e91b7f39cd00
+sigsegv arch=linux-archrolling-x86_64 ^[email protected]%[email protected] arch=linux-archrolling-x86_64 
^[email protected]%[email protected] arch=linux-archrolling-x86_64 
^[email protected]%[email protected] arch=linux-archrolling-x86_64
^[email protected]%[email protected]+optimize+pic+shared arch=linux-archrolling-x86_64

like fabrics= ~java and schedulers= ~sqlite3...

salt-pip packages are not installed on the first run

When run the first time the following error is shown:

pip_|-salt packages_|-salt packages_|-installed:
    ----------
    __run_num__:
        0
    changes:
        ----------
    comment:
        State 'pip.installed' was not found in SLS 'salt'
        Reason: 'pip.installed' is not available.
    name:
        salt packages
    result:
        False
...
Some salt state failed

If run again after this, then installs jupyter that's the only package missing in salt.sls that's not in the bootstrap:

pip_|-salt packages_|-salt packages_|-installed:
    ----------
    jupyter==1.0.0:
        Installed

Maybe the saltutil.sync_all command in https://github.com/mdavezac/CondimentStation/blob/master/bin/pinch.py#L113 set before applying salt.sls is not working as expected.
This issue seems similar to what's explained in the documentation about reloading-modules. But I've tried to add such reload_modules: true at different places in condiment_scripts.sls and not luck.

For example I've tried adding:

python-pip:
  cmd.run:
    - name: |
        [[ -e {{salt['pillar.get']('condiment_build_dir')}}/salt-env/bin/pip ]]
    - cwd: /
    - reload_modules: true

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.