Torna ai risultati
Scheda bibliografica · Consultazione e accesso
Tesis

Fortran refactoring for legacy systems

Méndez, Mariano · SEDICI UNLP · 2011

Materiale supplementare disponibile
Lettura rapida. Controlla i dati essenziali della risorsa e accedi al contenuto con il pulsante principale. La scheda mostra solo le informazioni necessarie per identificare, citare e aprire l’opera.

Accesso alla risorsa

Apri il contenuto dall’opzione principale o scegli un’altra fonte disponibile.

SEDICI UNLP SEDICI UNLP OAI-PMH
Entrar por SEDICI UNLP
Accesso principale

Materiale supplementare disponibile

El enlace apunta a material asociado, anexos, tablas, datos o página complementaria. No se marca como libro/texto completo.
Apri materiale

Riepilogo

Descripción general del contenido del recurso.

The motivation of this work comes from a Global Climate Model (GCM) Software which was in great need of being updated. This software was implemented by scientists in the ’80s as a result of meteorological research. Written in Fortran 77, this program has been used as an input to make climate predictions for the Southern Hemisphere. The execution to get a complete numerical data set takes several days. This software has been programmed using a sequential processing paradigm. In these days, where multicore processors are so widespread, the time that an execution takes to get a complete useful data set can be drastically reduced using this technology. As a first objective to reach this goal of reengineering we must be able to understand the source code. An essential Fortran code characteristic is that old source code versions became unreadable, not comprehensive and sometimes “ejects” the reader from the source code. In that way, we can not modify, update or improve unreadable source code. Then, as a first step to parallelize this code we must update it, turn it readable and easy to understand. The GCM has a very complex internal structure. The program is divided into about 300 .f (Fortran 77) files. These files generally implement only one Fortran subroutine. Less than 10% of the files are used for common blocks and constants. Approximately 25% of the lines in the source code are comments. The total number of Fortran source code lines is 58000. A detailed work within the source code brings to light that [74]: 1 About 230 routines are called/used at run time. Most of the runtime is spent in routines located at deep levels 5 to 7 in the dynamic call graph from the main routine. 2 The routine with most of the runtime (the top routine from now on) requires more than 9% of the total program runtime and is called about 315000 times. 3 The top 10 routines (the 10 routines at the top of the flat profile) require about 50% of total runtime. Two of them are related to intrinsic Fortran functions. Our first approach was using a scripting language and Find & Replace tools trying to upgrade the source code, this kind of code manipulation do not guarantee preservation of software behavior. Then, our goal was to develop an automated tool to transform legacy software in more understandable, comprehensible and readable applying refactoring as main technique. At the same time a catalog of transformation to be applied in Fortran code is needed as a guide to programmers through this process. Es revisado por: http://sedici.unlp.edu.ar/handle/10915/9703 Magister en Ingeniería de Software

Come citare

Elegí el formato que necesitás y copiá la referencia al portapapeles.

APA 7

Méndez, M. (2011). Fortran refactoring for legacy systems. SEDICI UNLP. https://doi.org/10.35537/10915/4201

MLA

Méndez, Mariano. Fortran refactoring for legacy systems. SEDICI UNLP, 2011. https://doi.org/10.35537/10915/4201.

Chicago

Méndez, Mariano. 2011. Fortran refactoring for legacy systems. SEDICI UNLP. https://doi.org/10.35537/10915/4201.

Harvard

Méndez, M. 2011, Fortran refactoring for legacy systems, SEDICI UNLP, available at: https://doi.org/10.35537/10915/4201 [Accessed 6 Aug. 2026].

Condividi e stampa

Salva la scheda, copia il link permanente o stampala in PDF.

Esporta riferimento

Esporta il record nei formati più comuni per usarlo con un gestore bibliografico.

Dettagli della risorsa

Informazioni bibliografiche utili per verificare che sia il materiale corretto.

Titolo
Fortran refactoring for legacy systems
Autore / collaboratori
Méndez, Mariano
Editore
SEDICI UNLP
Anno di pubblicazione
2011
Lingua
Inglés

Soggetti

Esplora risorse correlate a partire da questi soggetti.

Copiato