You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"note": "Commercial software. Resolve image via Bohrium list_images(keyword=vasp) or a user-known authorized address; if neither exists, stop. Never invent a default image. Never use bare mpirun ... vasp_std."
Do **not** ship a static `KPOINTS` file expecting APEX to use it as the primary control — spacing drives generation. For `elastic`, APEX regenerates one shared `KPOINTS` from the undeformed cell and symlinks it into every deformation task.
451
481
452
482
### INCAR Example (Relaxation)
453
483
@@ -463,26 +493,54 @@ ISIF = 3
463
493
ISMEAR = 1
464
494
SIGMA = 0.1
465
495
LREAL = Auto
496
+
KSPACING = 0.15
497
+
KGAMMA = True
466
498
```
467
499
468
-
### VASP global.json Settings
500
+
### VASP global.json Settings (Bohrium / dflow)
501
+
502
+
> ⚠️ **Never** use bare `mpirun -n 16 vasp_std`. The Bohrium VASP image needs Intel oneAPI env + absolute binary path.
| `ulimit -s unlimited` | Avoids stack overflow on large cells |
539
+
| Absolute `vasp_std` path | PATH `vasp_std` is unreliable |
540
+
| `mpirun -n <N>` | `<N>` must match `scass_type` CPUs (`c32_*`→32, `c16_*`→16) |
541
+
542
+
Local/debug Shell jobs may use a simpler command only when the host already has VASP + MPI on PATH; for Bohrium use the template above. `generate_config.py` emits the run_command template for `--backend vasp` but leaves `vasp_image_name` unset.
Copy file name to clipboardExpand all lines: apex/skills/apex-flow/reference/submission.md
+31-2Lines changed: 31 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -120,7 +120,7 @@ dflow validates workflow names against RFC 1123 subdomain regex. Names like `"Cu
120
120
|**Outer job (submission client)**|`registry.dp.tech/dptech/dp/native/prod-397637/apex-flow:1.3.0.post`| Lightweight; just runs `apex submit`|
121
121
|**LAMMPS calculator**|`registry.dp.tech/dptech/dp/native/prod-397637/deepmd-kit-phonolammps:3.1.3`| Default; includes phonoLAMMPS |
122
122
|**ABACUS calculator**| (same APEX image has ABACUS) | Or user-specified |
123
-
|**VASP calculator**| User must provide | Commercial; confirm with user|
123
+
|**VASP calculator**| User must provide after confirming license | Commercial; **never invent a default image**|
124
124
125
125
> ⚠️ **Do NOT combine `deepmd-kit:3.1.1` with any NVIDIA T4 machine**. It also has a known segfault bug when handling triclinic cells (non-orthogonal boxes), including on CPU. Use `3.1.3` or later.
126
126
@@ -131,7 +131,36 @@ dflow validates workflow names against RFC 1123 subdomain regex. Names like `"Cu
Must include: Intel `setvars.sh`, `ulimit -s unlimited`, absolute `vasp_std`,
156
+
and `-n` matching `scass_type`. See `reference/calculators.md` and Critical
157
+
Rules in `SKILL.md`.
158
+
159
+
### DFT k-spacing (REQUIRED)
160
+
161
+
- VASP: `INCAR` must set `KSPACING` (APEX auto-writes `KPOINTS`).
162
+
- ABACUS: `INPUT` must set `kspacing`, or `cal_setting.K_POINTS`.
163
+
-`validate_inputs.py` rejects missing spacing / bare VASP run commands.
135
164
136
165
> **IMPORTANT**: Use the minimal `c1_m2_cpu` machine for the outer Bohrium job since it only submits to dflow and waits. The heavy compute is in the inner containers specified by `scass_type` in `global.json`.
0 commit comments