radical-cybertools / ExTASY

MDEnsemble
Other
1 stars 1 forks source link

CUs waiting count incorrect #211

Closed ibethune closed 8 years ago

ibethune commented 8 years ago

At each stage of the extasy_coco_amber.py script, the number of units being waited on continually increases rather than just waiting for the number were submitted at the current stage of the workflow. I think this is just cosmetic since it does work fine, it just looks confusing. The same also applies to GROMACS/LSDMap:

(extasy-test)[ibethune@workflow coam-on-archer]$ EXTASY_DEBUG=True RADICAL_ENMD_VERBOSE=REPORT python extasy_amber_coco.py --RPconfig archer.rcfg --Kconfig cocoamber.wcfg

================================================================================
 EnsembleMD (0.3.6-56-g7faa6e1)                                                 
================================================================================

Starting Allocation                                                            \
create session rp.session.workflow.iu.xsede.org.ibethune.016730.0016          ok
create pilot manager                                                          ok
create pilot description                                                      ok
submit 1 pilot(s) .                                                           ok
create unit manager                                                           ok
add 1 pilot(s)                                                                ok
                                                                              ok
        Verifying pattern                                                     ok
        Starting pattern execution                                            ok
--------------------------------------------------------------------------------
Executing simulation-analysis loop with 2 iterations on 24 allocated core(s) on 'epsrc.archer'

Job waiting on queue...                                                        \
wait for 1 pilot(s) +                                                         ok

Job is now running !
Waiting for pre_loop step to complete.                                         \
submit 1 unit(s)
        .                                                                     ok
wait for 1 unit(s)
        +                                                                     ok
                                                                            done
Iteration 1: Waiting for simulation tasks: md.amber to complete                \
submit 16 unit(s)
        ................                                                      ok
wait for 17 unit(s)
        +++++++++++++++++                                                     ok
                                                                            done
Iteration 1: Waiting for simulation tasks: md.amber to complete                \
submit 16 unit(s)
        ................                                                      ok
wait for 33 unit(s)
        +++++++++++++++++++++++++++++++++                                     ok
                                                                            done
Iteration 1: Waiting for analysis tasks: md.coco to complete                   \
submit 1 unit(s)
        .                                                                     ok
wait for 34 unit(s)
        ++++++++++++++++++++++++++++++++++                                    ok
                                                                            done
Iteration 1: Waiting for analysis tasks: md.tleap to complete                  \
submit 1 unit(s)
        .                                                                     ok
wait for 35 unit(s)
        +++++++++++++++++++++++++++++++++++                                   ok
                                                                            done
Iteration 2: Waiting for simulation tasks: md.amber to complete                \
submit 16 unit(s)
        ................                                                      ok
wait for 51 unit(s)
        +++++++++++++++++++++++++++++++++++++++++++++++++++                   ok
                                                                            done
Iteration 2: Waiting for simulation tasks: md.amber to complete                \
submit 16 unit(s)
        ................                                                      ok
wait for 67 unit(s)
        ++++++++++++++++++++++++++++++++++++++++++++++++++++++\
andre-merzky commented 8 years ago

see https://github.com/radical-cybertools/radical.ensemblemd/issues/113

vivek-bala commented 8 years ago

This seems confusing yes. This would show up only when RADICAL_PILOT_VERBOSE=REPORT. Will not be printed when RADICAL_ENMD_VERBOSE=REPORT.

vivek-bala commented 8 years ago

fixed in devel now.

ibethune commented 8 years ago

Can't check right now due to #214

ibethune commented 8 years ago

Confirm this is fixed.

vivek-bala commented 8 years ago

Thanks Iain !