21-25 May 2012
New York City, NY, USA
US/Eastern timezone

Legacy code: lessons from NA61/SHINE offline software upgrade adventure.

24 May 2012, 13:30
4h 45m
Rosenthal Pavilion (10th floor) (Kimmel Center)

Rosenthal Pavilion (10th floor)

Kimmel Center

Poster Software Engineering, Data Stores and Databases (track 5) Poster Session

Speaker

Oskar Wyszynski (Jagiellonian University (PL))

Description

Shine is the new offline software framework of the NA61/SHINE experiment at the CERN SPS for data reconstruction, analysis and visualization as well as detector simulation. To allow for a smooth migration to the new framework, as well as to facilitate its validation, our transition strategy foresees to incorporate considerable parts of the old NA61/SHINE reconstruction chain which is based on the legacy code of NA49 experiment. Such a reuse of parts of old code, written mostly in C and Fortran, is an often arising problem in HEP experiments. Apart from the need to properly interface the old and new code, the migration task is complicated in our case due to the use of nonstandard commercial compilers in the NA49 code. In this presentation we will describe the challenges faced during the porting of legacy code and discuss solutions that can help developers embarking on a similar adventure. In particular, we will describe the transition from scattered Makefiles to a monolithic CMake built system, the design of C++ interfaces to the legacy code and the semi-automatic conversion of non-standard PGI-Fortran constructs to code that compiles with GFortran. In addition, the validation of the physics output of the new framework will be discussed.
Student? Enter 'yes'. See http://goo.gl/MVv53 yes

Primary author

Oskar Wyszynski (Jagiellonian University (PL))

Co-authors

Andras Laszlo (Hungarian Academy of Sciences (HU)) Antoni Jerzy Marcinek (Jagiellonian University (PL)) Darko Veberic (University of Nova Gorica (SI)) Marek Szuba (KIT - Karlsruhe Institute of Technology (DE)) Michael Unger (KIT - Karlsruhe Institute of Technology (DE)) Roland Sipos (Hungarian Academy of Sciences (HU)) Tom Paul (Department of Physics-Northeastern University)

Presentation Materials