SlideShare una empresa de Scribd logo
1 de 12
RSM Refactor (Phase 1) Refactor - Code refactoring is "a disciplined way to restructure code",[1] undertaken in order to improve some of the nonfunctional attributes of the software. – Wikipedia.com Project goals Clean up the code Restructure into stronger object oriented model Change No Functionality
Team Project lead – Joseph Park Core Developers Fahmida Khatun Charles Haynes Randy Vanzee Additional development and consulting staff Veera Karri Raul Novoa Eric Flaig Wasantha Lal Ruben Arteaga Clay Brown Sharika Senarath Michael Martin (USACE)
RSM Past Canal-Mesh Integration Benchmarks C++ Standard gcc justification WaterBody/ WaterMover class ENP Model Parallelization DSS I/O Vertical Soln SCCS PETSC Sparse Matrix Purify C++ standalone Documentation +6 + 2.3 Yrs + 4 Alpha controller Rulecurves PID controller hse FORTRAN – C++ Canal Algorithm XML CVS pseudocells + 3.2 Yrs 1998 1997 1999 2000 2002 2001 8/96 1996 Exception handling Console logging Basin WB Bugzilla Trigger Module Assessor MSE Network WCU Assessors Fuzzy control pseudocell hub  WM control MSE User controller GLPK +7.7 HPMs Special Assess Iterations WMM Assess WCU Profiler Basins EAA Linked Basins/ WMM Assessors .dtd version stage based LGMRES ORM refactor Canal decouple STA WQ 2003 2004 2005 2010 2006 2007 2008 2009
April 2009 Proposed RSM Developments Lessons Learned RSM Enhancement Program ,[object Object]
 Domain-specific attention
 Improvement of model functions
 Incorporation of new technologies+ Model Objective C++ Coding Standard RSM Refactor
July 2009 Proposed RSM Developments (& Status) HSE Kernel† 1. Investigate replacement of PETSC with internal GMRES solver. (IML++ solver was fully integrated & tested with GladesLECSA model in 2010. See next slide.) 2. Evaluation and enhancement of watermover Jacobians (Current). † This does not directly address or design a solution for overland flow (2D) stability, or reformulation of the diffusion framework with the addition of inertia.
IML++ Analysis - LGMRES Implementation & testing of IML++ found that in comparison to PETSC, runtimes were slower and waterbudget residuals higher for GladesLECSA models.  However: it led to a better understanding of the LGMRES algorithm and through exhaustive testing resulted in the adoption of PETSC LGMRES with Kyrlov subspace restart parameterisations that: 1.  Significantly reduced model runtimes 2.  Give modelers control over solution tolerance / runtime tradeoff
July 2009 Proposed RSM Developments (& Status) RSM Refactor 1.	Assess current code-base and class hierarchy. (2010) 2.	Get Modeler input to identify needed and superfluous waterbodies,  	watermovers and functions. (2010) 3. 	Develop RSM Coding Standard. (2010) 4.	Implement code cleanup based on Modeler criteria. (2011) 5.	Assess code adherence to RSM coding standards. (2010) 6.	Code refactor to correct deviations from RSM coding standards. 	(2011) 7.	Assess functional integration of modules (HPMs, Trigger… etc.) 	(Future) 8.	Refactor identified modules to uniform HSE/MSE integration 	standards. (Future)
Bugzilla 2173 –  RSM Refactor A holistic cleanup and review of the RSM/HSE code base has not been conducted. There are varying styles and formats across the code-base which present barriers to assimilation by new developers and support by maintainers. There also exist sections of dead code, unnecessary header file dependencies and defunct benchmarks.   The Model Development Leads recommend: 1. Unifying the code-base with a coherent set of standards 2. Cleaning up dead code and benchmarks 3. Reducing header file dependencies Project Goals 1. Code-base will be unified with a common look-and-feel 2. Source image will be reduced in size and complexity as header dependencies are removed 3. The pool of RSM developers will be expanded  4. No functional changes to model I/O, behavior or performance
RSM Centric C++ Coding Standard Version 1.1 February 24, 2011 Technical Committee Joseph Park Randy van Zee Charles Haynes The Coding Standard emphasized consistency, adherence to C++ standards and the reduction of header file dependencies.

Más contenido relacionado

Destacado

9. Las Colonizaciones Portuguesa, Inglesa y Holandesa
9. Las Colonizaciones Portuguesa, Inglesa y Holandesa9. Las Colonizaciones Portuguesa, Inglesa y Holandesa
9. Las Colonizaciones Portuguesa, Inglesa y HolandesaMarioandres1405
 
10. 9 1 La Globalizacion
10. 9 1 La Globalizacion10. 9 1 La Globalizacion
10. 9 1 La GlobalizacionMarioandres1405
 
5. La Creación de los Gremios en la Baja Edad Media
5. La Creación de los Gremios en la Baja Edad Media5. La Creación de los Gremios en la Baja Edad Media
5. La Creación de los Gremios en la Baja Edad MediaMarioandres1405
 
6. 9 4 El Bandolerismo y Periodo de la Violencia
6. 9 4 El Bandolerismo y Periodo de la Violencia6. 9 4 El Bandolerismo y Periodo de la Violencia
6. 9 4 El Bandolerismo y Periodo de la ViolenciaMarioandres1405
 
10. 9 2 La Apertura Económica
10. 9 2 La Apertura Económica10. 9 2 La Apertura Económica
10. 9 2 La Apertura EconómicaMarioandres1405
 
3. La intensificación del Comercio en la Baja Edad Media
3. La intensificación del Comercio en la Baja Edad Media3. La intensificación del Comercio en la Baja Edad Media
3. La intensificación del Comercio en la Baja Edad MediaMarioandres1405
 
9. 9 3 La Constitución Política de 1991
9. 9 3 La Constitución Política de 19919. 9 3 La Constitución Política de 1991
9. 9 3 La Constitución Política de 1991Marioandres1405
 
2. Las Expansiones Portuguesa y Española
2. Las Expansiones Portuguesa y Española2. Las Expansiones Portuguesa y Española
2. Las Expansiones Portuguesa y EspañolaMarioandres1405
 
Politica Exterior de los Estados Unidos y América Latina a inicios del siglo xx
Politica Exterior de los Estados Unidos y América Latina a inicios del siglo xxPolitica Exterior de los Estados Unidos y América Latina a inicios del siglo xx
Politica Exterior de los Estados Unidos y América Latina a inicios del siglo xxMarioandres1405
 
3. civilizaciones Americanas
3. civilizaciones Americanas3. civilizaciones Americanas
3. civilizaciones AmericanasMarioandres1405
 

Destacado (13)

9. Las Colonizaciones Portuguesa, Inglesa y Holandesa
9. Las Colonizaciones Portuguesa, Inglesa y Holandesa9. Las Colonizaciones Portuguesa, Inglesa y Holandesa
9. Las Colonizaciones Portuguesa, Inglesa y Holandesa
 
Dio Studio
Dio StudioDio Studio
Dio Studio
 
Folleto Folder
Folleto FolderFolleto Folder
Folleto Folder
 
10. 9 1 La Globalizacion
10. 9 1 La Globalizacion10. 9 1 La Globalizacion
10. 9 1 La Globalizacion
 
Ocho Moto Recap
Ocho Moto RecapOcho Moto Recap
Ocho Moto Recap
 
5. La Creación de los Gremios en la Baja Edad Media
5. La Creación de los Gremios en la Baja Edad Media5. La Creación de los Gremios en la Baja Edad Media
5. La Creación de los Gremios en la Baja Edad Media
 
6. 9 4 El Bandolerismo y Periodo de la Violencia
6. 9 4 El Bandolerismo y Periodo de la Violencia6. 9 4 El Bandolerismo y Periodo de la Violencia
6. 9 4 El Bandolerismo y Periodo de la Violencia
 
10. 9 2 La Apertura Económica
10. 9 2 La Apertura Económica10. 9 2 La Apertura Económica
10. 9 2 La Apertura Económica
 
3. La intensificación del Comercio en la Baja Edad Media
3. La intensificación del Comercio en la Baja Edad Media3. La intensificación del Comercio en la Baja Edad Media
3. La intensificación del Comercio en la Baja Edad Media
 
9. 9 3 La Constitución Política de 1991
9. 9 3 La Constitución Política de 19919. 9 3 La Constitución Política de 1991
9. 9 3 La Constitución Política de 1991
 
2. Las Expansiones Portuguesa y Española
2. Las Expansiones Portuguesa y Española2. Las Expansiones Portuguesa y Española
2. Las Expansiones Portuguesa y Española
 
Politica Exterior de los Estados Unidos y América Latina a inicios del siglo xx
Politica Exterior de los Estados Unidos y América Latina a inicios del siglo xxPolitica Exterior de los Estados Unidos y América Latina a inicios del siglo xx
Politica Exterior de los Estados Unidos y América Latina a inicios del siglo xx
 
3. civilizaciones Americanas
3. civilizaciones Americanas3. civilizaciones Americanas
3. civilizaciones Americanas
 

Similar a Rsm Refactor April 2011

A Software Factory Integrating Rational & WebSphere Tools
A Software Factory Integrating Rational & WebSphere ToolsA Software Factory Integrating Rational & WebSphere Tools
A Software Factory Integrating Rational & WebSphere Toolsghodgkinson
 
Towards a metamodel for the Rubus Component Model
Towards a metamodel for the Rubus Component ModelTowards a metamodel for the Rubus Component Model
Towards a metamodel for the Rubus Component ModelAlessio Bucaioni
 
System Architecture Exploration Training Class
System Architecture Exploration Training ClassSystem Architecture Exploration Training Class
System Architecture Exploration Training ClassDeepak Shankar
 
A Hitchhiker's Guide to Cloud Native Java EE
A Hitchhiker's Guide to Cloud Native Java EEA Hitchhiker's Guide to Cloud Native Java EE
A Hitchhiker's Guide to Cloud Native Java EEQAware GmbH
 
A Hitchhiker's Guide to Cloud Native Java EE
A Hitchhiker's Guide to Cloud Native Java EEA Hitchhiker's Guide to Cloud Native Java EE
A Hitchhiker's Guide to Cloud Native Java EEMario-Leander Reimer
 
Incremental Queries and Transformations for Engineering Critical Systems
Incremental Queries and Transformations for Engineering Critical SystemsIncremental Queries and Transformations for Engineering Critical Systems
Incremental Queries and Transformations for Engineering Critical SystemsÁkos Horváth
 
System on Chip Design and Modelling Dr. David J Greaves
System on Chip Design and Modelling   Dr. David J GreavesSystem on Chip Design and Modelling   Dr. David J Greaves
System on Chip Design and Modelling Dr. David J GreavesSatya Harish
 
Resume Aden bahdon
Resume Aden bahdonResume Aden bahdon
Resume Aden bahdonAden Bahdon
 
Space Codesign CMC Microsystems Webinar 20150205 unrolled
Space Codesign CMC Microsystems Webinar 20150205 unrolledSpace Codesign CMC Microsystems Webinar 20150205 unrolled
Space Codesign CMC Microsystems Webinar 20150205 unrolledSpace Codesign
 
Medea: Scheduling of Long Running Applications in Shared Production Clusters
Medea: Scheduling of Long Running Applications in Shared Production ClustersMedea: Scheduling of Long Running Applications in Shared Production Clusters
Medea: Scheduling of Long Running Applications in Shared Production ClustersPanagiotis Garefalakis
 
Tool-Driven Technology Transfer in Software Engineering
Tool-Driven Technology Transfer in Software EngineeringTool-Driven Technology Transfer in Software Engineering
Tool-Driven Technology Transfer in Software EngineeringHeiko Koziolek
 

Similar a Rsm Refactor April 2011 (20)

CAOS: A CAD Framework for FPGA-Based Systems
CAOS: A CAD Framework for FPGA-Based SystemsCAOS: A CAD Framework for FPGA-Based Systems
CAOS: A CAD Framework for FPGA-Based Systems
 
A Software Factory Integrating Rational & WebSphere Tools
A Software Factory Integrating Rational & WebSphere ToolsA Software Factory Integrating Rational & WebSphere Tools
A Software Factory Integrating Rational & WebSphere Tools
 
Towards a metamodel for the Rubus Component Model
Towards a metamodel for the Rubus Component ModelTowards a metamodel for the Rubus Component Model
Towards a metamodel for the Rubus Component Model
 
