-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs: Rename config files for cuda on frontera
- Loading branch information
Showing
5 changed files
with
31 additions
and
198 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,7 @@ | |
spack load [email protected] | ||
cd Cactus | ||
gmake SpacetimeX-cuda options=repos/SpacetimeX/Docs/compile-notes/frontera/configs/config-frontera-cuda-intel.cfg | ||
gmake SpacetimeX-cuda options=repos/SpacetimeX/Docs/compile-notes/frontera/configs/config-frontera-gcc-cuda-impi.cfg | ||
cp repos/SpacetimeX/Docs/thornlist/spacetimex.th configs/SpacetimeX-cuda/ThornList | ||
gmake -j16 SpacetimeX-cuda | ||
``` | ||
|
@@ -117,19 +117,19 @@ spack install [email protected] %[email protected] | |
spack compiler add ... # ... is the last line of previous command | ||
``` | ||
|
||
* Create a dir where you want put `view` in (say `/work2/.../username/frontera/SpackView/cuda-intel`) | ||
* Create a dir where you want put `view` in (say `/work2/.../username/frontera/SpackView/gcc11.2.0-cuda11.8.0-impi19.0.9`) | ||
|
||
* Replace the last line of `cuda-11.8.0-intel/spack_yaml` with your dir (say `/work2/.../username/frontera/SpackView/cuda-intel/view`) | ||
* Replace the last line of `gcc11.2.0-cuda11.8.0-impi19.0.9/spack_yaml` with your dir (say `/work2/.../username/frontera/SpackView/gcc11.2.0-cuda11.8.0-impi19.0.9/view`) | ||
|
||
* Replace the dir `/work2/08708/liwei/frontera/SpackView/cuda-intel/view` (with say `/work2/.../username/frontera/SpackView/cuda-intel/view`) | ||
in `config-frontera-cuda-intel.cfg` | ||
* Replace the dir `/work2/08708/liwei/frontera/SpackView/gcc11.2.0-cuda11.8.0-impi19.0.9/view` (with say `/work2/.../username/frontera/SpackView/gcc11.2.0-cuda11.8.0-impi19.0.9/view`) | ||
in `config-frontera-gcc11.2.0-cuda11.8.0-impi19.0.9.cfg` | ||
|
||
* Install other required packages | ||
|
||
```bash | ||
env TMPDIR=$WORK/tmp spack --env-dir ./cuda-11.8.0-intel compiler find view-cuda-compilers | ||
env TMPDIR=$WORK/tmp spack --env-dir ./cuda-11.8.0-intel concretize --force | ||
env TMPDIR=$WORK/tmp spack --env-dir ./cuda-11.8.0-intel install --fail-fast | ||
env TMPDIR=$WORK/tmp spack --env-dir ./gcc11.2.0-cuda11.8.0-impi19.0.9 compiler find view-cuda-compilers | ||
env TMPDIR=$WORK/tmp spack --env-dir ./gcc11.2.0-cuda11.8.0-impi19.0.9 concretize --force | ||
env TMPDIR=$WORK/tmp spack --env-dir ./gcc11.2.0-cuda11.8.0-impi19.0.9 install --fail-fast | ||
``` | ||
|
||
* Install SpacetimeX | ||
|
@@ -138,7 +138,7 @@ env TMPDIR=$WORK/tmp spack --env-dir ./cuda-11.8.0-intel install --fail-fast | |
spack load [email protected] | ||
spack load [email protected] | ||
cd Cactus | ||
gmake SpacetimeX-cuda options=config-frontera-cuda-intel.cfg | ||
gmake SpacetimeX-cuda options=config-frontera-gcc-cuda-impi.cfg | ||
cp repos/SpacetimeX/Docs/thornlist/spacetimex.th configs/SpacetimeX-cuda/ThornList | ||
gmake -j16 SpacetimeX-cuda | ||
``` |
97 changes: 0 additions & 97 deletions
97
Docs/compile-notes/frontera/configs/config-frontera-cuda.cfg
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters