Update the simulation status, max time remaining, and the progress over python in job manager CAD
Hi, I'm working on the user-defined "torque.py" for optimization(or sweep) job scheduler in CAD-free (without GUI) linux operating system. I noticed that in the .py file (*\Lumerical\v211\scripts\job_schedulers\*) there's a line calling print like this: print('<status> RUNNING </status>') or print('<complete/>'). I'm guessing that it's for the update of the simulation situation shown in the CAD of job manager on the local PC. Given the information such as max time remaining, autoshutoff, and %progress can be extracted by downloading the "*_p0.log" file back to the local from the cluster and by the usage of str.split() over python, I'd like to update them shown in the CAD of job manager on local PC but I'm not sure how to manage the communication between the CAD and python. Is it something like "print(<Autoshutoff level>0.87</Autoshutoff level>)", "print(<Max time remaining>8 mins, 7 secs</Max time remaining>)", or "print(<Progress>87%</Progress>)", along with the syntax "sys.stdout.flush()"?