Prasad_CTP
Prasad_CTPPrasad_CTP
Prasad_CTP
 
3DD 1e Laura
3DD 1e Laura3DD 1e Laura
3DD 1e Laura
 
System Architecture Exploration Training Class
System Architecture Exploration Training ClassSystem Architecture Exploration Training Class
System Architecture Exploration Training Class
 
A Hitchhiker's Guide to Cloud Native Java EE
A Hitchhiker's Guide to Cloud Native Java EEA Hitchhiker's Guide to Cloud Native Java EE
A Hitchhiker's Guide to Cloud Native Java EE
 
A Hitchhiker's Guide to Cloud Native Java EE
A Hitchhiker's Guide to Cloud Native Java EEA Hitchhiker's Guide to Cloud Native Java EE
A Hitchhiker's Guide to Cloud Native Java EE
 
C++ N Pv2
C++ N Pv2C++ N Pv2
C++ N Pv2
 
UIC Thesis Candiloro
UIC Thesis CandiloroUIC Thesis Candiloro
UIC Thesis Candiloro
 
Webinar on radar
Webinar on radarWebinar on radar
Webinar on radar
 
Incremental Queries and Transformations for Engineering Critical Systems
Incremental Queries and Transformations for Engineering Critical SystemsIncremental Queries and Transformations for Engineering Critical Systems
Incremental Queries and Transformations for Engineering Critical Systems
 
System on Chip Design and Modelling Dr. David J Greaves
System on Chip Design and Modelling   Dr. David J GreavesSystem on Chip Design and Modelling   Dr. David J Greaves
System on Chip Design and Modelling Dr. David J Greaves
 
Resume Aden bahdon
Resume Aden bahdonResume Aden bahdon
Resume Aden bahdon
 
Space Codesign CMC Microsystems Webinar 20150205 unrolled
Space Codesign CMC Microsystems Webinar 20150205 unrolledSpace Codesign CMC Microsystems Webinar 20150205 unrolled
Space Codesign CMC Microsystems Webinar 20150205 unrolled
 
Sdlc
SdlcSdlc
Sdlc
 
Medea: Scheduling of Long Running Applications in Shared Production Clusters
Medea: Scheduling of Long Running Applications in Shared Production ClustersMedea: Scheduling of Long Running Applications in Shared Production Clusters
Medea: Scheduling of Long Running Applications in Shared Production Clusters
 
Tool-Driven Technology Transfer in Software Engineering
Tool-Driven Technology Transfer in Software EngineeringTool-Driven Technology Transfer in Software Engineering
Tool-Driven Technology Transfer in Software Engineering
 
RAMP_FINAL_ppt
RAMP_FINAL_pptRAMP_FINAL_ppt
RAMP_FINAL_ppt
 
Software Development
Software DevelopmentSoftware Development
Software Development
 

Último

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 

Último (20)

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 

