1
0
Fork 0

spack notes

main
Jeff Moe 2024-02-03 09:12:52 -07:00
parent f90b1733f9
commit 70555857ce
3 changed files with 74 additions and 10 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: tinyrocs 0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-02-03 07:28-0700\n"
"POT-Creation-Date: 2024-02-03 08:45-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en\n"
@ -24,17 +24,51 @@ msgid "Toolchain Spack"
msgstr ""
#: ../../../_source/toolchain-spack.rst:4
msgid "Or just use ``spack``."
msgid "To use ``spack``."
msgstr ""
#: ../../../_source/toolchain-spack.rst:8
msgid "Setup"
#: ../../../_source/toolchain-spack.rst:6
msgid "Draft."
msgstr ""
#: ../../../_source/toolchain-spack.rst:15
#: ../../../_source/toolchain-spack.rst:10
msgid "Install"
msgstr ""
#: ../../../_source/toolchain-spack.rst:11
msgid "Install spack."
msgstr ""
#: ../../../_source/toolchain-spack.rst:18
msgid "Configure"
msgstr ""
#: ../../../_source/toolchain-spack.rst:19
msgid "Configure spack."
msgstr ""
#: ../../../_source/toolchain-spack.rst:21
msgid "To see the default configuration options, run:"
msgstr ""
#: ../../../_source/toolchain-spack.rst:27
msgid ""
"To configure for the user. This will generate a blank config file. Anything "
"here overrides the defaults listed above."
msgstr ""
#: ../../../_source/toolchain-spack.rst:34
msgid "Running the above is like ``vim ~/.spack/config.yaml``."
msgstr ""
#: ../../../_source/toolchain-spack.rst:36
msgid "Perhaps configuration like:"
msgstr ""
#: ../../../_source/toolchain-spack.rst:45
msgid "Torch"
msgstr ""
#: ../../../_source/toolchain-spack.rst:16
#: ../../../_source/toolchain-spack.rst:46
msgid "Install torch with spack, perhaps."
msgstr ""

View File

@ -1,16 +1,46 @@
===============
Toolchain Spack
===============
Or just use ``spack``.
To use ``spack``.
Draft.
Setup
-----
Install
-------
Install spack.
.. literalinclude:: _static/scripts/spack/setup-spack.sh
.. literalinclude:: _static/scripts/spack/install-spack.sh
:language: bash
Configure
---------
Configure spack.
To see the default configuration options, run:
.. code-block:: sh
spack config --scope defaults get config
To configure for the user. This will generate a blank config file.
Anything here overrides the defaults listed above.
.. code-block:: sh
spack config edit config
Running the above is like ``vim ~/.spack/config.yaml``.
Perhaps configuration like:
.. code-block:: yaml
config:
ccache: true
Torch
-----
Install torch with spack, perhaps.