Skip to content

Commit

Permalink
Docs: update README for frontier
Browse files Browse the repository at this point in the history
  • Loading branch information
lwJi committed Jun 14, 2024
1 parent e25fd55 commit 69f104f
Showing 1 changed file with 27 additions and 12 deletions.
39 changes: 27 additions & 12 deletions Docs/compile-notes/frontier/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
# Compile on Frontier
# Compile CarpetX (Frontier)

* Download CarpetX and SpacetimeX

```bash
curl -kLO https://raw.githubusercontent.com/gridaphobe/CRL/master/GetComponents
chmod a+x GetComponents
./GetComponents --root Cactus --parallel --no-shallow https://raw.githubusercontent.com/lwJi/SpacetimeX/main/Docs/thornlist/spacetimex.th
```

## The Short Way

## Compile CarpetX

### cce-17.0.0

* Load modules

```bash
source Load-Module-CarpetX-cce17.sh
source repos/SpacetimeX/Docs/compile-notes/frontier/Load-Module-CarpetX-cce17.sh
```

* Install AsterX
Expand All @@ -20,14 +29,12 @@ gmake -j24 AsterX
```




### cce-15.0.0

* Load modules

```bash
source Load-Module-CarpetX-cce15.sh
source repos/SpacetimeX/Docs/compile-notes/frontier/Load-Module-CarpetX-cce15.sh
```

* Install AsterX
Expand All @@ -41,18 +48,26 @@ gmake -j24 AsterX



## The Long Way

### Compile AMReX

* Clone `amrex`

```bash
git clone https://github.com/AMReX-Codes/amrex.git
```

## Compile AMReX
* Install `amrex` to `$HOME/local/amrex-24.06`

```bash
cd amrex
mkdir build
cd build
source Load-Module-AMReX.sh
source Export-AMReX.sh
source Compile-AMReX.sh
source repos/SpacetimeX/Docs/compile-notes/frontier/amrex/Load-Module-AMReX.sh
source repos/SpacetimeX/Docs/compile-notes/frontier/amrex/Export-AMReX.sh
source repos/SpacetimeX/Docs/compile-notes/frontier/amrex/Compile-AMReX.sh
make -j8 install
make test_install
make -j24 install
```

0 comments on commit 69f104f

Please sign in to comment.