Search NASA⌕ Search

SEARCH · Search NASA

Results for “code optimization”

Search indexed NASA NTRS and DOE OSTI research on propulsion, heat transfer, battery materials and energy systems. Follow report and document links to the original sources.

Quote a phrase for an exact phrase match. Source license links do not imply unrestricted reuse.

At least 811 records · Page 45

TUNE: Compiler-Directed Automatic Performance Tuning

This project has developed compiler-directed performance tuning technology targeting the Cray XT4 Jaguar system at Oak Ridge, which has multi-core Opteron nodes with SSE-3 SIMD extensions, and the Cray XE6 Hopper system at NERSC. To achieve this goal, we combined compiler technology for model-guided empirical optimization for memory hierarchies with SIMD code generation, which have been developed by the PIs over the past several years. We examined DOE Office of Science applications to identify performance bottlenecks and apply our system to computational kernels that operate on dense arrays. Our goal for this performance-tuning technology has been to yield hand-tuned levels of performance on DOE Office of Science computational kernels, while allowing application programmers to specify their computations at a high level without requiring manual optimization. Overall, we aim to make our technology for SIMD code generation and memory hierarchy optimization a crucial component of high-productivity Petaflops computing through a close collaboration with the scientists in national laboratories.

97 MATHEMATICS AND COMPUTING↗

Gigaflop performance on a CRAY-2: Multitasking a computational fluid dynamics application

The methodology is described for converting a large, long-running applications code that executed on a single processor of a CRAY-2 supercomputer to a version that executed efficiently on multiple processors. Although the conversion of every application is different, a discussion of the types of modification used to achieve gigaflop performance is included to assist others in the parallelization of applications for CRAY computers, especially those that were developed for other computers. An existing application, from the discipline of computational fluid dynamics, that had utilized over 2000 hrs of CPU time on CRAY-2 during the previous year was chosen as a test case to study the effectiveness of multitasking on a CRAY-2. The nature of dominant calculations within the application indicated that a sustained computational rate of 1 billion floating-point operations per second, or 1 gigaflop, might be achieved. The code was first analyzed and modified for optimal performance on a single processor in a batch environment. After optimal performance on a single CPU was achieved, the code was modified to use multiple processors in a dedicated environment. The results of these two efforts were merged into a single code that had a sustained computational rate of over 1 gigaflop on a CRAY-2. Timings and analysis of performance are given for both single- and multiple-processor runs.

Tennille, Geoffrey M.↗

Replacing a 252Cf source with a neutron generator in a shuffler - a conceptual design performed with MCNPX

The {sup 252}Cf shuffler has been widely used in nuclear safeguards and radioactive waste management to assay fissile isotopes, such as {sup 235}U or {sup 239}Pu, present in a variety of samples, ranging from small cans of uranium waste to metal samples weighing several kilograms. Like other non-destructive assay instruments, the shuffler uses an interrogating neutron source to induce fissions in the sample. Although shufflers with {sup 252}Cf sources have been reliably used for several decades, replacing this isotopic source with a neutron generator presents some distinct advantages. Neutron generators can be run in a continuous or pulsed mode, and may be turned off, eliminating the need for shielding and a shuffling mechanism in the shuffler. There is also essentially no dose to personnel during installation, and no reliance on the availability of {sup 252}Cf. Despite these advantages, the more energetic neutrons emitted from the neutron generator (141 MeV for D-T generators) present some challenges for certain material types. For example when the enrichment of a uranium sample is unknown, the fission of {sup 238}U is generally undesirable. Since measuring uranium is one of the main uses of a shuffler, reducing the delayed neutron contribution from {sup 238}U is desirable. Hence, the shuffler hardware must be modified to accommodate a moderator configuration near the source to tailor the interrogating spectrum in a manner which promotes sub-threshold fissions (below 1 MeV) but avoids the over-moderation of the interrogating neutrons so as to avoid self-shielding. In this study, where there are many material and geometry combinations, the Monte Carlo N-Particle eXtended (MCNPX) transport code was used to model, design, and optimize the moderator configuration within the shuffler geometry. The code is then used to evaluate and compare the assay performances of both the modified shuffler and the current {sup 252}Cf shuffler designs for different test samples. The matrix effect and the non-uniformity of the interrogating flux are investigated and quantified in each case. The modified geometry proposed by this study can serve s a guide in retrofitting shufflers that are already in use.

46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND ↗

Optimal control model of technology transition.

