Skip to content

Commit ed33816

Browse files
committed
typos
1 parent a35a3a5 commit ed33816

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.cursor/rules/mfc-agent-rules.mdc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Written primarily for Fortran/Fypp; the GPU and style sections matter only when
1919
- Assume free-form Fortran 2008+, `implicit none`, explicit `intent`, and modern intrinsics.
2020
- Prefer `module … contains … subroutine foo()`; avoid `COMMON` blocks and file-level `include` files.
2121
- **Read the full codebase and docs *before* changing code.**
22-
- Docs: <https://mflowcode.github.io/documentation/md_readme.html> and the respository root `README.md`.
22+
- Docs: <https://mflowcode.github.io/documentation/md_readme.html> and the repository root `README.md`.
2323

2424
### Incremental-change workflow
2525

@@ -62,7 +62,7 @@ Written primarily for Fortran/Fypp; the GPU and style sections matter only when
6262

6363
---
6464

65-
# 3 FYPP Macros for GPU acceleration Pogramming Guidelines (for GPU kernels)
65+
# 3 FYPP Macros for GPU acceleration Programming Guidelines (for GPU kernels)
6666

6767
Do not directly use OpenACC or OpenMP directives directly.
6868
Instead, use the FYPP macros contained in src/common/include/parallel_macros.fpp
@@ -136,7 +136,7 @@ which conforms to the Doxygen Fortran format.
136136
- Example: `@:ASSERT(predicate, message)`
137137

138138
- **Error Reporting**:
139-
- Use `s_mpi_abort(<msg>)` for error termination, not `stop`
139+
- Use `s_mpi_abort(error_message)` for error termination, not `stop`
140140
- No `stop` / `error stop` inside device code
141141

142142
# 8 Memory Management

0 commit comments

Comments
 (0)