Rsm Refactor April 2011

  • 1. RSM Refactor (Phase 1) Refactor - Code refactoring is "a disciplined way to restructure code",[1] undertaken in order to improve some of the nonfunctional attributes of the software. – Wikipedia.com Project goals Clean up the code Restructure into stronger object oriented model Change No Functionality
  • 2. Team Project lead – Joseph Park Core Developers Fahmida Khatun Charles Haynes Randy Vanzee Additional development and consulting staff Veera Karri Raul Novoa Eric Flaig Wasantha Lal Ruben Arteaga Clay Brown Sharika Senarath Michael Martin (USACE)
  • 3. RSM Past Canal-Mesh Integration Benchmarks C++ Standard gcc justification WaterBody/ WaterMover class ENP Model Parallelization DSS I/O Vertical Soln SCCS PETSC Sparse Matrix Purify C++ standalone Documentation +6 + 2.3 Yrs + 4 Alpha controller Rulecurves PID controller hse FORTRAN – C++ Canal Algorithm XML CVS pseudocells + 3.2 Yrs 1998 1997 1999 2000 2002 2001 8/96 1996 Exception handling Console logging Basin WB Bugzilla Trigger Module Assessor MSE Network WCU Assessors Fuzzy control pseudocell hub WM control MSE User controller GLPK +7.7 HPMs Special Assess Iterations WMM Assess WCU Profiler Basins EAA Linked Basins/ WMM Assessors .dtd version stage based LGMRES ORM refactor Canal decouple STA WQ 2003 2004 2005 2010 2006 2007 2008 2009
  • 4.
  • 6. Improvement of model functions
  • 7. Incorporation of new technologies+ Model Objective C++ Coding Standard RSM Refactor
  • 8. July 2009 Proposed RSM Developments (& Status) HSE Kernel† 1. Investigate replacement of PETSC with internal GMRES solver. (IML++ solver was fully integrated & tested with GladesLECSA model in 2010. See next slide.) 2. Evaluation and enhancement of watermover Jacobians (Current). † This does not directly address or design a solution for overland flow (2D) stability, or reformulation of the diffusion framework with the addition of inertia.
  • 9. IML++ Analysis - LGMRES Implementation & testing of IML++ found that in comparison to PETSC, runtimes were slower and waterbudget residuals higher for GladesLECSA models. However: it led to a better understanding of the LGMRES algorithm and through exhaustive testing resulted in the adoption of PETSC LGMRES with Kyrlov subspace restart parameterisations that: 1. Significantly reduced model runtimes 2. Give modelers control over solution tolerance / runtime tradeoff
  • 10. July 2009 Proposed RSM Developments (& Status) RSM Refactor 1. Assess current code-base and class hierarchy. (2010) 2. Get Modeler input to identify needed and superfluous waterbodies, watermovers and functions. (2010) 3. Develop RSM Coding Standard. (2010) 4. Implement code cleanup based on Modeler criteria. (2011) 5. Assess code adherence to RSM coding standards. (2010) 6. Code refactor to correct deviations from RSM coding standards. (2011) 7. Assess functional integration of modules (HPMs, Trigger… etc.) (Future) 8. Refactor identified modules to uniform HSE/MSE integration standards. (Future)
  • 11. Bugzilla 2173 – RSM Refactor A holistic cleanup and review of the RSM/HSE code base has not been conducted. There are varying styles and formats across the code-base which present barriers to assimilation by new developers and support by maintainers. There also exist sections of dead code, unnecessary header file dependencies and defunct benchmarks. The Model Development Leads recommend: 1. Unifying the code-base with a coherent set of standards 2. Cleaning up dead code and benchmarks 3. Reducing header file dependencies Project Goals 1. Code-base will be unified with a common look-and-feel 2. Source image will be reduced in size and complexity as header dependencies are removed 3. The pool of RSM developers will be expanded 4. No functional changes to model I/O, behavior or performance
  • 12. RSM Centric C++ Coding Standard Version 1.1 February 24, 2011 Technical Committee Joseph Park Randy van Zee Charles Haynes The Coding Standard emphasized consistency, adherence to C++ standards and the reduction of header file dependencies.
  • 13. RSM Refactor Project Documentation SVN: svn://dcluster1/rsm/RSM-Refactor-Docs Web: http://dcluster2/viewvc/rsm/RSM-Refactor-Docs RSM-Refactor-Docs/ acceptanceTesting/ - Model Implementation Validation analysis/ - Code Analysis Tools and Results codeReviews/ - Peer Review Comments designData/ - Model Functional Design Criteria designGuide/ - Coding Standard & Rules status/ - Peer Review Spreadsheet & Changes
  • 14. RSM Refactor Results 122 Files Removed 600+ Files Edited & Reviewed Header File Dependencies Significantly Reduced (makefile dependencies reduced by a factor of ~2.5) Consistent Code Format & Comments Doxygen Comment Strings No Change in Model Implementation Performance 4 Benchmarks Reactivated 7 Benchmarks Depracated Multi-process builds now supported at the top level directory
  • 15. What’s next? Development tasks Upgrading the C++ compiler to the latest GNU compiler suite Further conversion of coding constructs towards object oriented design and methods Reduce redundant code Multi-process the benchmarks Create application unit testing environment Parallelize the code in a cluster friendly way Explore coherent shared memory solutions Create an API (Application Programmers Interface) Technical/Scientific tasks Upgrade the solver Parallelize functionality within the solver ILU preconditioner switch to JACOBI (ILU will not work in parallel)?