File tree 1 file changed +17
-1
lines changed
1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ sudo dnf install hpx-mpich-devel
21
21
22
22
## Mac OS
23
23
24
- On Mac OS, we recommend to install the depencies with ´ brew´ and compile HPX using CMake as follows:
24
+ On Mac OS, we recommend to install the depencies with ` brew ` and compile HPX using CMake as follows:
25
25
26
26
{% highlight bash %}
27
27
brew install hwloc cmake boost
@@ -33,7 +33,23 @@ cmake -DHPX_WITH_FETCH_ASIO=ON ..
33
33
make -j 8
34
34
{% endhighlight %}
35
35
36
+ ## Spack
36
37
38
+ On supercomputers and clusters, the HPX package mananger [ Spack] ( https://github.com/spack/spack ) can be used to install HPX.
39
+
40
+ {% highlight bash %}
41
+ # Install spack (Update v0.22 with the latest Spack release)
42
+ git clone --depth=100 --branch=releases/v0.22 https://github.com/spack/spack.git ~ /spack
43
+ # Activate Spack
44
+ . ~ /spack/share/spack/setup-env.sh
45
+ # Find compilers
46
+ spack compiler find
47
+ # Install hpx
48
+ spack install hpx
49
+ # Install distributed hpx
50
+ spack external find openmpi
51
+ spack install hpx networking=mpi ^ôpenmpi
52
+ {% endhighlight %}
37
53
38
54
39
55
You can’t perform that action at this time.
0 commit comments