Skip to content
Snippets Groups Projects
Commit fa92001c authored by David Hrbáč's avatar David Hrbáč
Browse files

A small correction

parent 62b1cd36
No related branches found
No related tags found
6 merge requests!368Update prace.md to document the change from qprace to qprod as the default...,!367Update prace.md to document the change from qprace to qprod as the default...,!366Update prace.md to document the change from qprace to qprod as the default...,!323extended-acls-storage-section,!196Master,!155New modules
......@@ -2,11 +2,11 @@
Spack is a package manager for supercomputers, Linux, and macOS. It makes installing scientific software easy. With Spack, you can build a package with multiple versions, configurations, platforms, and compilers, and all of these builds can coexist on the same machine.
Homepage: [https://spack.io/](https://spack.io/)
Homepage is at [https://spack.io/](https://spack.io/)
Documentation: [https://spack.readthedocs.io/en/latest/](https://spack.readthedocs.io/en/latest/)
Documentation is at [https://spack.readthedocs.io/en/latest/](https://spack.readthedocs.io/en/latest/)
## Spack On IT4Innovations Clusters
## Spack on IT4Innovations Clusters
```console
......@@ -23,7 +23,7 @@ $ ml av Spack
## First Usage Module Spack/default
The Spack will be installed into your /home, create folder Spack for installing software and set the configuration into ~/.spack/configure.yml
The Spack will be installed into `~/Spack` folder. You can set the configuration by modifying ~/.spack/configure.yml.
```console
$ ml Spack
......@@ -78,9 +78,9 @@ $ spack --version
Packages in Spack are written in pure Python, so you can do anything in Spack that you can do in Python. Python was chosen as the implementation language for two reasons. First, Python is becoming ubiquitous in the scientific software community. Second, it’s a modern language and has many powerful features to help make package writing easy.
### Search For Available Software
### Search for Available Software
To install software with Spack, you need to know what software is available. Using the `spack list` command.
To install software with Spack, you need to know what software is available. Use the `spack list` command.
```console
$ spack list
......@@ -117,7 +117,7 @@ $ spack versions git
## Graph For Software Package
Spack provides the `spack graph` command for graphing dependencies. The command by default generates an ASCII rendering of a spec’s dependency graph.
Spack provides `spack graph` command to display dependency graph. The command by default generates an ASCII rendering of a spec’s dependency graph.
```console
$ spack graph git
......@@ -171,7 +171,7 @@ o | | libiconv
o bzip2
```
### Information For Software Package
### Information for Software Package
To get more information on a particular package from `spack list`, use `spack info`.
......@@ -220,9 +220,7 @@ Description:
### Install Software Package
`spack install` will install any package shown by `spack list`. For example, To install the latest version of the `git` package, you might type this.
Use `spack install git` for default version or `spack install git@version`.
`spack install` will install any package shown by `spack list`. For example, to install the latest version of the `git` package, you might type `spack install git` for default version or `spack install git@version` to chose the particular one.
```console
$ spack install git@2.11.0
......@@ -233,7 +231,7 @@ $ spack install git@2.11.0
```
!!! warning
`ftp` on cluster is not allowed, you must edit source link.
`FTP` on cluster is not allowed, you must edit source link.
### Edit Rule
......@@ -242,7 +240,7 @@ $ spack edit git
```
!!! note
For change source link (ftp:// to http://) use `spack create URL -f`. Automatically generates rules.
To change source link (ftp:// to http://) use `spack create URL -f` to regenerates rules.
**Example**
......@@ -301,7 +299,7 @@ $ spack find | less -R
`spack find` shows the specs of installed packages. A spec is like a name, but it has a version, compiler, architecture, and build options associated with it. In spack, you can have many installations of the same package with different specs.
## Load And Unload Module
## Load and Unload Module
Neither of these is particularly pretty, easy to remember, or easy to type. Luckily, Spack has its own interface for using modules and dotkits.
......@@ -340,7 +338,7 @@ git version 1.7.1
Spack will ask you either to provide a version number to remove the ambiguity or use the `--all` option to uninstall all of the matching packages.
You may force uninstall a package with the `--force` option
You may force uninstall a package with the `--force` option.
```console
$ spack uninstall git
......@@ -354,4 +352,4 @@ xmh3hmb git@2.11.0%gcc
y
==> Successfully uninstalled git@2.11.0%gcc@4.4.7 arch=linux-centos6-x86_64 -xmh3hmb
```
```
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment