IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 39 and Version 40 of External_Supercomputing_Notes


Ignore:
Timestamp:
May 16, 2014, 5:28:41 PM (12 years ago)
Author:
watersc1
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • External_Supercomputing_Notes

    v39 v40  
     1== 2014-05-16 ==
     2
     3After sending Ken a summary of how the remote processing works, I thought it would useful to copy that information here.
     4
     5
     6
     7[[Image(IMG_20140516_165558_259.jpg)]]
     8
     9* Password issue (box 1 on the diagram).
     10
     11The head node runs the pantasks controlling all processing.  The user
     12doing the processing needs to have a key-card validated connection to
     13LANL.  Due to the LANL security system, this connection is
     14disconnected every 12 hours, and must be re-established to do any
     15executing or polling of remote jobs.
     16
     17 * Slow preparation issue (box 2 on the diagram).
     18
     19Each remote job needs to have all of its file depenencies and commands
     20structured, and this can happen on any node in the pantasks.  This
     21does not require an active connection to LANL, as it is purely
     22IPP-side.  As each remote job consists of ~1000 exposures, and each
     23exposure has on order 60-80 sub-components, these jobs take a long
     24time (each subcomponent seems to take on the order of a second or
     25less).  However, as we can run many of these simultaneously, the
     26average cost of these prep jobs can be brought down.  This runs into
     27the issue that if we have many jobs being prepared, we will need to
     28run them all.
     29
     30 * Data persistence issue (not directly visible on diagram).
     31
     32Having many jobs in the queue requires a lot of data to be transfered,
     33and subsequent stages (cam/warp/stack) need to be executed before the
     34LANL disk quota removes needed results from previous stages.  We are
     35only transferring back (box 7) permanent data products that we want to
     36keep, not all intermediate products.
     37
     38 * Remainder of explanation (boxes 2+ on diagram)
     39
     40 * Box 2: Prepare
     41Each stage has a different prepare script, but they all output the
     42same products: a list of filename requirements (in multiple formats to
     43match nebulous/disk formats), a list of commands to execute (the
     44ppImage/psastro/pswarp/ppStack, but also various mkdir commands to
     45ensure output products can be constructed, and symlink commands to
     46alias files from their nebulous key to nebulous disk representation),
     47and a resource requirement.
     48
     49 * Box 3-5: Exec
     50Once the prepare is finished, pantasks can launch an exec script [3]
     51via the ssh link that feeds that data through to "mu-fe", the Mustang
     52front-end computer.  This launches the transfer tool on mu-fe [4],
     53which in turn connects via ssh and tar to the IPP storage accessible
     54from ippc2X.  Once all required data has been downloaded to the
     55scratch disk at LANL, the job resource requiest is submitted to the
     56MOAB scheduler [5].
     57
     58 * Box 6-7: Poll
     59
     60After some amount of time (currently one hour after the GPC1 database
     61entry for the remoteRun was last updated), pantasks launches a poll
     62command over the ssh link to mu-fe [6].  If the job has completed, the
     63filelists calculated in the prepare step are used to pass back any
     64permanent data to the IPP storage nodes [7].  Included in this are the
     65dbinfo files, which contain the update commands necessary to update
     66the GPC1 database, and these are executed by the poll command before
     67it sets the remoteRun state to 'full'.
     68
     69Unpictured are the IPP advance commands that can also run in the
     70pantasks, which launch the next stage processing for the data
     71returned.
     72
     73
    174== 2014-04-08 ==
    275