This paper discusses the use of optimization software to solve an optimal control problem arising in the modeling of technology transition. We set up a series of increasingly complex models with such features as learning-by-doing, adjustment cost, and capital investment. The models are written in continuous time and then discretized by using different methods to transform them into large-scale nonlinear programs. We use a modeling language and numerical optimization methods to solve the optimization problem. Our results are consistent with findings in the literature and highlight the impact the discretization choice has on the solution and accuracy. The primary goal of this paper is to develop solution methods for use in policy work. To do this, we will need to expand the model to include realistic features such as additional technologies and capital conversion. Our modeling approach allows us to add new technologies with minimal effort. For example, Figure 5 presents the solution to the capital model that includes a third technology, say, nuclear fusion, that is emission free but even more expensive (A{sub 3} > A{sub n}). We observe that industry first transitions to the intermediate technology but eventually adopts the cleanest one. We note that our solutions have few areas of large curvature and are relatively smooth elsewhere. On such smooth segments, we can achieve adequate precision with relatively large periods, which means fewer variables and increased computation speed. But we still need a small step length during the transition period. Adaptive mesh refinement methods have been developed to automatically identify the areas where extra precision is needed. Betts (2001) describes how the computation time can be reduced by a factor of 2.

29 ENERGY PLANNING, POLICY, AND ECONOMY↗

Transition core modeling for extended enrichment, accident tolerant fuel using PARCS/Polaris

Current plans and efforts from reactor operators and vendors to include extended enrichment (EE) and accident-tolerant fuel (ATF) in current reactor fleets motivate the study of these changes in reactor physics analysis. This work uses the US Nuclear Regulatory Commission core simulator PARCS to do the core calculation and SCALE Polaris lattice physics code to generate the required homogenized, few-group constants. The lattice model used is based on the GE-14 10x10 assemblies with UO{sub 2} fuels. Both nominal core and transition core are studied in this work, and both cores use GE-14 10x10 assemblies with UO{sub 2} fuel. The nominal core uses regular UO{sub 2} fuel with a maximum enrichment of 5 wt % and ZIRC-2 cladding. The ATF transition core uses FeCrAl cladding and regular UO{sub 2} fuel, while the EE-ATF transition core uses FeCrAl cladding with UO{sub 2} fuel with 8 max wt % enrichment. The accuracy presented in the colorset models verified the capability of the PARCS/Polaris procedures for the transition core analysis. For the whole core calculation, the ATF and EE-ATF transition core models were made in addition to the nominal core model. The core parameters to study are the core power distribution and power peaking factor, doppler temperature coefficients, and control rod worth at cold zero power and hot full power. Comparing the core parameters of the transition cores with the nominal core in PARCS, the results suggest that there is no unexpected outcome for the implementation of ATF and EE fuels. (authors)

11 NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗

Discrete Adjoint-Based Design Optimization of Unsteady Turbulent Flows on Dynamic Unstructured Grids

An adjoint-based methodology for design optimization of unsteady turbulent flows on dynamic unstructured grids is described. The implementation relies on an existing unsteady three-dimensional unstructured grid solver capable of dynamic mesh simulations and discrete adjoint capabilities previously developed for steady flows. The discrete equations for the primal and adjoint systems are presented for the backward-difference family of time-integration schemes on both static and dynamic grids. The consistency of sensitivity derivatives is established via comparisons with complex-variable computations. The current work is believed to be the first verified implementation of an adjoint-based optimization methodology for the true time-dependent formulation of the Navier-Stokes equations in a practical computational code. Large-scale shape optimizations are demonstrated for turbulent flows over a tiltrotor geometry and a simulated aeroelastic motion of a fighter jet.

Nielsen, Eric J.↗

Design of a blade-stiffened composite panel with a hole

A procedure is developed analytically to design and produce an optimized stiffened panel with a centrally located hole. The PASCO panel-buckling analysis and sizing code is employed with the Engineering Analysis Language (EAL) code for finite-element analysis to optimize the design variables. Important design considerations are stiffener height and ply thicknesses in the skin and the stiffener laminates. The EAL code calculates the maximum strains around the hole boundary, and the resulting constraints are combined with the buckling constraint developed by the PASCO code. Cooptimization of the two codes is effected until convergence on the optimal solution is achieved. Results of the analytical procedure are experimentally verified by applying a compressive end-load to graphite-fiber laminated plates with center holes. The experimental results support the analytical procedure, and it is found that for the same weight, the soft-skin designs tested are found to have the best tolerance characteristics and resistance to failure.

Nagendra, S.↗

GeantV: Results from the Prototype of Concurrent Vector Particle Transport Simulation in HEP

Full detector simulation was among the largest CPU consumers in all CERN experiment software stacks for the first two runs of the Large Hadron Collider. In the early 2010s, it was projected that simulation demands would scale linearly with increasing luminosity, with only partial compensation from increasing computing resources. The extension of fast simulation approaches to cover more use cases that represent a larger fraction of the simulation budget is only part of the solution, because of intrinsic precision limitations. The remainder corresponds to speeding up the simulation software by several factors, which is not achievable by just applying simple optimizations to the current code base. In this context, the GeantV R&D project was launched, aiming to redesign the legacy particle transport code in order to benefit from features of fine-grained parallelism, including vectorization and increased locality of both instruction and data. This paper provides an extensive presentation of the results and achievements of this R&D project, as well as the conclusions and lessons learned from the beta version prototype.

