1 / 11

NTCC Software Standards

NTCC Software Standards. NTCC Modules Library Project 1998 -- 2004. NTCC historical Context. Modest OFES Project to modernize and improve availability of MFE fusion software: Transport models. Equilibrium, heating and current drive. Supporting tools (e.g. numerics, portability).

wilton
Télécharger la présentation

NTCC Software Standards

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. NTCC Software Standards NTCC Modules Library Project 1998 -- 2004 D. McCune

  2. NTCC historical Context • Modest OFES Project to modernize and improve availability of MFE fusion software: • Transport models. • Equilibrium, heating and current drive. • Supporting tools (e.g. numerics, portability). • Standards were developed in 1998: • Coding practices, documentation. • Specification moderated by cost concerns. • Deliverables: subroutine libraries. D. McCune

  3. Issues addressed: Documentation. Portability. Distribution. Modernization. Modularization. Reusability. Sharing of subroutine libraries. NOT addressed: Distribution of entire codes or systems. High performance computing. Distributed computing: secure services, etc. Shared development. Mixed language programming. NTCC Modules Library Scope D. McCune

  4. Modules Library Assessment • Enabled sharing of important physics simulation software, but… • Successful sharing still involves a struggle: • Portability & build system issues. • Dependencies. • Low level consequences of use of mixed language programming on real systems… • Process to process distributed computing may present fewer engineering issues. D. McCune

  5. Example: NUBEAM • PPPL (TRANSP) Monte Carlo Fast Ion Package. • Neutral beam injected fast ions. • Fusion product fast ions. • Successfully deployed at PPPL (TRANSP) and GA (ONETWO). • Also reported coupled to ASTRA at JET. • Test code adapted as NUBEAM “server”. • PPPL MPI implementation in progress. D. McCune

  6. MPI-Parallel Module Server Serial TRANSP Run (Client #1) Input File* Package, e.g. XPLASMA** NetCDF state. Server Queue • MPI-Parallel TRANSP • Module Server(s): • NUBEAM monte carlo • TORIC5 full wave • GenRAY ray tracing • CQL3D fokker planck • GCNM transp. solver • ... … … Serial TRANSP Run (Client #2) Output File* Package, e.g. XPLASMA** NetCDF state. Serial TRANSP Run (Client #3) … *viability of method depends on keeping files small. Serial TRANSP Run (Client #N) **NTCC container module for equilibrium, profiles, distribution functions, etc. (http://w3.pppl.gov/NTCC) to be used for Fusion Simulation Project prototype and tested in TRANSP deployment. network D. McCune

  7. The NTCC Software Standards • Complete standards and all NTCC modules at http://w3.pppl.gov/NTCC... • NTCC project included review process for enforcement of standards. • This was useful but expensive in labor. • Some recommendations were made voluntary: “goals” instead of “standards”. • Due to cost concerns. D. McCune

  8. Full source code. Test driver code. Makefile. Build instructions. Use instructions. Description of all I/O. No imbedded graphics dependencies. Missed goal warnings. Goals: Portability. Precision control. Error handling. No dependence on licensed software. Dynamic memory allocation. Avoid hardwired LUNs. Standard NTCC Modules include: D. McCune

  9. Documentation: Contact Information. Date of last revision. Physics description with “range of validity”. List of dependencies. List of known bugs. Documentation goals: HTML documents. Journal publication. Goals for generated data files: Provide i/o interface. Use standard self-describing portable format (e.g. NetCDF). Establish standards for physical units, grids, and names of items. More NTCC Standards & Goals D. McCune

  10. Standards for NTCC Users • Acknowledge the work of NTCC authors. • Report bugs back to author or module contact person. • Return code improvements to module author or designated support person. • These standards were not enforced. • NTCC had no enforcement mechanism. D. McCune

  11. Summary • NTCC standards & NTCC experience very useful and productive. • NTCC not the last word. • Suggest review and refinement of standards for Fusion Simulation Project. D. McCune

More Related