SuperMUC RZ-Antrag 2022 - Kinetic Turbulence
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 96 KiB |
@@ -0,0 +1 @@
|
||||
30 mtime=1607013834.400120205
|
||||
@@ -0,0 +1 @@
|
||||
30 mtime=1607013834.401891132
|
||||
@@ -0,0 +1 @@
|
||||
29 mtime=1607013834.40730253
|
||||
@@ -0,0 +1 @@
|
||||
30 mtime=1607013834.398207731
|
||||
@@ -0,0 +1 @@
|
||||
30 mtime=1607013834.405078134
|
||||
@@ -0,0 +1 @@
|
||||
29 mtime=1607013834.40360507
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 63 KiB |
File diff suppressed because one or more lines are too long
Binary file not shown.
|
After Width: | Height: | Size: 46 KiB |
Binary file not shown.
@@ -0,0 +1,20 @@
|
||||
# Create scaling plot
|
||||
|
||||
# Data to plot
|
||||
x_axis <- 2^seq(1:13)
|
||||
ideal <- 2^seq(1:13)
|
||||
non_ideal <- c(2,4,8,16,32,64,2^7-0.1*(2^7),2^8-0.2*(2^8),2^9-0.3*(2^9),2^10-0.4*(2^10),2^11-0.5*(2^11),2^12-0.6*(2^12),2^13-0.7*(2^13))
|
||||
|
||||
|
||||
scale_df <- data.frame(x_axis, ideal, non_ideal)
|
||||
|
||||
legend_format <- scale_colour_manual("", values=c("black","red"))
|
||||
line1 <- geom_line(aes(y = ideal, colour = "ideal"))
|
||||
line2 <- geom_line(aes(y = non_ideal, colour = "speedup"))
|
||||
x_label <- scale_x_continuous("Number of cores", trans=log2_trans())
|
||||
y_label <- scale_y_continuous("Speedup", trans=log2_trans())
|
||||
legend_specifics <- scale_colour_manual("", values=c("black","red"))
|
||||
|
||||
scaling_plot <- function() {
|
||||
ggplot(scale_df, aes(x_axis)) + line1 + line2 + x_label + y_label + legend_specifics + coord_fixed()
|
||||
}
|
||||
@@ -0,0 +1,581 @@
|
||||
\documentclass [a4paper, 11pt]{article}
|
||||
|
||||
\usepackage{amssymb}
|
||||
\usepackage{epsfig}
|
||||
\usepackage{graphicx}
|
||||
\usepackage{times}
|
||||
\usepackage{float}
|
||||
\usepackage[usenames,dvipsnames]{color}
|
||||
\usepackage{scrlayer-scrpage}
|
||||
\usepackage{setspace}
|
||||
|
||||
\pagestyle{scrheadings}
|
||||
\clearpairofpagestyles
|
||||
|
||||
\textwidth 16 cm
|
||||
\textheight 23 cm
|
||||
\setlength{\oddsidemargin}{0.1 cm}
|
||||
\setlength{\topmargin}{1 cm}
|
||||
\setlength{\headheight}{0cm}
|
||||
\setlength{\headsep}{0cm}
|
||||
\setlength{\footskip}{0.75cm}
|
||||
\setlength{\parindent}{0cm}
|
||||
\setlength{\oddsidemargin}{0.1 cm}
|
||||
\setlength{\itemsep}{10pt}
|
||||
\bibliographystyle{gcs}
|
||||
\cfoot{\pagemark}
|
||||
\ofoot{\tiny V1.8-2020DEC02}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\includegraphics[scale=0.45]{Figures/GCS-hlrs-fzj-lrz.jpg}\\
|
||||
\end{center}
|
||||
\end{figure}
|
||||
|
||||
\begin{center}
|
||||
{\LARGE \bf Project Proposal for Tier 0/Tier 1 HPC Access} \\
|
||||
|
||||
\bigskip
|
||||
\bigskip
|
||||
\bigskip
|
||||
\end{center}
|
||||
\textbf{Period}\\
|
||||
\phantom{MM}\textit{11/2022 -- 10/2024)}
|
||||
|
||||
\bigskip
|
||||
\textbf{Project title}\\
|
||||
\phantom{MM}\textit{Resonant wave-particle-interaction in kinetic plasma simulations}
|
||||
|
||||
\bigskip
|
||||
\textbf{Type of project}\\
|
||||
\phantom{MM} \textit{Either ``new project'' or ``project extension''}
|
||||
|
||||
\bigskip
|
||||
\textbf{HPC system(s) and corresponding centre(s)}\\
|
||||
\phantom{MM} \textit{SuperMUC-NG, LRZ}
|
||||
|
||||
\bigskip
|
||||
\textbf{Project ID or project acronym}\\
|
||||
\phantom{MM} \textit{n/a}
|
||||
|
||||
\bigskip
|
||||
\textbf{Principal investigator}\\
|
||||
\phantom{MM} \textit{Felix Spanier\\Institut f\"ur Theoretische Astrophysik, Universität Heidelberg, Albert-Ueberle-Str. 2, 69120 Heidelberg, Germany\\felix.spanier[at]uni-heidelberg.de}
|
||||
|
||||
\bigskip
|
||||
\textbf{Project contributor(s)}\\
|
||||
\phantom{MM} \textit{Name, affiliation, contact data}
|
||||
|
||||
\vfill
|
||||
\begin{center}
|
||||
\textbf{The length of the project description is restricted to 18 pages (font 11 pt)!}
|
||||
\end{center}
|
||||
|
||||
\newpage
|
||||
|
||||
\vfill
|
||||
\tableofcontents
|
||||
\vfill
|
||||
|
||||
\newpage
|
||||
|
||||
\section{Introduction}
|
||||
\rule{\textwidth}{0.4pt}
|
||||
|
||||
|
||||
|
||||
A major field in solar physics is the analysis of the solar wind and high energetic solar particles hitting the earth. Measurements of the velocity distribution of particles in the solar wind show a thermal spectrum with an additional non-thermal component in the high energy regime. The energy distribution in this regime can be described by a power law and particle velocities become relativistic. Since the solar wind plasma is more or less collisionless on scales of 1 AU, the transport of energetic electrons and protons is governed by the interaction with magnetic irregularities, i.e. plasma waves, in the solar wind. The general question is how energetic particles are transported from the Sun to observers at Earth's orbit. In order to answer this question it is necessary to understand the nature of turbulence in the solar wind in first place.
|
||||
|
||||
The solar wind is a strongly
|
||||
turbulent medium with high \emph{magnetic Reynolds numbers} of
|
||||
$10^{14}$\cite{borovsky_2003}. Turbulence manifests
|
||||
itself in a spectrum of plasma waves at various length scales and frequencies.
|
||||
The energy distribution as a function of the frequency follows a
|
||||
characteristic power law. The current understanding of the turbulent
|
||||
processes is such that energy is injected at large scales (i.e.~small wave
|
||||
numbers and frequencies) and then cascades to smaller spatial scales.
|
||||
|
||||
The energy spectrum can be divided into several regimes, which each may span
|
||||
several orders of magnitude in wave number or frequency.
|
||||
At largest scales the \emph{injection range} is found, which then transitions
|
||||
into the \emph{inertial range}. The inertial range can be described by
|
||||
magnetohydrodynamic (MHD) theory and turbulence is dominated by the
|
||||
interaction of Alfv\'en waves. At smaller scales kinetic effects of the
|
||||
particles come into play.
|
||||
|
||||
Power law distributions of the fluctuating magnetic energy are expected in
|
||||
the injection, inertial, and dissipation range of the spectrum. However,
|
||||
the spectral indices may differ among the individual regimes. The work of
|
||||
Goldreich and Sridhar \cite{sridhar_1994,goldreich_1995}
|
||||
presents a detailed model of the turbulent energy cascade in the inertial
|
||||
regime. Their model predicts a spectral index of $-5/3$, which actually seems
|
||||
to be realized in the solar wind \cite{2010PhRvL.105m1101S}.
|
||||
|
||||
|
||||
Kinetic turbulence in the dissipation range is an active field of research
|
||||
\cite{howes_2015_b}. Especially the composition of the wave spectrum is
|
||||
subject to discussion, because a transition from non-dispersive Alfv\'en
|
||||
waves to dispersive wave modes is expected. Possible candidates for the waves
|
||||
in the dissipation range are so-called \emph{kinetic Alfv\'en} and \emph{whistler waves} \cite{gary_2009}.
|
||||
|
||||
The transport of energetic protons is well-described by models of Alfv\'enic
|
||||
turbulence, since the protons mainly interact with these waves at low
|
||||
frequencies. The theoretical framework of quasi-linear theory (QLT) can be
|
||||
used to describe particle transport by a series of resonant interactions with
|
||||
the magnetic fields of Alfv\'en waves, which leads to scattering of the
|
||||
particles \cite{jokipii_1966,lee_1974,schlickeiser_1989}. Energetic electrons and positrons, however, interact with high-frequency waves in the dispersive regime.
|
||||
|
||||
Dispersive waves are more difficult to handle in (analytical) theory.
|
||||
Nonetheless, QLT can also yield predictions for particle transport in a
|
||||
medium containing dispersive waves\cite{steinacker_1992,vainio_2000}. The
|
||||
introduction of dispersive waves can even solve some of the problems which
|
||||
are encountered if a purely Alfv\'enic spectrum of waves is assumed
|
||||
\cite{achatz_1993}. Still, the model remains an approximation and computer
|
||||
simulations are needed to clarify some of the details which are not included in
|
||||
the analytical theory. Different kinds of simulations are used to study
|
||||
different physical regimes and processes, from the acceleration of particles
|
||||
\cite{ng_1994,vainio_2001} to the transport of energetic particles,
|
||||
considering both non-dispersive \cite{lange_2013} and dispersive waves
|
||||
\cite{gary_2003,camporeale_2015,spanier_2022}.
|
||||
|
||||
The ultimate goal of this project is to model the transport of energetic electrons and positrons in realistic dispersive turbulence.
|
||||
|
||||
|
||||
|
||||
%\textit{Give a short outline of the scientific background of your research, including references.}\\
|
||||
%
|
||||
%\textit{(about 0.5 to 1 page)}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
\section{Preliminary Work}
|
||||
\rule{\textwidth}{0.4pt}
|
||||
|
||||
|
||||
Our group has studied various solar phenomena using different approaches of
|
||||
numerical simulations. \cite{lange2012} describe the use of our MHD code
|
||||
Gismo to study the amplification of wave modes in a magnetised, turbulent
|
||||
plasma. The recent version of Gismo also allows the simulation of test
|
||||
particles (so called hybrid MHD code) and thus expands its field of
|
||||
application. With Gismo resonant scattering of kinetic test particles on Alfv
|
||||
\'en waves in a turbulent, magnetised background plasma has been modelled (
|
||||
see \cite{lange2013}). The outcome of these MHD simulations was found to be in agreement
|
||||
with quasi-linear theory, although the simulation results reach beyond the predictions
|
||||
of the analytic theory.
|
||||
|
||||
As described in the introduction the MHD approach is limited to low-frequency waves and in turn does not describe the transport of electrons correctly. We have therefore switched from simulations using the GISMO code to the ACRONYM PiC code. The first step was to initialize dispersive plasma waves with different polarizations in the code and then add test-particles to the code. A first paper published on this topic
|
||||
\cite{schreiner_2014_a} analyzed the interaction of single waves with test-particles. Analytical solutions exist for this problem. An LRZ report \cite{schreiner_2016} was published on this which was generated from the project \emph{pr85li}.
|
||||
|
||||
The limitations of the QLT description of scattering with dispersive waves have been published in a subsequent paper\cite{schreiner_2017_b}. Especially for strong waves and interaction with multiple waves, the analytic description is limited.
|
||||
|
||||
The major part of the preliminary work for this project has been developed within the project \emph{pr84ti} and have been published in \cite{spanier_2022}. Here the general idea is to drive turbulence in a similar fashion as in \cite{lange2013}, let a cascade evolve and follow test-particles in that turbulence. During the course of the project the first difficulty was to find parameter sets where turbulence simulations are feasible.
|
||||
|
||||
\begin{figure}[htb]
|
||||
\centering
|
||||
\includegraphics[width=0.7\textwidth]{bilder/turbulence_production_2d_spectrum_reduced.pdf}
|
||||
\caption{
|
||||
Magnetic field energy distribution $E_B (k_\perp)$ over the perpendicular wave number $k_\perp$ for simulations S1 (panel a) and S2 (panel b).
|
||||
The data is obtained at four different points in time in the two simulations, as indicated in the key.
|
||||
At the earliest time steps shown the spectra reach their steady states.
|
||||
Later in the simulations, the shapes of the spectra hardly change.
|
||||
Power law fits to the data in panels a) and b) are indicated by the black lines at times $t \, |\Omega_\mathrm{e}| = \{1090.1, \, 547.1\}$, respectively.
|
||||
The spectral indices are denoted by the numbers in the plot. (From \cite{spanier_2022})
|
||||
}
|
||||
\label{fig:turbulence_production_2d}
|
||||
\end{figure}
|
||||
|
||||
One of the main findings is presented in Fig. \ref{fig:turbulence_production_2d}: All simulations show an anisotropic cascade (energy is mainly transported perpendicular to the magnetic field). The spectrum in perpendicular direction however depends strongly on the plasma beta. One of the main reasons to pursue further simulations can also be seen here. At high $k$ the spectrum is dominated by numerical noise coming from a too low particle number. The beta dependence, the mechanism that leads to dissipation here and the spectrum at high $k$ are not yet fully understood.
|
||||
|
||||
|
||||
Another important preliminary work is a new method to evaluate transport parameters developed in \cite{ivascenko_2016}. Instead of following tracks of test-particles the evolution of specifically designed test-particle distributions is evaluated. The main advantage of this method is that transport even in strong turbulence can be analyzed.
|
||||
|
||||
|
||||
%
|
||||
%\textit{Provide a brief summary of your preliminary work in connection with the proposed project, including references.}\\
|
||||
%
|
||||
%\textit{(about 1 to 2 pages)}
|
||||
%
|
||||
%
|
||||
%
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
\section{Description of the Project}
|
||||
\rule{\textwidth}{0.4pt}
|
||||
\subsection{Project Details}
|
||||
|
||||
The focus of this project is on the interaction of electrons and positrons with heliospheric turbulence.
|
||||
|
||||
|
||||
\textit{Describe your research project in detail, structured in sub-projects, if applicable. Include discussion of the scientific questions that you are planning to address and the overall scientific goals of the project. It is important that you describe the innovative aspects, impact and topicality of the proposal.}
|
||||
\begin{itshape}
|
||||
\begin{itemize}\setlength{\itemsep}{-2pt}
|
||||
\item Scientific questions you want to address
|
||||
\item Scientific objectives
|
||||
\item Computational objectives
|
||||
\item Approach and expected outcome
|
||||
\item Expected impact on the research area
|
||||
\item Scientific and technical innovation potential, impact and topicality
|
||||
\item Progress beyond the state-of-the-art
|
||||
\end{itemize}
|
||||
\end{itshape}
|
||||
|
||||
%%2048^2 mehr ppc
|
||||
%%mehr/weniger Turb
|
||||
%%e+/e- Transport
|
||||
|
||||
|
||||
\subsubsection{Sub-project 1}
|
||||
\subsubsection{Sub-project 2}
|
||||
\textit{...}\\
|
||||
|
||||
\textit{(1 to 2 pages per sub-project)}
|
||||
\subsection{Review Processes}
|
||||
\textit{Has the underlying research project already successfully undergone a scientific review process? Is the project funded by public money? If yes, please also provide information about the funding source (e.g. State, BMWi, BMBF, DFG, EU, $\dots$) and the funding time frame. If possible, please provide the corresponding review report and upload it as supplemental material.}
|
||||
|
||||
|
||||
\section{Numerical Methods and Algorithms}
|
||||
\label{chap:numerical}
|
||||
|
||||
|
||||
The behavior of (collisionless) plasmas can be modeled by the use of the Vlasov equation -- a partial differential equation, which describes the evolution of a six-dimensional phase space.
|
||||
The Vlasov equation is coupled to Maxwell's equations, which describe the propagation and interaction of electromagnetic fields and currents.
|
||||
An exact solution to this non-linearly coupled system of equations exists only for simple cases, but various approximations are readily at hand.
|
||||
\\
|
||||
One of the numerical approaches to this problem is the particle-in-cell (PiC) method e.g. \cite{hockney_1988}, which uses phase space samples -- so-called macro particles -- to represent charged particles in the plasma.
|
||||
These macro particles are accelerated through electromagnetic fields, which they themselves create.
|
||||
Currents calculated from the motion of macro particles are introduced as a source term for Maxwell's equations, which are solved on a grid storing fields, currents and charge densities.
|
||||
The PiC method allows for self-consistent simulations of plasmas with -- in principle -- arbitrary initial and boundary conditions and is especially suitable for modeling collisionless space plasmas.
|
||||
\\
|
||||
\\
|
||||
For the proposed project the \textit{ACRONYM} PiC code \cite{kilian_2011} will be used.
|
||||
|
||||
\subsection{ACRONYM PiC Code}
|
||||
\label{sec:acronym}
|
||||
|
||||
\textit{ACRONYM} is an explicit, electromagnetic, fully relativistic PiC code, which has been developed by members of our working group.
|
||||
It is capable of simulating kinetic, collisionless, magnetized plasmas self-consistently in up to three spatial dimensions.
|
||||
\\
|
||||
The overall design of the code is based on the concept of maintaining second order accuracy in both time and space and computing time evolution explicitly.
|
||||
To probe and minimize the effect of the discrete grid on plasma wave evolution, the field solver can be tuned to achieve optimal results \cite{vay_2011}.
|
||||
Different boundary conditions -- periodic, conductive walls, absorbing walls -- can be selected according to the physical problem to be modeled.
|
||||
Furthermore, the field solver can be switched to electrostatic mode or Darwin approximation \cite{fang_2009}.
|
||||
|
||||
\subsection{Packages, Libraries and Compiler}
|
||||
\label{sec:packs_libs}
|
||||
|
||||
The \textit{ACRONYM} code employs the blitz++, fftw3 and HDF5 libraries.
|
||||
For field output HDF5 is used, for particle output either HDF5 or raw MPI-I/O can be selected.
|
||||
\\
|
||||
The code compiles on the Intel Compiler, GCC, clang/LLVM, SunCC and the compiler used on Cray systems.
|
||||
For production runs -- also on SuperMUC -- the Intel Compiler \mbox{(10.1 - 14.0)} or GCC \mbox{(4.4 - 4.9)} are used.
|
||||
|
||||
\subsection{Main Algorithms}
|
||||
\label{sec:algorithms}
|
||||
|
||||
PiC codes distinguish between two basic kinds of entities: quantities on the grid (fields and currents) and (macro) particles.
|
||||
In the \textit{ACRONYM} code each particle is treated as an individual object with certain properties, such as mass, charge, velocity and position.
|
||||
These properties are stored in arrays of individual particle objects.
|
||||
\\
|
||||
Field properties are deposited on discrete grid points, using the Yee scheme \cite{yee_1966}.
|
||||
This allows for a simple and fast calculation of the curl of electromagnetic fields, which is essential for computing the field evolution efficiently.
|
||||
The method is second order accurate and furthermore holds the divergence of the magnetic field $\nabla \cdot \vec{B}$ close to zero (within floating point accuracy), satisfying the physical constraint $\nabla \cdot \vec{B} = 0$.
|
||||
\\
|
||||
Time evolution is done in four consecutive subroutines per time step.
|
||||
\\
|
||||
Starting with given electromagnetic fields at the discrete grid points, the fields are interpolated to the positions of the particles.
|
||||
Following the overall concept of the code, a second order correct scheme with a triangular shaped cloud (TSC) form factor for particles is used see \cite{hockney_1988}.
|
||||
Different form factors are also available.
|
||||
\\
|
||||
In the next step the particles are moved.
|
||||
The Lorentz force acting on each particle is calculated from the interpolated fields.
|
||||
Then the particles' velocities and positions are updated, using the Boris push \cite{boris_1970}, as explained in \cite{penn_2003}.
|
||||
Again, the Boris push is a second order scheme which uses a leap-frogged update in time and which also yields a good preservation of total energy. The method of \cite{2008PhPl...15e6701V} is also available.
|
||||
\\
|
||||
From the particles' movement through the grid the currents are calculated and deposited on their respective grid points using the method of \cite{esirkepov_2001}. Also the method of \cite{2003CoPhC.156...73U} is available.
|
||||
The TSC form factor is utilized again for self-consistency.
|
||||
By doing so, numerical momentum dissipation and unphysical self-forces are prevented.
|
||||
\\
|
||||
The last step updates the electromagnetic fields, using a second order leap-frog scheme for the computation of Maxwell's equations.
|
||||
Only components of the current and the electric and magnetic fields, which are stored on the Yee lattice, are used in this step.
|
||||
|
||||
\subsection{Parallelization}
|
||||
\label{sec:parallelization}
|
||||
|
||||
%The \textit{ACRONYM} code is parallelized using the message passing interface (MPI) exclusively without internal threading.
|
||||
%No hybrid parallelization using MPI and OpenMP is being performed, as it would be of no benefit for this kind of code.
|
||||
The \textit{ACRONYM} code is parallelized using the message passing interface (MPI) exclusively without internal threading and without hybrid parallelization, as it would be of no benefit for this kind of code.
|
||||
On local computing clusters the OpenMPI implementation is employed, while on SuperMUC the library provided by IBM is utilized.
|
||||
\\
|
||||
Parallelization of the code is achieved by splitting up the simulation box and distributing equally sized parts of the total volume to single CPUs (also particle number based load balancing is available).
|
||||
Each CPU computes one time step for all particles and fields in its domain.
|
||||
Between time steps, MPI communication has to be carried out only among neighboring CPUs, which keeps communication on a minimal level.
|
||||
The main part of the communication process is the exchange of particles which have crossed the border of their domain and enter another one.
|
||||
Output is written fully in parallel, using the same HDF5 file for fields and currents throughout the whole simulation.
|
||||
Particle output is done via MPI-I/O (or HDF5) with one file per output time step. On Cray systems an output of 30 GB/s can be reached, even on I/O limited systems 3 GB/s can be reached. Additionally output of online diagnostics (time average, spatial average, moments of the distribution function etc.) is possible.
|
||||
|
||||
|
||||
|
||||
\section{Post-processing}
|
||||
|
||||
In order to produce a meaningful comparison of the simulation results with astronomical observables, different approaches to post-processing of the data are used.
|
||||
|
||||
\subsection{Fourier based methods}
|
||||
|
||||
\subsection{Analysis of magnetic field and densities}
|
||||
|
||||
\subsection{Analysis of particle distributions}
|
||||
|
||||
|
||||
|
||||
%\textit{(1 to 2 pages)}
|
||||
|
||||
|
||||
\bigskip
|
||||
|
||||
\section{Computer Resources}
|
||||
\rule{\textwidth}{0.4pt}
|
||||
\subsection{Code performance and workflow}
|
||||
\textit{Describe \textbf{all} codes, packages or libraries that you need to undertake the project, and how these will enable the research to be achieved. Include for \textbf{\underline{each} code to be used} information about}
|
||||
\begin{itshape}
|
||||
\begin{itemize}\setlength{\itemsep}{-2pt}
|
||||
\item Which code will be used
|
||||
\item On which hardware the code will be used (CPUs, GPUs, etc. or combinations, if applicable)
|
||||
\item How the code is parallelized (pure MPI, mixed MPI/OpenMP, Pthreads, CUDA, etc.)
|
||||
\item The amount of memory necessary (per core, per node and in total)
|
||||
\item Scaling plots \textbf{and} tables with speedup results for runs with typical, parameter sets, problem size, and I/O \textbf{of the planned project} (no general benchmark results are accepted). Scaling data should start with the lowest number of cores possible
|
||||
\item Describe architecture, machine/system name, and problem size used for the scaling plots
|
||||
\item Current job profile (independent jobs, chained jobs, workflow, etc.)
|
||||
\item Describe memory requirements, requirements concerning the High Performance network and I/O requirements
|
||||
|
||||
\end{itemize}
|
||||
\end{itshape}
|
||||
|
||||
{\it \textbf{Important:} please consider the corresponding technical guidelines and requirements (e.g. required minimal code scalability, memory restrictions, etc.) of the chosen machine(s)!}\\
|
||||
|
||||
\textit{If you use third-party codes, include}
|
||||
\begin{itshape}
|
||||
\begin{itemize}\setlength{\itemsep}{-2pt}
|
||||
\item Name, version, licensing model and conditions
|
||||
\item Web page and other references
|
||||
\item Contact information of the code developers.
|
||||
\item Your relationship to the code (developer, collaborator to main developers, end user, etc.)
|
||||
\end{itemize}
|
||||
\end{itshape}
|
||||
|
||||
|
||||
|
||||
|
||||
\subsection{Scaling}
|
||||
\label{sec:scaling}
|
||||
|
||||
\begin{figure}[h!]
|
||||
\centering
|
||||
\caption{Weak scaling of the \textit{ACRONYM} code on various supercomputers. See text for description.}
|
||||
\includegraphics[width=0.65\linewidth]{bilder/extreme_scaling_workshop}
|
||||
% \caption{Weak scaling of the \textit{ACRONYM} code on SuperMUC. With output deselected, the code scales almost linearly up to 131072 cores. A performance increase by a factor of two can be achieved when using GCC instead of the Intel Compiler. Output becomes a bottleneck above 4096 CPUs, but, however, actual production runs show that typical simulations are not as heavy on output as the scaling runs.}
|
||||
\label{fig:scaling}
|
||||
\end{figure}
|
||||
The \textit{ACRONYM} code has been continuously tested and used on the SuperMUC system during the past few years.
|
||||
Starting with a test account (\textit{pr45sa}, ``Testing ACRONYM on SuperMIG'') and continuing with a small-scale project (\textit{pr85li}, ``Resonant wave-particle-interaction in kinetic plasma simulations'' see \cite{schreiner_2014_b}) the performance of the code has been monitored and improved.
|
||||
In its current state, the code scales almost linearly with the number of processes (which is equivalent to the number of cores), as can be seen in figure \ref{fig:scaling}.
|
||||
For weak scaling we use a standard setup, consisting of domains with \mbox{$48 \times 48 \times 32$} cells per CPU with ten particles per cell.
|
||||
Scaling simulations run for 100 time steps and can be performed either without or with output (full field and particle output at the beginning and the end of the run).
|
||||
\\
|
||||
Recent tests show that \textit{ACRONYM} scales almost linearly up to 131072 cores when output is deselected.
|
||||
A performance increase by a factor of two can be achieved if GCC is used instead of the Intel Compiler (see fig. \ref{fig:scaling}).
|
||||
The only true bottleneck is the performance with parallel output, which starts to slow down the code when more than 32768 CPUs are employed.
|
||||
However, actual production runs are usually not as heavy on output as the scaling runs, as is depicted by a sample of typical simulations with different problem sizes.
|
||||
Further bottlenecks are not present \cite{kempf_2014}\footnote{see also p. 11-21 in supporting material}.
|
||||
\textit{(1 to 2 pages)}
|
||||
\newpage
|
||||
\subsection{Justification of resources requested}
|
||||
\textit{Outline the amount of resources you request for the current granting period, structured in sub-projects, if applicable.}\\
|
||||
|
||||
\textit{\textbf{If you are requesting different types of resources (e.g. CPUs, GPUs, etc.), please provide the following information and table for \underline{each} type of resource \underline{separately} and use the unit core hours (core-h). For GPUs, please specify the resources in terms of core hours of the corresponding host CPUs. If you request resources on several HPC systems or modules, please justify why this is necessary for your project.}}
|
||||
\begin{itshape}
|
||||
\begin{itemize}\setlength{\itemsep}{-2pt}
|
||||
\item Type of run (e.g. pre- /post-processing run, production run, visualization, etc.)
|
||||
\item Problem size for planned runs (e.g. \# particles or the like)
|
||||
\item Number of runs planned
|
||||
\item Number of steps per run
|
||||
\item Wall-clock time per run
|
||||
\item Number of cores used per run (for GPUs: number of cores of the host CPUs)
|
||||
\item Total amount of requested computing time in core-h
|
||||
\item Resources for data analytics, if applicable
|
||||
\end{itemize}
|
||||
\end{itshape}
|
||||
|
||||
\begin{table}[H]
|
||||
\caption{\label{tab_CPU_resources}The following CPU resources are requested}
|
||||
\begin{center}
|
||||
\setlength{\tabcolsep}{4pt}
|
||||
\renewcommand{\arraystretch}{1.2}
|
||||
\begin{tabular}{llcccccc} \hline\hline
|
||||
Sub-project &
|
||||
Type &
|
||||
Problem &
|
||||
\# runs &
|
||||
\# steps/ &
|
||||
Wall time/ &
|
||||
\# cores/ &
|
||||
Total \\
|
||||
&
|
||||
of run &
|
||||
size &
|
||||
&
|
||||
run &
|
||||
step [hours] &
|
||||
run &
|
||||
[core-h] \\
|
||||
\hline\hline
|
||||
Sub-proj. 1 &
|
||||
Preproc. &
|
||||
P1 &
|
||||
R1 &
|
||||
S1 &
|
||||
W1 &
|
||||
C1 &
|
||||
R1$\cdot$S1$\cdot$W1$\cdot$C1 \\
|
||||
~ &
|
||||
Type 1 &
|
||||
P2 &
|
||||
R2 &
|
||||
S2 &
|
||||
W2 &
|
||||
C2 &
|
||||
R2$\cdot$S2$\cdot$W2$\cdot$C2 \\
|
||||
$\cdots$ &\multicolumn{7}{c}{$\cdots$}\\
|
||||
\hline\hline
|
||||
TOTAL & & & & & & & sum of above\\
|
||||
\end{tabular}
|
||||
\end{center}
|
||||
\end{table}
|
||||
|
||||
\begin{table}[H]
|
||||
\caption{\label{tab_GPU_resources}The following GPU resources are requested}
|
||||
\begin{center}
|
||||
\setlength{\tabcolsep}{4pt}
|
||||
\renewcommand{\arraystretch}{1.2}
|
||||
\begin{tabular}{llcccccc} \hline\hline
|
||||
Sub-project &
|
||||
Type &
|
||||
Problem &
|
||||
\# runs &
|
||||
\# steps/ &
|
||||
Wall time/ &
|
||||
\# host cores/ &
|
||||
Total \\
|
||||
&
|
||||
of run &
|
||||
size &
|
||||
&
|
||||
run &
|
||||
step [hours] &
|
||||
run &
|
||||
[core-h] \\
|
||||
\hline\hline
|
||||
Sub-proj. 1 &
|
||||
MD 1 &
|
||||
P3 &
|
||||
R3 &
|
||||
S3 &
|
||||
W3 &
|
||||
C3 &
|
||||
R3$\cdot$S3$\cdot$W3$\cdot$C3 \\
|
||||
~ &
|
||||
MD 2 &
|
||||
P4 &
|
||||
R4 &
|
||||
S4 &
|
||||
W4 &
|
||||
C4 &
|
||||
R4$\cdot$S4$\cdot$W4$\cdot$C4 \\
|
||||
$\cdots$ &\multicolumn{7}{c}{$\cdots$}\\
|
||||
\hline\hline
|
||||
TOTAL & & & & & & & sum of above\\
|
||||
\end{tabular}
|
||||
\end{center}
|
||||
\end{table}
|
||||
\bigskip
|
||||
\textit{(0.5 to 1 page)}
|
||||
|
||||
\section{Resource Management and Work Schedule}
|
||||
\rule{\textwidth}{0.4pt}
|
||||
\subsection{Resource management}
|
||||
\textit{Describe how you intend to manage the resources you have requested. This should include a description of the methods you will deploy to monitor progress of the project and how project results are documented.}\\
|
||||
|
||||
\textit{(0.5 to 1 page)}
|
||||
|
||||
\subsection{Work schedule}
|
||||
\textit{Provide tables and Gantt charts for a clear presentation of the work schedule, structured in sub-projects, if applicable.}
|
||||
|
||||
\subsubsection{Sub-project 1}
|
||||
\textit{...}
|
||||
|
||||
\subsubsection{Sub-project 2}
|
||||
\textit{...}\\
|
||||
|
||||
\bigskip
|
||||
\textit{Example for a Gantt chart:}
|
||||
\begin{figure}[H]
|
||||
\begin{flushleft}
|
||||
\includegraphics[scale=0.82]{Figures/gantt_chart.jpg}
|
||||
\end{flushleft}
|
||||
\caption{\label{fig_workschedule}Work schedule for the project.}
|
||||
\end{figure}
|
||||
|
||||
\section{Key Personnel and Experiences}
|
||||
|
||||
\textsc{PD Dr. Felix Spanier} (felix.spanier [at] uni-heidelberg.de)\\
|
||||
%\begin{adjustwidth}{10pt}{}
|
||||
F. Spanier was the leader of the working group in W\"urzburg, where the \textit{ACRONYM} code has been developed initially. His expertise lies both in theoretical plasma astrophysics and the realization of kinetic plasma simulations. He has performed simulations of turbulent plasmas in the fluid and kinetic regime and has supervised the thesis of Dr. C Schreiner that precedes this project.
|
||||
%\end{adjustwidth}
|
||||
|
||||
\vspace{0.1cm}
|
||||
|
||||
\textsc{Dr. Alex Ivascenko} (alex.ivascenko [at] rub.de)\\
|
||||
%\begin{adjustwidth}{10pt}{}
|
||||
A. Ivascenko is a specialist for energetic particle transport. He has developed new methods for the analysis of pitch-angle diffusion coefficients in turbulent plasmas.
|
||||
%\end{adjustwidth}
|
||||
|
||||
|
||||
%\vspace{0.1cm}
|
||||
%\textsc{Dr. Patrick Kilian} (mail [at] petschge.de)
|
||||
%\begin{adjustwidth}{10pt}{}
|
||||
%P. Kilian is one of the developers of the \textit{ACRONYM} code and a seasoned expert concerning the numerics of PiC codes.
|
||||
%He is experienced in the use of different HPC systems, including SuperMUC, where he also managed a test account for first running \textit{ACRONYM} on the system (\textit{pr45sa}).
|
||||
%Currently, he is working at the Centre for Space Research, NWU Potchefstroom.
|
||||
%\end{adjustwidth}
|
||||
%\vspace{0.1cm}
|
||||
|
||||
\textit{(half a page)}
|
||||
|
||||
\section{Bibliographic References}
|
||||
|
||||
|
||||
\rule{\textwidth}{0.4pt}\\
|
||||
\textit{Provide recent/most important bibliographic references that are relevant to the project.}\\
|
||||
|
||||
|
||||
\bibliography{bib}
|
||||
|
||||
\bigskip
|
||||
|
||||
\end{document}
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,972 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% gcs.bst %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Bibliography Syle file for articles
|
||||
% P. Gibbon, FZ-Juelich 2007
|
||||
% Full italic titles; roman proceeding titles; year in parentheses
|
||||
% originally based on:
|
||||
% Bibliography Syle file for articles according to IEEE instructions
|
||||
|
||||
ENTRY
|
||||
{ address
|
||||
author
|
||||
booktitle
|
||||
chapter
|
||||
edition
|
||||
editor
|
||||
howpublished
|
||||
institution
|
||||
journal
|
||||
key
|
||||
month
|
||||
note
|
||||
number
|
||||
organization
|
||||
pages
|
||||
publisher
|
||||
school
|
||||
series
|
||||
title
|
||||
type
|
||||
volume
|
||||
year
|
||||
}
|
||||
{}
|
||||
{ label }
|
||||
|
||||
INTEGERS { output.state before.all mid.sentence after.sentence after.block }
|
||||
|
||||
FUNCTION {init.state.consts}
|
||||
{ #0 'before.all :=
|
||||
#1 'mid.sentence :=
|
||||
#2 'after.sentence :=
|
||||
#3 'after.block :=
|
||||
}
|
||||
|
||||
STRINGS { s t }
|
||||
|
||||
FUNCTION {output.nonnull}
|
||||
{ 's :=
|
||||
output.state mid.sentence =
|
||||
{ ", " * write$ }
|
||||
{ output.state after.block =
|
||||
{ ", " * write$
|
||||
newline$
|
||||
" " write$
|
||||
}
|
||||
{ output.state before.all =
|
||||
'write$
|
||||
{ add.period$ " " * write$ }
|
||||
if$
|
||||
}
|
||||
if$
|
||||
mid.sentence 'output.state :=
|
||||
}
|
||||
if$
|
||||
s
|
||||
}
|
||||
|
||||
FUNCTION {output}
|
||||
{ duplicate$ empty$
|
||||
'pop$
|
||||
'output.nonnull
|
||||
if$
|
||||
}
|
||||
|
||||
FUNCTION {output.check}
|
||||
{ 't :=
|
||||
duplicate$ empty$
|
||||
{ pop$ "empty " t * " in " * cite$ * warning$ }
|
||||
'output.nonnull
|
||||
if$
|
||||
}
|
||||
|
||||
FUNCTION {output.bibitem}
|
||||
{ newline$
|
||||
"\bibitem{" write$
|
||||
cite$ write$
|
||||
"}" write$
|
||||
newline$
|
||||
""
|
||||
before.all 'output.state :=
|
||||
}
|
||||
|
||||
FUNCTION {fin.entry}
|
||||
{ add.period$
|
||||
write$
|
||||
newline$
|
||||
}
|
||||
|
||||
FUNCTION {new.block}
|
||||
{ output.state before.all =
|
||||
'skip$
|
||||
{ after.block 'output.state := }
|
||||
if$
|
||||
}
|
||||
|
||||
FUNCTION {new.sentence}
|
||||
{ output.state after.block =
|
||||
'skip$
|
||||
{ output.state before.all =
|
||||
'skip$
|
||||
{ after.sentence 'output.state := }
|
||||
if$
|
||||
}
|
||||
if$
|
||||
}
|
||||
|
||||
FUNCTION {not}
|
||||
{ { #0 }
|
||||
{ #1 }
|
||||
if$
|
||||
}
|
||||
|
||||
FUNCTION {and}
|
||||
{ 'skip$
|
||||
{ pop$ #0 }
|
||||
if$
|
||||
}
|
||||
|
||||
FUNCTION {or}
|
||||
{ { pop$ #1 }
|
||||
'skip$
|
||||
if$
|
||||
}
|
||||
|
||||
FUNCTION {new.block.checka}
|
||||
{ empty$
|
||||
'skip$
|
||||
'new.block
|
||||
if$
|
||||
}
|
||||
|
||||
FUNCTION {new.block.checkb}
|
||||
{ empty$
|
||||
swap$ empty$
|
||||
and
|
||||
'skip$
|
||||
'new.block
|
||||
if$
|
||||
}
|
||||
|
||||
FUNCTION {new.sentence.checka}
|
||||
{ empty$
|
||||
'skip$
|
||||
'new.sentence
|
||||
if$
|
||||
}
|
||||
|
||||
FUNCTION {new.sentence.checkb}
|
||||
{ empty$
|
||||
swap$ empty$
|
||||
and
|
||||
'skip$
|
||||
'new.sentence
|
||||
if$
|
||||
}
|
||||
|
||||
FUNCTION {field.or.null}
|
||||
{ duplicate$ empty$
|
||||
{ pop$ "" }
|
||||
'skip$
|
||||
if$
|
||||
}
|
||||
|
||||
FUNCTION {emphasize}
|
||||
{ duplicate$ empty$
|
||||
{ pop$ "" }
|
||||
{ "{\em " swap$ * "}" * }
|
||||
if$
|
||||
}
|
||||
|
||||
FUNCTION {boldface}
|
||||
{ duplicate$ empty$
|
||||
{ pop$ "" }
|
||||
{ "{\bf " swap$ * "}" * }
|
||||
if$
|
||||
}
|
||||
|
||||
FUNCTION {paren}
|
||||
{ duplicate$ empty$
|
||||
{ pop$ "" }
|
||||
{ "" swap$ * "" * }
|
||||
if$
|
||||
}
|
||||
|
||||
INTEGERS { nameptr namesleft numnames }
|
||||
|
||||
FUNCTION {format.names}
|
||||
{ 's :=
|
||||
#1 'nameptr :=
|
||||
s num.names$ 'numnames :=
|
||||
numnames 'namesleft :=
|
||||
{ namesleft #0 > }
|
||||
{ s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
|
||||
nameptr #1 >
|
||||
{ namesleft #1 >
|
||||
{ ", " * t * }
|
||||
{ numnames #2 >
|
||||
{ "," * }
|
||||
'skip$
|
||||
if$
|
||||
t "others" =
|
||||
{ " et~al." * }
|
||||
{ " and " * t * }
|
||||
if$
|
||||
}
|
||||
if$
|
||||
}
|
||||
't
|
||||
if$
|
||||
nameptr #1 + 'nameptr :=
|
||||
namesleft #1 - 'namesleft :=
|
||||
}
|
||||
while$
|
||||
}
|
||||
|
||||
FUNCTION {format.authors}
|
||||
{ author empty$
|
||||
{ "" }
|
||||
{ author format.names }
|
||||
if$
|
||||
}
|
||||
|
||||
FUNCTION {format.editors}
|
||||
{ editor empty$
|
||||
{ "" }
|
||||
{ editor format.names
|
||||
editor num.names$ #1 >
|
||||
{ ", (Eds.)" * }
|
||||
{ ", (Ed.)" * }
|
||||
if$
|
||||
}
|
||||
if$
|
||||
}
|
||||
|
||||
FUNCTION {format.title}
|
||||
{ title empty$
|
||||
{ "" }
|
||||
{ "``" title "t" change.case$ * }
|
||||
if$
|
||||
}
|
||||
|
||||
FUNCTION {format.booktitle}
|
||||
{ booktitle empty$
|
||||
{ "" }
|
||||
{ "``" booktitle "t" change.case$ * }
|
||||
if$
|
||||
}
|
||||
|
||||
FUNCTION {n.dashify}
|
||||
{ 't :=
|
||||
""
|
||||
{ t empty$ not }
|
||||
{ t #1 #1 substring$ "-" =
|
||||
{ t #1 #2 substring$ "--" = not
|
||||
{ "--" *
|
||||
t #2 global.max$ substring$ 't :=
|
||||
}
|
||||
{ { t #1 #1 substring$ "-" = }
|
||||
{ "-" *
|
||||
t #2 global.max$ substring$ 't :=
|
||||
}
|
||||
while$
|
||||
}
|
||||
if$
|
||||
}
|
||||
{ t #1 #1 substring$ *
|
||||
t #2 global.max$ substring$ 't :=
|
||||
}
|
||||
if$
|
||||
}
|
||||
while$
|
||||
}
|
||||
|
||||
FUNCTION {format.date}
|
||||
{ year empty$
|
||||
{ month empty$
|
||||
{ "" }
|
||||
{ "there's a month but no year in " cite$ * warning$
|
||||
month
|
||||
}
|
||||
if$
|
||||
}
|
||||
{ month empty$
|
||||
{ year }
|
||||
{ month " " * year * }
|
||||
if$
|
||||
}
|
||||
if$
|
||||
}
|
||||
|
||||
FUNCTION {format.btitle}
|
||||
{ title emphasize
|
||||
}
|
||||
|
||||
FUNCTION {tie.or.space.connect}
|
||||
{ duplicate$ text.length$ #3 <
|
||||
{ "~" }
|
||||
{ " " }
|
||||
if$
|
||||
swap$ * *
|
||||
}
|
||||
|
||||
FUNCTION {either.or.check}
|
||||
{ empty$
|
||||
'pop$
|
||||
{ "can't use both " swap$ * " fields in " * cite$ * warning$ }
|
||||
if$
|
||||
}
|
||||
|
||||
FUNCTION {format.bvolume}
|
||||
{ volume empty$
|
||||
{ "" }
|
||||
{ "vol." volume tie.or.space.connect
|
||||
series empty$
|
||||
'skip$
|
||||
{ " of " * series emphasize * }
|
||||
if$
|
||||
"volume and number" number either.or.check
|
||||
}
|
||||
if$
|
||||
}
|
||||
|
||||
FUNCTION {format.number.series}
|
||||
{ volume empty$
|
||||
{ number empty$
|
||||
{ series field.or.null }
|
||||
{ output.state mid.sentence =
|
||||
{ "number" }
|
||||
{ "Number" }
|
||||
if$
|
||||
number tie.or.space.connect
|
||||
series empty$
|
||||
{ "there's a number but no series in " cite$ * warning$ }
|
||||
{ " in " * series * }
|
||||
if$
|
||||
}
|
||||
if$
|
||||
}
|
||||
{ "" }
|
||||
if$
|
||||
}
|
||||
|
||||
FUNCTION {format.edition}
|
||||
{ edition empty$
|
||||
{ "" }
|
||||
{ output.state mid.sentence =
|
||||
{ edition "l" change.case$ " edition" * }
|
||||
{ edition "t" change.case$ " edition" * }
|
||||
if$
|
||||
}
|
||||
if$
|
||||
}
|
||||
|
||||
INTEGERS { multiresult }
|
||||
|
||||
FUNCTION {multi.page.check}
|
||||
{ 't :=
|
||||
#0 'multiresult :=
|
||||
{ multiresult not
|
||||
t empty$ not
|
||||
and
|
||||
}
|
||||
{ t #1 #1 substring$
|
||||
duplicate$ "-" =
|
||||
swap$ duplicate$ "," =
|
||||
swap$ "+" =
|
||||
or or
|
||||
{ #1 'multiresult := }
|
||||
{ t #2 global.max$ substring$ 't := }
|
||||
if$
|
||||
}
|
||||
while$
|
||||
multiresult
|
||||
}
|
||||
|
||||
FUNCTION {format.pages}
|
||||
{ pages empty$
|
||||
{ "" }
|
||||
{ pages multi.page.check
|
||||
{ "pp." pages n.dashify tie.or.space.connect }
|
||||
{ "p." pages tie.or.space.connect }
|
||||
if$
|
||||
}
|
||||
if$
|
||||
}
|
||||
|
||||
FUNCTION {format.vol.num.pages}
|
||||
{
|
||||
volume empty$
|
||||
{"" }
|
||||
{ volume field.or.null boldface }
|
||||
if$
|
||||
number empty$
|
||||
'skip$
|
||||
{", no. " number * *}
|
||||
if$
|
||||
pages empty$
|
||||
'skip$
|
||||
{ duplicate$ empty$
|
||||
{ pop$ format.pages }
|
||||
{ ", " * pages n.dashify * }
|
||||
if$
|
||||
}
|
||||
if$
|
||||
}
|
||||
|
||||
FUNCTION {format.chapter.pages}
|
||||
{ chapter empty$
|
||||
'format.pages
|
||||
{ type empty$
|
||||
{ "chapter" }
|
||||
{ type "l" change.case$ }
|
||||
if$
|
||||
chapter tie.or.space.connect
|
||||
pages empty$
|
||||
'skip$
|
||||
{ ", " * format.pages * }
|
||||
if$
|
||||
}
|
||||
if$
|
||||
}
|
||||
|
||||
FUNCTION {format.in.ed.booktitle}
|
||||
{ booktitle empty$
|
||||
{ "" }
|
||||
{ editor empty$
|
||||
{ " in: " booktitle * }
|
||||
{ " in: " booktitle * ", " * format.editors *}
|
||||
|
||||
if$
|
||||
}
|
||||
if$
|
||||
}
|
||||
|
||||
FUNCTION {empty.misc.check}
|
||||
{ author empty$ title empty$ howpublished empty$
|
||||
month empty$ year empty$ note empty$
|
||||
and and and and and
|
||||
{ "all relevant fields are empty in " cite$ * warning$ }
|
||||
'skip$
|
||||
if$
|
||||
}
|
||||
|
||||
FUNCTION {format.thesis.type}
|
||||
{ type empty$
|
||||
'skip$
|
||||
{ pop$
|
||||
type "t" change.case$
|
||||
}
|
||||
if$
|
||||
}
|
||||
|
||||
FUNCTION {format.tr.number}
|
||||
{ type empty$
|
||||
{ "Tech. {R}ep." }
|
||||
'type
|
||||
if$
|
||||
number empty$
|
||||
{ "t" change.case$ }
|
||||
{ number tie.or.space.connect }
|
||||
if$
|
||||
}
|
||||
|
||||
FUNCTION {format.article.crossref}
|
||||
{ key empty$
|
||||
{ journal empty$
|
||||
{ "need key or journal for " cite$ * " to crossref " * crossref *
|
||||
warning$
|
||||
""
|
||||
}
|
||||
{ "In {\em " journal * "\/}" * }
|
||||
if$
|
||||
}
|
||||
{ "In " key * }
|
||||
if$
|
||||
" \cite{" * crossref * "}" *
|
||||
}
|
||||
|
||||
FUNCTION {format.crossref.editor}
|
||||
{ editor #1 "{vv~}{ll}" format.name$
|
||||
editor num.names$ duplicate$
|
||||
#2 >
|
||||
{ pop$ " et~al." * }
|
||||
{ #2 <
|
||||
'skip$
|
||||
{ editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
|
||||
{ " et~al." * }
|
||||
{ " and " * editor #2 "{vv~}{ll}" format.name$ * }
|
||||
if$
|
||||
}
|
||||
if$
|
||||
}
|
||||
if$
|
||||
}
|
||||
|
||||
FUNCTION {format.book.crossref}
|
||||
{ volume empty$
|
||||
{ "empty volume in " cite$ * "'s crossref of " * crossref * warning$
|
||||
"In "
|
||||
}
|
||||
{ "vol." volume tie.or.space.connect
|
||||
" of " *
|
||||
}
|
||||
if$
|
||||
editor empty$
|
||||
editor field.or.null author field.or.null =
|
||||
or
|
||||
{ key empty$
|
||||
{ series empty$
|
||||
{ "need editor, key, or series for " cite$ * " to crossref " *
|
||||
crossref * warning$
|
||||
"" *
|
||||
}
|
||||
{ "{\em " * series * "\/}" * }
|
||||
if$
|
||||
}
|
||||
{ key * }
|
||||
if$
|
||||
}
|
||||
{ format.crossref.editor * }
|
||||
if$
|
||||
" \cite{" * crossref * "}" *
|
||||
}
|
||||
|
||||
FUNCTION {format.incoll.inproc.crossref}
|
||||
{ editor empty$
|
||||
editor field.or.null author field.or.null =
|
||||
or
|
||||
{ key empty$
|
||||
{ booktitle empty$
|
||||
{ "need editor, key, or booktitle for " cite$ * " to crossref " *
|
||||
crossref * warning$
|
||||
""
|
||||
}
|
||||
{ "In {\em " booktitle * "\/}" * }
|
||||
if$
|
||||
}
|
||||
{ "In " key * }
|
||||
if$
|
||||
}
|
||||
{ "In " format.crossref.editor * }
|
||||
if$
|
||||
" \cite{" * crossref * "}" *
|
||||
}
|
||||
|
||||
FUNCTION {article}
|
||||
{ output.bibitem
|
||||
format.authors "author" output.check
|
||||
new.block
|
||||
% italic paper title
|
||||
format.btitle "title" output.check
|
||||
new.block
|
||||
crossref missing$
|
||||
{ journal "journal" output.check
|
||||
format.vol.num.pages output
|
||||
format.date "year" output.check
|
||||
}
|
||||
{ format.article.crossref output.nonnull
|
||||
format.pages output
|
||||
}
|
||||
if$
|
||||
new.block
|
||||
note output
|
||||
fin.entry
|
||||
}
|
||||
|
||||
FUNCTION {book}
|
||||
{ output.bibitem
|
||||
author empty$
|
||||
{ format.editors "author and editor" output.check }
|
||||
{ format.authors output.nonnull
|
||||
crossref missing$
|
||||
{ "author and editor" editor either.or.check }
|
||||
'skip$
|
||||
if$
|
||||
}
|
||||
if$
|
||||
new.block
|
||||
format.btitle "title" output.check
|
||||
crossref missing$
|
||||
{ format.bvolume output
|
||||
new.block
|
||||
format.number.series output
|
||||
new.sentence
|
||||
publisher "publisher" output.check
|
||||
address output
|
||||
}
|
||||
{ new.block
|
||||
format.book.crossref output.nonnull
|
||||
}
|
||||
if$
|
||||
format.edition output
|
||||
format.date "year" output.check
|
||||
new.block
|
||||
note output
|
||||
fin.entry
|
||||
}
|
||||
|
||||
FUNCTION {booklet}
|
||||
{ output.bibitem
|
||||
format.authors output
|
||||
new.block
|
||||
format.title "''" * "title" output.check
|
||||
howpublished address new.block.checkb
|
||||
howpublished output
|
||||
address output
|
||||
format.date output
|
||||
new.block
|
||||
note output
|
||||
fin.entry
|
||||
}
|
||||
|
||||
FUNCTION {inbook}
|
||||
{ output.bibitem
|
||||
author empty$
|
||||
{ format.editors "author and editor" output.check }
|
||||
{ format.authors output.nonnull
|
||||
crossref missing$
|
||||
{ "author and editor" editor either.or.check }
|
||||
'skip$
|
||||
if$
|
||||
}
|
||||
if$
|
||||
new.block
|
||||
format.btitle "title" output.check
|
||||
crossref missing$
|
||||
{ format.bvolume output
|
||||
format.chapter.pages "chapter and pages" output.check
|
||||
new.block
|
||||
format.number.series output
|
||||
new.sentence
|
||||
publisher "publisher" output.check
|
||||
address output
|
||||
}
|
||||
{ format.chapter.pages "chapter and pages" output.check
|
||||
new.block
|
||||
format.book.crossref output.nonnull
|
||||
}
|
||||
if$
|
||||
format.edition output
|
||||
format.date "year" output.check
|
||||
new.block
|
||||
note output
|
||||
fin.entry
|
||||
}
|
||||
|
||||
FUNCTION {incollection}
|
||||
{ output.bibitem
|
||||
format.authors "author" output.check
|
||||
new.block
|
||||
format.title "''" * "title" output.check
|
||||
new.block
|
||||
crossref missing$
|
||||
{ format.in.ed.booktitle "booktitle" output.check
|
||||
format.bvolume output
|
||||
format.number.series output
|
||||
format.chapter.pages output
|
||||
new.sentence
|
||||
publisher "publisher" output.check
|
||||
address output
|
||||
format.edition output
|
||||
format.date "year" output.check
|
||||
}
|
||||
{ format.incoll.inproc.crossref output.nonnull
|
||||
format.chapter.pages output
|
||||
}
|
||||
if$
|
||||
new.block
|
||||
note output
|
||||
fin.entry
|
||||
}
|
||||
|
||||
FUNCTION {inproceedings}
|
||||
{ output.bibitem
|
||||
format.authors "author" output.check
|
||||
new.block
|
||||
format.btitle "title" output.check
|
||||
new.block
|
||||
crossref missing$
|
||||
{ format.in.ed.booktitle "booktitle" output.check
|
||||
format.bvolume output
|
||||
format.number.series output
|
||||
format.pages output
|
||||
publisher output
|
||||
address empty$
|
||||
{ organization publisher new.sentence.checkb
|
||||
organization output
|
||||
format.date "year" output.check
|
||||
}
|
||||
{ organization output
|
||||
address output
|
||||
format.date "year" output.check
|
||||
|
||||
}
|
||||
if$
|
||||
|
||||
}
|
||||
{ format.incoll.inproc.crossref output.nonnull
|
||||
format.pages output
|
||||
}
|
||||
if$
|
||||
new.block
|
||||
note output
|
||||
fin.entry
|
||||
}
|
||||
|
||||
FUNCTION {conference} { inproceedings }
|
||||
|
||||
FUNCTION {manual}
|
||||
{ output.bibitem
|
||||
author empty$
|
||||
{ organization empty$
|
||||
'skip$
|
||||
{ organization output.nonnull
|
||||
address output
|
||||
}
|
||||
if$
|
||||
}
|
||||
{ format.authors output.nonnull }
|
||||
if$
|
||||
new.block
|
||||
format.btitle "title" output.check
|
||||
author empty$
|
||||
{ organization empty$
|
||||
{ address new.block.checka
|
||||
address output
|
||||
}
|
||||
'skip$
|
||||
if$
|
||||
}
|
||||
{ organization address new.block.checkb
|
||||
organization output
|
||||
address output
|
||||
}
|
||||
if$
|
||||
format.edition output
|
||||
format.date output
|
||||
new.block
|
||||
note output
|
||||
fin.entry
|
||||
}
|
||||
|
||||
FUNCTION {mastersthesis}
|
||||
{ output.bibitem
|
||||
format.authors "author" output.check
|
||||
new.block
|
||||
format.title "''" * "title" output.check
|
||||
new.block
|
||||
"Master's thesis" format.thesis.type output.nonnull
|
||||
school "school" output.check
|
||||
address output
|
||||
format.date "year" output.check
|
||||
new.block
|
||||
note output
|
||||
fin.entry
|
||||
}
|
||||
|
||||
FUNCTION {misc}
|
||||
{ output.bibitem
|
||||
format.authors output
|
||||
title howpublished new.block.checkb
|
||||
format.title "''" * output
|
||||
howpublished new.block.checka
|
||||
howpublished output
|
||||
format.date output
|
||||
new.block
|
||||
note output
|
||||
fin.entry
|
||||
empty.misc.check
|
||||
}
|
||||
|
||||
FUNCTION {phdthesis}
|
||||
{ output.bibitem
|
||||
format.authors "author" output.check
|
||||
new.block
|
||||
format.btitle "title" output.check
|
||||
new.block
|
||||
"PhD thesis" format.thesis.type output.nonnull
|
||||
school "school" output.check
|
||||
address output
|
||||
format.date "year" output.check
|
||||
new.block
|
||||
note output
|
||||
fin.entry
|
||||
}
|
||||
|
||||
FUNCTION {proceedings}
|
||||
{ output.bibitem
|
||||
editor empty$
|
||||
{ organization output }
|
||||
{ format.editors output.nonnull }
|
||||
if$
|
||||
new.block
|
||||
format.btitle "title" output.check
|
||||
format.bvolume output
|
||||
format.number.series output
|
||||
address empty$
|
||||
{ editor empty$
|
||||
{ publisher new.sentence.checka }
|
||||
{ organization publisher new.sentence.checkb
|
||||
organization output
|
||||
}
|
||||
if$
|
||||
publisher output
|
||||
format.date "year" output.check
|
||||
}
|
||||
{ address output.nonnull
|
||||
format.date "year" output.check
|
||||
new.sentence
|
||||
editor empty$
|
||||
'skip$
|
||||
{ organization output }
|
||||
if$
|
||||
publisher output
|
||||
}
|
||||
if$
|
||||
new.block
|
||||
note output
|
||||
fin.entry
|
||||
}
|
||||
|
||||
FUNCTION {techreport}
|
||||
{ output.bibitem
|
||||
format.authors "author" output.check
|
||||
new.block
|
||||
format.btitle "title" output.check
|
||||
new.block
|
||||
format.tr.number output.nonnull
|
||||
institution "institution" output.check
|
||||
address output
|
||||
format.date "year" output.check
|
||||
new.block
|
||||
note output
|
||||
fin.entry
|
||||
}
|
||||
|
||||
FUNCTION {unpublished}
|
||||
{ output.bibitem
|
||||
format.authors "author" output.check
|
||||
new.block
|
||||
format.title "''" * "title" output.check
|
||||
new.block
|
||||
note "note" output.check
|
||||
format.date output
|
||||
fin.entry
|
||||
}
|
||||
|
||||
FUNCTION {default.type} { misc }
|
||||
|
||||
MACRO {jan} {"Jan."}
|
||||
|
||||
MACRO {feb} {"Feb."}
|
||||
|
||||
MACRO {mar} {"Mar."}
|
||||
|
||||
MACRO {apr} {"Apr."}
|
||||
|
||||
MACRO {may} {"May"}
|
||||
|
||||
MACRO {jun} {"June"}
|
||||
|
||||
MACRO {jul} {"July"}
|
||||
|
||||
MACRO {aug} {"Aug."}
|
||||
|
||||
MACRO {sep} {"Sept."}
|
||||
|
||||
MACRO {oct} {"Oct."}
|
||||
|
||||
MACRO {nov} {"Nov."}
|
||||
|
||||
MACRO {dec} {"Dec."}
|
||||
|
||||
MACRO {acmcs} {"ACM Computing Surveys"}
|
||||
|
||||
MACRO {acta} {"Acta Informatica"}
|
||||
|
||||
MACRO {cacm} {"Communications of the ACM"}
|
||||
|
||||
MACRO {ibmjrd} {"IBM Journal of Research and Development"}
|
||||
|
||||
MACRO {ibmsj} {"IBM Systems Journal"}
|
||||
|
||||
MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
|
||||
|
||||
MACRO {ieeetc} {"IEEE Transactions on Computers"}
|
||||
|
||||
MACRO {ieeetcad}
|
||||
{"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
|
||||
|
||||
MACRO {ipl} {"Information Processing Letters"}
|
||||
|
||||
MACRO {jacm} {"Journal of the ACM"}
|
||||
|
||||
MACRO {jcss} {"Journal of Computer and System Sciences"}
|
||||
|
||||
MACRO {scp} {"Science of Computer Programming"}
|
||||
|
||||
MACRO {sicomp} {"SIAM Journal on Computing"}
|
||||
|
||||
MACRO {tocs} {"ACM Transactions on Computer Systems"}
|
||||
|
||||
MACRO {tods} {"ACM Transactions on Database Systems"}
|
||||
|
||||
MACRO {tog} {"ACM Transactions on Graphics"}
|
||||
|
||||
MACRO {toms} {"ACM Transactions on Mathematical Software"}
|
||||
|
||||
MACRO {toois} {"ACM Transactions on Office Information Systems"}
|
||||
|
||||
MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
|
||||
|
||||
MACRO {tcs} {"Theoretical Computer Science"}
|
||||
|
||||
READ
|
||||
|
||||
STRINGS { longest.label }
|
||||
|
||||
INTEGERS { number.label longest.label.width }
|
||||
|
||||
FUNCTION {initialize.longest.label}
|
||||
{ "" 'longest.label :=
|
||||
#1 'number.label :=
|
||||
#0 'longest.label.width :=
|
||||
}
|
||||
|
||||
FUNCTION {longest.label.pass}
|
||||
{ number.label int.to.str$ 'label :=
|
||||
number.label #1 + 'number.label :=
|
||||
label width$ longest.label.width >
|
||||
{ label 'longest.label :=
|
||||
label width$ 'longest.label.width :=
|
||||
}
|
||||
'skip$
|
||||
if$
|
||||
}
|
||||
|
||||
EXECUTE {initialize.longest.label}
|
||||
|
||||
ITERATE {longest.label.pass}
|
||||
|
||||
FUNCTION {begin.bib}
|
||||
{ preamble$ empty$
|
||||
'skip$
|
||||
{ preamble$ write$ newline$ }
|
||||
if$
|
||||
"\begin{thebibliography}{" longest.label * "}" * write$ newline$
|
||||
}
|
||||
|
||||
EXECUTE {begin.bib}
|
||||
|
||||
EXECUTE {init.state.consts}
|
||||
|
||||
ITERATE {call.type$}
|
||||
|
||||
FUNCTION {end.bib}
|
||||
{ newline$
|
||||
"\end{thebibliography}" write$ newline$
|
||||
}
|
||||
|
||||
EXECUTE {end.bib}
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%% End of gcs %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
Reference in New Issue
Block a user