| ... | ... | @@ -65,6 +65,8 @@ export WSLDA=path_to_wslda_folder |
|
|
|
It is recommended to place this command in your shell configuration file
|
|
|
|
(e.g., `.bashrc`).
|
|
|
|
|
|
|
|
To use the toolkit with AMD ROCm, you need to hipify the code. Follow the instructions provided on [this page](Converting-the-toolkit-to-HIP).
|
|
|
|
|
|
|
|
# Compiling Standard Libraries and Tools (Optional)
|
|
|
|
|
|
|
|
The toolkit includes several auxiliary [libraries and
|
| ... | ... | @@ -166,11 +168,13 @@ make |
|
|
|
Successful compilation produces executables such as `st-wslda-?d`, where `?` is `1`, `2`, or `3` and indicates the code dimensionality.
|
|
|
|
|
|
|
|
**If compilation fails**: Check environment variables. Verify
|
|
|
|
`Makefile` and `machine.h`
|
|
|
|
`Makefile` and `machine.h`.
|
|
|
|
|
|
|
|
**Note 1:** Enable ELPA in `machine.h` if available.
|
|
|
|
**Note 2:** Some systems require `-DFORTRAN_NO_UNDERSCORE` in `CFLAGS`.
|
|
|
|
**Note 3:** Additional architecture-specific settings may be required in `machine.h`.
|
|
|
|
Notes:
|
|
|
|
1. Enable ELPA in `machine.h` if available.
|
|
|
|
2. Some systems require `-DFORTRAN_NO_UNDERSCORE` in `CFLAGS`.
|
|
|
|
3. Additional architecture-specific settings may be required in `machine.h`.
|
|
|
|
4. To compile the toolkit with AMD ROCm, follow the instructions provided on [this page](Converting-the-toolkit-to-HIP).
|
|
|
|
|
|
|
|
It is recommended to use a dedicated `env.sh` file for module loading:
|
|
|
|
|
| ... | ... | @@ -210,7 +214,7 @@ implementation. 2. Proper time-dependent propagation. 3. Consistency |
|
|
|
between static and time-dependent solvers. 4. Correct linkage of
|
|
|
|
numerical libraries and GPU backends.
|
|
|
|
|
|
|
|
## Example execution
|
|
|
|
## Example
|
|
|
|
|
|
|
|
``` bash
|
|
|
|
mpirun -np 4 ./st-wslda-2d input.txt
|
| ... | ... | @@ -288,7 +292,7 @@ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/project/path/wslda/lib/wdata:/project/p |
|
|
|
export PATH=$PATH:/project/path/wslda/lib/wdata/bin:/project/path/wslda/tools/bin
|
|
|
|
```
|
|
|
|
|
|
|
|
# Update the toolkit
|
|
|
|
# Updating of the toolkit
|
|
|
|
If a new version is released, the simplest option is to update your repository
|
|
|
|
```bash
|
|
|
|
cd $WSLDA
|
| ... | ... | |