90 likes | 226 Views
REcent Developments. GaudiPython / WP8. GaudiPython parallel. lcg developments. multiprocessing module added to LCG: Available in LCG Externals part of pytools package version 1.1 requirements line : use pytools v1.1 LCG_Interfaces
E N D
REcent Developments • GaudiPython / WP8
lcg developments • multiprocessing module added to LCG: • Available in LCG Externals • part of pytools package version 1.1 • requirements line : use pytools v1.1 LCG_Interfaces • LCG Config may be off... replace 1.0_python2.5 with 1.1_python2.5 in PYTHONPATH
SMAPS • smaps added to Multicore R&D twiki page • tar.gz with smaps.py script • and a simple number-crunching script • documentation pdf • also available in • /afs/cern.ch/sw/lcg/external/smaps/1.0 • with documentation
parallel workshop • Results/decisions : • syntax change : • --ncpus=N for multicore parallel, instead of --parallel • --ncpus=-1 for all available cpus, instead of =0
parallel workshop • Outcomes : • Modify OutputStream/PersistencySvc in Gaudi specially for Event IPC • IPCSvc.h/cpp added to PersistencySvc • modelled on existing OutputStream • objects collected and dumped to a member TBufferFile • IIPCSvc.h added to GaudiKernel • dumpObject() • loadBuffer() • syntax change : --ncpus=N, --ncpus=-1 • Combine 2 approaches : • Athena MP fork-all-workers / GaudiPython single output stream
GP parallel : cluster • Cluster-version of GaudiPython • Using pp-1.5.7 and pyssh modules (Not LCG) • possibly update from pyssh to pssh (maintained) • Open SSH session to a (given) list of hosts • Event Parallelism and message passing, instead of single Task with return value
Gp parallel : cluster • Test mechanism implemented : • “GaudiServer” running on remote node • modified ppserver... • added Worker Classes/process, modifed processing of incoming data • environment prepared as part of SSH Session setup • GaudiServer forks one/many Worker Processes, but continues to listen on a single socket • Events can be streamed to socket as TBufferFiles, and then queued to Workers • Concept model... just working in scripts!