72 PHYSICS OF ELEMENTARY PARTICLES AND FIELDS↗

Large-scale GW calculations on pre-exascale HPC systems

The ab initio GW approach is a rigorous Green’s-function-based framework that can be employed to compute electronic excitation properties of a wide variety of materials such as extended systems, molecules, as well as confined and nanostructured materials with a very satisfactory accuracy. However, GW calculations on complex systems are often hindered by the high computational cost associated with the method. Here, in this study, we demonstrate how to significantly speedup GW calculations with a novel algorithm for the computationally intense kernel based on a non-blocking chunked cyclic communication scheme that minimizes latency in MPI messages, allows for overlapping of communication and computation, and improves cache usage in matrix multiplication operations. The optimized version of the code, implemented in the BerkeleyGW software package, is capable of scaling well to the full Cori computer at NERSC (Cray XC40) and achieves over 11 Peta FLOP/s of sustained performance. We showcase our work by performing large-scale GW calculations of defect structures on silicon, which require simulation cells containing over 1700 atoms, and which can now be efficiently executed in just a few minutes on large pre-exascale high-performance computing systems.

97 MATHEMATICS AND COMPUTING↗

Thermal conductance measurement of windows: An innovative radiative method

Heat transfer through window surfaces is one of the most important contributions to energy losses in buildings. Therefore, great efforts are made to design new window frames and glass assemblies with low thermal conductance. At the same time, it is also necessary to develop accurate measurement techniques in thermal characterisation of the above-mentioned building components. In this paper the authors show an innovative measurement method mainly based on radiative heat transfer (instead of the traditional convective one) which allows window thermal conductance measurements with corresponding uncertainty budget evaluation. The authors used the 3D finite volume software FLUENT {sup registered} to design the experimental apparatus. The numerical results have been employed for the system optimisation and metrological characterisation. (author)

32 ENERGY CONSERVATION, CONSUMPTION, AND UTILIZATI↗

The General Atomic and Molecular Electronic Structure System (GAMESS): Novel Methods on Novel Architectures

The primary focus of GAMESS over the last 5 years has been the development of new high-performance codes that are able to take effective and efficient advantage of the most advanced computer architectures, both CPU and accelerators. These efforts include employing density fitting and fragmentation methods to reduce the high scaling of well-correlated (e.g., coupled-cluster) methods as well as developing novel codes that can take optimal advantage of graphical processing units and other modern accelerators. Because accurate wave functions can be very complex, an important new functionality in GAMESS is the quasi-atomic orbital analysis, an unbiased approach to the understanding of covalent bonds embedded in the wave function. Finally, best practices for the maintenance and distribution of GAMESS are also discussed.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

GAtor: A First-Principles Genetic Algorithm for Molecular Crystal Structure Prediction

We present the implementation of GAtor, a massively parallel, first-principles genetic algorithm (GA) for molecular crystal structure prediction. GAtor is written in Python and currently interfaces with the FHI-aims code to perform local optimizations and energy evaluations using dispersion-inclusive density functional theory (DFT). GAtor offers a variety of fitness evaluation, selection, crossover, and mutation schemes. Breeding operators designed specifically for molecular crystals provide a balance between exploration and exploitation. Evolutionary niching is implemented in GAtor by using machine learning to cluster the dynamically updated population by structural similarity and then employing a cluster-based fitness function. Evolutionary niching promotes uniform sampling of the potential energy surface by evolving several subpopulations, which helps overcome initial pool biases and selection biases (genetic drift). The various settings offered by GAtor increase the likelihood of locating numerous low-energy minima, including those located in disconnected, hard to reach regions of the potential energy landscape. The best structures generated are re-relaxed and re ranked using a hierarchy of increasingly accurate DFT functionals and dispersion methods. GAtor is applied to a chemically diverse set of four past blind test targets, characterized by different types of intermolecular interactions. Furthermore, the experimentally observed structures and other low-energy structures are found for all four targets. In particular, for Target II, 5-cyano-3-hydroxythiophene, the top ranked putative crystal structure is a Z' = 2 structure with PT symmetry and a scaffold packing motif, which has not been reported previously.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

Ab initio modeling of the motional Stark effect on MAST

