Update on the Software Correlator Nico Kruithof, Huseyin Özdemir, Yurii Pydoprihora, Ruud...

14
Update on the Software Correlator Nico Kruithof, Huseyin Özdemir, Yurii Pydoprihora, Ruud Oerlemans, Mark Kettenis, JIVE

Transcript of Update on the Software Correlator Nico Kruithof, Huseyin Özdemir, Yurii Pydoprihora, Ruud...

Page 1: Update on the Software Correlator Nico Kruithof, Huseyin Özdemir, Yurii Pydoprihora, Ruud Oerlemans, Mark Kettenis, JIVE.

Update on the Software CorrelatorNico Kruithof, Huseyin Özdemir, Yurii Pydoprihora, Ruud Oerlemans, Mark Kettenis, JIVE

Page 2: Update on the Software Correlator Nico Kruithof, Huseyin Özdemir, Yurii Pydoprihora, Ruud Oerlemans, Mark Kettenis, JIVE.

Jan 29, 2008 Update on the Software Correlator Slide #: 2

Starting PointC++ implementation of the correlator used for the Huygens• FX correlator.• Monolithic.• Single-subband, USB only.• Single-threaded, largely unoptimized.• Driven by home-grown control file.• No integrated delay model.• No fringes on standard EVN data.• Input data needs conversion.• Raw output data.

Page 3: Update on the Software Correlator Nico Kruithof, Huseyin Özdemir, Yurii Pydoprihora, Ruud Oerlemans, Mark Kettenis, JIVE.

Jan 29, 2008 Update on the Software Correlator Slide #: 3

Design Decisions• Parallelisation in both subbands and time.• All baselines for a single subband processed on a single cluser

node.• Further course grained parallelisation (in time only) to distribute

over multiple clusters.

• Input node (one per station)• Correlator node (as many as feasable)• Output node• Manager node

Page 4: Update on the Software Correlator Nico Kruithof, Huseyin Özdemir, Yurii Pydoprihora, Ruud Oerlemans, Mark Kettenis, JIVE.

Jan 29, 2008 Update on the Software Correlator Slide #: 4

Design Decisions

Grid

Telescopes

Input nodes

Correlator nodes

Output node

Sorting and merging

Time and channel slicing

Page 5: Update on the Software Correlator Nico Kruithof, Huseyin Özdemir, Yurii Pydoprihora, Ruud Oerlemans, Mark Kettenis, JIVE.

Jan 29, 2008 Update on the Software Correlator Slide #: 5

Current State• VEX-driven, with small JSON-based control file specifying

correlation parameters.• Modular.• Parallelized using MPI.• Scales from SMP machines to largish clusters.• Integrated delay model based on CALC 10.• All subbands processed, both LSB and USB, cross-correlations.• Still mostly unoptimized: 1.5 min to process 1s of a typical EVN

NME on a quadcore SMP machine.• Takes Mark4 (Mark5A) and Mark5B input data.• Output data format that includes (some) metadata.

Page 6: Update on the Software Correlator Nico Kruithof, Huseyin Özdemir, Yurii Pydoprihora, Ruud Oerlemans, Mark Kettenis, JIVE.

Jan 29, 2008 Update on the Software Correlator Slide #: 6

Validation• Phase Closure

Page 7: Update on the Software Correlator Nico Kruithof, Huseyin Özdemir, Yurii Pydoprihora, Ruud Oerlemans, Mark Kettenis, JIVE.

Jan 29, 2008 Update on the Software Correlator Slide #: 7

Validation• Noise Analysis

Page 8: Update on the Software Correlator Nico Kruithof, Huseyin Özdemir, Yurii Pydoprihora, Ruud Oerlemans, Mark Kettenis, JIVE.

Jan 29, 2008 Update on the Software Correlator Slide #: 8

Validation• Comparison with the Hardware Correlator

Page 9: Update on the Software Correlator Nico Kruithof, Huseyin Özdemir, Yurii Pydoprihora, Ruud Oerlemans, Mark Kettenis, JIVE.

Jan 29, 2008 Update on the Software Correlator Slide #: 9

OptimizationSome plans for further optimization include:• Investigate other compilers• Use Intel/AMD vector libraries.

• Interpolation in application of delay model.• Fringe rotation before fractional bit shift.• Fringe rotation after correlation.

Page 10: Update on the Software Correlator Nico Kruithof, Huseyin Özdemir, Yurii Pydoprihora, Ruud Oerlemans, Mark Kettenis, JIVE.

Jan 29, 2008 Update on the Software Correlator Slide #: 10

Success Story: FTP Fringe Tests• Cluster running NICT correlator broke down in May 2007• SFXC was used since then for FTP Fringe Tests

Page 11: Update on the Software Correlator Nico Kruithof, Huseyin Özdemir, Yurii Pydoprihora, Ruud Oerlemans, Mark Kettenis, JIVE.

Jan 29, 2008 Update on the Software Correlator Slide #: 11

Post Processing• JIVE uses j2ms2 to convert hardware correlator output into

MeasurementSet.• J2ms2 has been adapted to accapt new SFXC output format.

• Translation into FITS through standard pipeline.

Page 12: Update on the Software Correlator Nico Kruithof, Huseyin Özdemir, Yurii Pydoprihora, Ruud Oerlemans, Mark Kettenis, JIVE.

Jan 29, 2008 Update on the Software Correlator Slide #: 12

The Bigger PictureHow to get things on the Grid?

• Workflow Manager (PSNC)

• VLBI Grid broker (PSNC)

• Web Services• Vex2ccf: Creates control file template from VEX• Data providers: Provides chunks of data and transfers them to

GridFTP servers.

• Currently working with GEANT2 AutoBAHN group on a joint demo to show usage of their Bandwidth-on-Demand facility.

Page 13: Update on the Software Correlator Nico Kruithof, Huseyin Özdemir, Yurii Pydoprihora, Ruud Oerlemans, Mark Kettenis, JIVE.

Jan 29, 2008 Update on the Software Correlator Slide #: 13

The Picture

WorkflowManager

Vex2ccfservice

.vex

.ccf

VLBIGrid Broker

Data ProviderService

data

GridFTP

CorrelatorCorrelator

Page 14: Update on the Software Correlator Nico Kruithof, Huseyin Özdemir, Yurii Pydoprihora, Ruud Oerlemans, Mark Kettenis, JIVE.

Jan 29, 2008 Update on the Software Correlator Slide #: 14

Future Directions• Integrate uvw coordinates in correlator output• Make things faster• Real-Time eVLBI• Pulsar Gating?