Index | Recent Threads | Unanswered Threads | Who's Active | Guidelines | Search |
![]() |
World Community Grid Forums
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
No member browsing this thread |
Thread Status: Active Total posts in this thread: 8
|
![]() |
Author |
|
PMH_UK
Veteran Cruncher UK Joined: Apr 26, 2007 Post Count: 771 Status: Recently Active Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Where can I see how many jobs are in a workunit before or during execution?
----------------------------------------My slow Intel GPUs have some long running tasks so I would like to see how many jobs in them. A quick search of forums and peek in files have not revealed so far. Paul.
Paul.
|
||
|
ca05065
Senior Cruncher Joined: Dec 4, 2007 Post Count: 325 Status: Offline Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
In the client_state.xml search for wcgdpf and I believe the next digit is the number of sub jobs:
-jobs OPN1_0049184_03138.job -input OPN1_0049184_03138.zip -seed 1981404240 -wcgruns 138 -wcgdpf 4 From Reults Status: Result Name: OPN1_ 0049184_ 03138_ 0-- . INFO:[22:27:05] Start AutoDock for ZINC001073859050_1_RX1--fr2325benz_002--CYS142_wcgsplit2.dpf(Job #0).. . INFO:[22:56:31] Start AutoDock for ZINC001226472181_1_RX1--fr2325benz_002--CYS142.dpf(Job #1)... . INFO:[23:19:53] Start AutoDock for ZINC001079553959_2_RX1--fr2325benz_002--CYS142.dpf(Job #2)... . INFO:[23:28:57] Start AutoDock for ZINC000854742861_1_RX1--fr2325benz_002--CYS142.dpf(Job #3)... I realise that the above is for opn1 but I do not have any opng on my PC at the moment. |
||
|
Crystal Pellet
Veteran Cruncher Joined: May 21, 2008 Post Count: 1322 Status: Offline Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I'm using a Windows Powershell script for OPNG's to find the number of jobs and how far the progress is.
It's a pity, that I can't post it here because I get "Forbidden to post" when I try to Preview or Post it. |
||
|
squid
Advanced Cruncher Germany Joined: May 15, 2020 Post Count: 56 Status: Offline Project Badges: ![]() |
@PMH_UK
If you really want to crunch with an Intel GPU, wait for an Intel Xe DG2 graphics card. https://www.pcgamer.com/intel-dg2-gaming-grap...price-performance-xe-hpg/ |
||
|
PMH_UK
Veteran Cruncher UK Joined: Apr 26, 2007 Post Count: 771 Status: Recently Active Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
@ca05065
----------------------------------------Thanks, looks right to me. @Crystal_Pellet Thanks, I only have Linux on OPNG currently so will work on a script. @squid I am running what I have, oldish Lenovo E50-00, Intel NUC, Laptop. Paul.
Paul.
|
||
|
adriverhoef
Master Cruncher The Netherlands Joined: Apr 3, 2009 Post Count: 2167 Status: Offline Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Where can I see how many jobs are in a workunit before or during execution? Paul,To see the number of jobs in all available OPNG tasks, running or not, this could be a fine one: sed -n 's/^-jobs \(OPNG_[^ ]*\)\.job .* -wcgdpf/\1, Jobs:/p' ~boinc/client_state.xml | pr -t -2 OPNG_0010926_00195, Jobs: 16 OPNG_0010566_00014, Jobs: 15 To view the progress of all running tasks … - If there's always only one task executing, I'd use: wcgresults -HN1O | sed -n 's/OPNG_.*//p' | while read slot; do [ X$slot = X- ] && continue; Slot 0, Jobs: 14 - If there is more than one task, this would be a good candidate: wcgresults -HN1O | sed -n 's/OPNG_.*//p' | while read slot; do [ X$slot = X- ] && continue; Slot 1, Jobs: 18, [13:28:56] Job #9(EDIT) Forgot to add this: YMMV ![]() [Edit 2 times, last edit by adriverhoef at May 23, 2021 3:16:19 PM] |
||
|
PMH_UK
Veteran Cruncher UK Joined: Apr 26, 2007 Post Count: 771 Status: Recently Active Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Thanks for that, first works great, will try rest later.
----------------------------------------Linux is new-ish to me, I'm more used to things like REXX on mainframe. May take me a while to understand your wonderful creation. Paul.
Paul.
|
||
|
adriverhoef
Master Cruncher The Netherlands Joined: Apr 3, 2009 Post Count: 2167 Status: Offline Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Thanks for your feedback, Paul. My knowledge of REXX is almost zero (just an hour ago it was nil, I have been looking at an introduction to REXX for a little while
----------------------------------------![]() There is a small improvement in my last shell command that I would like to introduce. The output would then also contain the name of the task, like this: Task OPNG_0011215_00165_0, Slot 0, Jobs: 28, [18:29:13] Job #12 The command to accomplish this would be: wcgresults -HN1O | grep OPNG_ | while read slot task; do [ X$slot = X- ] && continue; EDIT: It is, of course, also possible that a resent task requests priority to be executed. In that case it's possible that one GPU task will be paused and the other one will be running instead, so that you will see output like this: Task OPNG_0010904_00039_0, Slot 0, Jobs: 23, [23:12:21] Job #18 Adri [Edit 1 times, last edit by adriverhoef at May 23, 2021 11:40:30 PM] |
||
|
|
![]() |