mosaic - Lucia submit HPC
Source file is got at first command =W /path/to/workspace/KDB.source.me
Need to be reused then in real submission
### Flag switch: hpc_local_start
### Capsule is GUI: False
### Capsule executable file is : python
### 002:Stop:2023-11-09T13:59:20
### Run command : (. /gpfs/softs/mosaic/1.0/REF/share/MOSAIC/source.me-3.11;. /gpfs/home/st/ghannebi/mosaic-workspace/KDB/source.me;env python -c 'from MOSAIC.interface.backbone.capsule_sdk import Capsule;print(Capsule.environment())')
### 003:Start:2023-11-09T13:59:21
### Capsule environment file is : /gpfs/home/st/ghannebi/mosaic-workspace/KDB/source.me
### Start hpc_local_start on: [lucia][EFA84D8C8984473C9D4A41C5395E7DA7]
### 004:Stop:2023-11-09T13:59:21
### 005:Submit_001_start:2023-11-09T13:59:21
### HPC command : [#!/usr/bin/env sh
. /gpfs/home/st/ghannebi/mosaic-workspace/KDB/source.me
cd /gpfs/home/st/ghannebi/mosaic-workspace/5/E/8/8/5E880B45B00043948B217BA4ADB5BDE5/001-Tretament_for_test
mpirun -np 1 python -c 'from MOSAIC.backbone.services.scheduler.frame import run_capsule;run_capsule("MOSAIC.interface.backbone.capsule_sdk", "/gpfs/home/st/ghannebi/mosaic-repository", ["A7CC664482824376B6172BAFE0612357", "Tretament for test", "Info for test", "1.0.19", "MOSAIC.interface.backbone.capsule_sdk", {"enter": []}, {"leave": []}, [False, False, "python", False], ["DRAFT", "EFA84D8C8984473C9D4A41C5395E7DA7", "6A6354987E404F7C99787C40A908337D", "6A6354987E404F7C99787C40A908337D"], "C"], "5E880B45B00043948B217BA4ADB5BDE5", "001", "/gpfs/home/st/ghannebi/mosaic-workspace/5/E/8/8/5E880B45B00043948B217BA4ADB5BDE5/001-Tretament_for_test", ["hpc:batch@1@60@False","local"], "enter", "1.0.19", {"_control":"BUSY","_dashboard":"00000000000000000000000000000000","_owner":["EFA84D8C8984473C9D4A41C5395E7DA7","6A6354987E404F7C99787C40A908337D","6A6354987E404F7C99787C40A908337D"],"_user":"ghannebi","_scheduler_mode":"DEFAULT","account":"p_mosaic","_workspace":"/gpfs/home/st/ghannebi/mosaic-workspace/5/E/8/8/5E880B45B00043948B217BA4ADB5BDE5","_diff":4,"hpc":["batch",1,60,False],"dryrun":False} );'
]
### HPC submit : [sbatch -J MZ_5E880B45B00043948B217BA4ADB5BDE5_001 -o /gpfs/home/st/ghannebi/mosaic-workspace/5/E/8/8/5E880B45B00043948B217BA4ADB5BDE5/001-Tretament_for_test/MZ.o -e /gpfs/home/st/ghannebi/mosaic-workspace/5/E/8/8/5E880B45B00043948B217BA4ADB5BDE5/001-Tretament_for_test/MZ.e -n 1 -p batch -t 60 -A p_mosaic /gpfs/home/st/ghannebi/mosaic-workspace/5/E/8/8/5E880B45B00043948B217BA4ADB5BDE5/001-Tretament_for_test/MOSAIC.job;sleep 5 ]
### Run command : (. /gpfs/softs/mosaic/1.0/REF/share/MOSAIC/source.me-3.11;sbatch -J MZ_5E880B45B00043948B217BA4ADB5BDE5_001 -o /gpfs/home/st/ghannebi/mosaic-workspace/5/E/8/8/5E880B45B00043948B217BA4ADB5BDE5/001-Tretament_for_test/MZ.o -e /gpfs/home/st/ghannebi/mosaic-workspace/5/E/8/8/5E880B45B00043948B217BA4ADB5BDE5/001-Tretament_for_test/MZ.e -n 1 -p batch -t 60 -A p_mosaic /gpfs/home/st/ghannebi/mosaic-workspace/5/E/8/8/5E880B45B00043948B217BA4ADB5BDE5/001-Tretament_for_test/MOSAIC.job;sleep 5 )
### HPC return: [b'Submitted batch job 2905144\n']
### HPC return (2): [b''][]