A multichord motional Stark effect (MSE) system has recently been built on the MAST tokamak. In MAST the {pi} and {sigma} lines of the MSE spectrum overlap due to the low magnetic field typical for present day spherical tokamaks. Also, the field curvature results in a large change in the pitch angle over the observation volume. The measured polarization angle does not relate to one local pitch angle but to an integration over all pitch angles in the observation volume. The velocity distribution of the neutral beam further complicates the measurement. To take into account volume effects and velocity distribution, an ab initio code was written that simulates the MSE spectrum on MAST. The code is modular and can easily be adjusted for other tokamaks. The code returns the intensity, polarized fraction, and polarization angle as a function of wavelength. Results of the code are presented, showing the effect on depolarization and wavelength dependence of the polarization angle. The code is used to optimize the design and calibration of the MSE diagnostic.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Seeded FEL Amplifier-Buncher in the 0.5-9 THz for Advanced Accelerators

Longitudinal modulation of a relativistic electron beam in the THz range is important for advanced laser- or beam-driven plasma accelerators operating in the 10{sup 16}-10{sup 18} cm{sup -3} plasma density range. We describe a single-pass FEL amplifier-buncher which is under construction at the UCLA Neptune laboratory. Microbunching on the 0.5-3 THz frequency scale is achieved during the process of a resonant FEL interaction between an electron beam and a THz seed pulse. A narrow-band, low-power THz seed source based on the frequency mixing of CO{sub 2} laser lines in a GaAs nonlinear crystal is built and fully characterized. The THz radiation pulse generated by this source will be guided through a hollow waveguide inside the planar FEL undulator driven by a regular photoinjector. By using a time-dependent FEL code GENESIS 1.3, we optimized the undulator parameters and analyzed the dynamics of the modulated electron beam. At present, the THz FEL microbuncher is being built and we update the status of the project.

43 PARTICLE ACCELERATORS↗

Dielectric magnifying of plasma blocks by nonlinear force acceleration with delayed electron heating

Specific studies were performed in order to increase the thickness of laser generated directed space charge quasineutral plasma blocks with anomalously high ion current densities above 10{sup 11} A/cm{sup 2}. This may lead to an alternative scheme of laser driven fusion with the irradiation of petawatt-picosecond laser pulses. Initial electron densities were used with Rayleigh profiles, because these are unique for inhomogeneous plasmas for undistorted acceleration at very low reflectivity until thermal absorption processes disturb these ideal conditions. Numerical hydrodynamic results based on a genuine two-fluid code are presented to optimize the block generation for possible fast ignition and details show the delay of thermal exchange between the ion and electron plasma fluid.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Dynamic procedure for filtered gyrokinetic simulations

Large eddy simulations (LES) of gyrokinetic plasma turbulence are investigated as interesting candidates to decrease the computational cost. A dynamic procedure is implemented in the gene code, allowing for dynamic optimization of the free parameters of the LES models (setting the amplitudes of dissipative terms). Employing such LES methods, one recovers the free energy and heat flux spectra obtained from highly resolved direct numerical simulations. Systematic comparisons are performed for different values of the temperature gradient and magnetic shear, parameters which are of prime importance in ion temperature gradient driven turbulence. Moreover, the degree of anisotropy of the problem, which can vary with parameters, can be adapted dynamically by the method that shows gyrokinetic large eddy simulation to be a serious candidate to reduce numerical cost of gyrokinetic solvers.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Effects of electron cyclotron current drive on magnetic islands in tokamak plasmas

The effects of the electron cyclotron current drive on magnetic islands in tokamak plasmas are studied using gyrokinetic simulations. By investigating the effects of different characteristics of the driven current, such as current density distribution and deposition location, the factors which can determine the suppression effect on the resistive tearing modes have been explored. It is found that an electron cyclotron wave (ECW) driven current with a larger peak value and more focused deposition region has a better stabilization effect. When the ECW-driven current is closer to the rational surface, it has a better stabilizing effect. These gyrokinetic toroidal code (GTC) linear simulations in the electron fluid limit of the tearing modes in the cylindrical geometry agree well with the magnetohydrodynamic codes. In conclusion, the optimal timing control of the current deposition on resistive tearing modes is demonstrated.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Laser-heated capillary discharge waveguides as tunable structures for laser-plasma acceleration

Laser-heated capillary discharge waveguides are novel, low plasma density guiding structures able to guide intense laser pulses over many diffraction lengths and have recently enabled the acceleration of electrons to 7.8 GeV by using a laser-plasma accelerator (LPA). These devices represent an improvement over conventional capillary discharge waveguides, as the channel matched spot size and plasma density can be tuned independently of the capillary radius. This has allowed the guiding of petawatt-scale pulses focused to small spot sizes within large diameter capillaries, preventing laser damage of the capillary structure. High performance channel-guided LPAs require control of matched spot size and density, which experiments and simulations reported here show can be tuned over a wide range via initial discharge and laser parameters. In this paper, measurements of the matched spot size and plasma density in laser-heated capillary discharges are presented, which are found to be in excellent agreement with simulations performed using the MHD code MARPLE. Strategies for optimizing accelerator performance are identified based on these results.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