m3triq 0.2.18 → 0.2.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +1 -1
- package/dist/commands/md.js +6 -4
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -26,7 +26,7 @@ const program = new Command();
|
|
|
26
26
|
program
|
|
27
27
|
.name('m3t')
|
|
28
28
|
.description('M3TRIQ — protein-ligand analysis from the terminal')
|
|
29
|
-
.version('0.2.
|
|
29
|
+
.version('0.2.19')
|
|
30
30
|
.option('--json', 'Output as JSON (machine-readable)')
|
|
31
31
|
.hook('preAction', (thisCommand) => {
|
|
32
32
|
const opts = thisCommand.optsWithGlobals();
|
package/dist/commands/md.js
CHANGED
|
@@ -18,14 +18,16 @@ export function registerMdCommands(program) {
|
|
|
18
18
|
.option('--ns <n>', 'Override simulation duration in nanoseconds (1-100)')
|
|
19
19
|
.option('--temperature <K>', 'Temperature in Kelvin', '300')
|
|
20
20
|
.option('--membrane', 'Cell-membrane MD: embed the protein in a POPC lipid bilayer (CHARMM36) instead of a water box. For membrane proteins (GPCRs, transporters, channels). Provide a membrane-oriented structure (TM axis along Z, e.g. from OPM); larger system so it runs slower than a soluble-protein MD of the same length.')
|
|
21
|
-
.option('--gpu <type>', 'GPU backend: a100 (default, GCP A100-40GB), h100 (Nebius H100-80GB) or h200 (Nebius H200-141GB) — both Nebius GPUs are in eu-north1. Use a Nebius GPU for large membrane/complex systems that need the big VRAM, or for lower wall-clock latency; h200 has ~1.4× h100 bandwidth (MD is bandwidth-bound) for a modestly higher rate.', 'a100')
|
|
22
21
|
.description('Submit a molecular dynamics simulation job')
|
|
23
22
|
.action(async (opts) => {
|
|
24
23
|
const project = requireProject();
|
|
25
24
|
const agents = createAgentsClient();
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
// --gpu (h100/h200 via Nebius) is deliberately NOT exposed yet: the Nebius backend is
|
|
26
|
+
// still pending provisioning. The plumbing below stays so it can be re-enabled by
|
|
27
|
+
// restoring the .option() line above once that lands.
|
|
28
|
+
const gpu = 'a100';
|
|
29
|
+
if (gpu !== 'a100') {
|
|
30
|
+
process.stderr.write(`Error: unsupported --gpu value\n`);
|
|
29
31
|
process.exit(1);
|
|
30
32
|
}
|
|
31
33
|
const params = {
|