Author Topic: Problem with job manager  (Read 5722 times)

0 Members and 1 Guest are viewing this topic.

Offline Subhban15

  • Heavy QuantumATK user
  • ***
  • Posts: 54
  • Country: in
  • Reputation: 0
    • View Profile
Problem with job manager
« on: November 30, 2015, 07:37 »
Each time I send a job to the job manager, this error pops up (attached).

I tried reinstalling/updating the addon "Job Manager" from the "Addon Manager" list in "help" that didn't work so I tried reinstalling the software but all in vain.  :'(

Please help!

Thank you!

Offline Jess Wellendorff

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 933
  • Country: dk
  • Reputation: 29
    • View Profile
Re: Problem with job manager
« Reply #1 on: December 1, 2015, 09:18 »
I need you to click the "show details" botton on the error message that pops up, and then upload the traceback of the error, either as text or as an image. The traceback contains a lot of information about the problem, and without it we can only guess as to the reason for the error...

Offline Subhban15

  • Heavy QuantumATK user
  • ***
  • Posts: 54
  • Country: in
  • Reputation: 0
    • View Profile
Re: Problem with job manager
« Reply #2 on: December 1, 2015, 11:47 »


Error message:
"D:/Subh/new- for report only/work11-24-newfinal/analysis transspec spin test/c1a_pass_pol_all1.py" requires a file "D:/Subh/Work/check transspec/c1a_pass_pol_all1.nc" that does not have the same relative path.

Traceback (most recent call last):
  File ".\zipdir\NL\GUI\Plugin\Utilities.py", line 73, in pluginCaller
  File "C:\Program Files (x86)\QuantumWise\VNL-ATK-2015.0\Lib\site-packages\AddOns\JobManager\LocalPlugin\LocalPlugin.py", line 169, in createJobItem
    wrapped_script = LocalJobScript(script.path())
  File "C:\Program Files (x86)\QuantumWise\VNL-ATK-2015.0\Lib\site-packages\AddOns\JobManager\LocalPlugin\LocalJob.py", line 58, in __init__
    self._output_files = relativizePathsToScript(job_script_abspath, self._job_script.outputFilePaths())
  File "C:\Program Files (x86)\QuantumWise\VNL-ATK-2015.0\Lib\site-packages\AddOns\JobManager\LocalPlugin\LocalJob.py", line 140, in relativizePathsToScript
    raise Exceptions.NLFileError(err_msg)
NLFileError: "D:/Subh/new- for report only/work11-24-newfinal/analysis transspec spin test/c1a_pass_pol_all1.py" requires a file "D:/Subh/Work/check transspec/c1a_pass_pol_all1.nc" that does not have the same relative path.


This is what is being shown.

Thanks again! :)

Offline Jess Wellendorff

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 933
  • Country: dk
  • Reputation: 29
    • View Profile
Re: Problem with job manager
« Reply #3 on: December 2, 2015, 09:03 »
Thanks, the developer team is looking into it.

Offline Subhban15

  • Heavy QuantumATK user
  • ***
  • Posts: 54
  • Country: in
  • Reputation: 0
    • View Profile
Re: Problem with job manager
« Reply #4 on: December 2, 2015, 09:42 »
Okay! Great!

In the meanwhile I had another question, in the 2015 version the job manager starts all the work in parallel. This way if something goes wrong with the system, all the work done is lost.
In the previous version the job manager used to queue the jobs. Is that possible in this version? If yes, could you please tell me how to set it right?

Thanks!  :)

Offline Jess Wellendorff

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 933
  • Country: dk
  • Reputation: 29
    • View Profile
Re: Problem with job manager
« Reply #5 on: December 2, 2015, 10:15 »
1) The error message you see is this:
"D:/Subh/new- for report only/work11-24-newfinal/analysis transspec spin test/c1a_pass_pol_all1.py" requires a file "D:/Subh/Work/check transspec/c1a_pass_pol_all1.nc" that does not have the same relative path.
It means that the script you are running (c1a_pass_pol_all1.py) is reading an nc-file (c1a_pass_pol_all1.nc) that is not located in the same directory as the script. The Job Manager can currently not handle that situation. You need to move/copy c1a_pass_pol_all1.nc to the same directory as c1a_pass_pol_all1.py. Then it will work.

2) When you send a script to the Job Manager, there is an option for automatically starting the job, instead of queuing it. Would disabling this option help?

Offline Subhban15

  • Heavy QuantumATK user
  • ***
  • Posts: 54
  • Country: in
  • Reputation: 0
    • View Profile
Re: Problem with job manager
« Reply #6 on: December 2, 2015, 11:31 »
2) When you send a script to the Job Manager, there is an option for automatically starting the job, instead of queuing it. Would disabling this option help?

No, on deselecting that option the jobs don't start at all and for each job I have to manually start the job by clicking the start "arrow".
In previous job manager the jobs would simply be sent to the queue on selecting the "run queue" option and would run automatically.

And regarding the previous problem, I don't have access to the system, currently. I will confirm asap.

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5565
  • Country: dk
  • Reputation: 93
    • View Profile
    • QuantumATK at Synopsys
Re: Problem with job manager
« Reply #7 on: December 2, 2015, 14:32 »
There is no queue option in the new Job Manager. It can be added to 2016.

Offline Subhban15

  • Heavy QuantumATK user
  • ***
  • Posts: 54
  • Country: in
  • Reputation: 0
    • View Profile
Re: Problem with job manager
« Reply #8 on: December 3, 2015, 06:38 »
Please do. It was a great feature. Thank you!