LANLLANL Home - LANL Directory - Search LANL Web
Los Alamos Accelerator Code Group
Los Alamos
Accelerator Code Group *
|LANL| LANSCE| LANL Accelerators| Home|
|About Us| LAACG Codes| Accelerator Physics| News|
|Beam Physics| General Resources| Software/Methods| Site Index|

  Download Area for Parmila




   ->Supported Version

   ->Uninstall Requirements

   ->Installation Directories and Sample Problems


   ->Source Code

   ->Computer Requirements

   ->Environment Settings


   ->The LANL.INI File

   ->Reporting Bugs

   ->Getting Started



   ->LAACG Codes

Download Area for Parmila


Los Alamos National Laboratory
Parmila - Version 2

Written and maintained by Harunori Takeda
Documentation by James H. Billen
Los Alamos National Laboratory
Mailstop H824
Los Alamos, New Mexico 87545, USA

(c) Copyright, 1984-2005 by the Regents of the University of California.

This software was produced under U.S. Government contract W-7405-ENG-36 by Los Alamos National Laboratory, which is operated by the University of California for the U.S. Department of Energy. Neither the Government nor the University makes any warranty, express or implied, or assumes any liability or responsibility for the use of this software.

Unpublished -- rights reserved under Copyright Laws of the United States.



Parmila version 2 is an ion linac particle dynamics code. The name comes from the phrase, "Phase and Radial Motion in Ion Linear Accelerators." It is a versatile multi-particle code that generates the linac and transforms the beam, represented by a collection of particles, through a user-specified linac and/or transport system.



The original Parmila was written by Donald A. Swenson in the 1960s. See the paper by D. A. Swenson, D. E. Young, and B. Austin, "Comparison of Particle Motions as Calculated by Two Different Dynamics Programs," Proceedings of the 1966 Linear Accelerator Conference, Los Alamos National Laboratory report LA-3609, p. 229 (1966). Several other Los Alamos National Laboratory staff members have worked with these codes including James E. Stovall, George H. Neuschaefer, Subrata Nath, Lloyd M. Young, Harunori Takeda, and James H. Billen.


Supported Version

We are currently distributing and supporting Parmila Version 2, which runs as a Windows program. You should install the latest version in the same directory used for any previous installations. After running the Setup program, the Parmila manual many found in Microsoft Word document LANL\Docs\Parmila.Doc.


Uninstall version earlier than 2.30

Before starting Parmila_2.xx.Exe, we recommend you use the Add/Remove Programs applet in Control Panel to uninstall any Parmila distribution with a version number smaller than 2.30. The old Setup.Exe program did not include enough registry information for the present installer to recognize it as previous Parmila distribution. If you uninstall the earlier version after installing version 2.30 or higher, you will need to run Parmila_2.xx.Exe using the Repair option to restore missing files.


Installation Directories and Sample Problems

The Setup program suggests that you install all Los Alamos software in the same directory. We will assume that the name of this directory is LANL on one of your hard drives. The LANL directory contains all the executable files. Documentation files will be in the LANL\Docs directory. Subdirectories of the LANL\Examples\Parmila directory contain sample input files. The sample files are arranged by the type of problem.



Parmila Version 2 codes were compiled by Lahey Computer Systems, Inc. Fortran compiler LF90. Some supporting programs may use Lahey/Fujitsu Fortran LF95 version 5.7. The codes also use the Winteracter package from Interactive Software Services Ltd.


Source Code

Except as follows, source code is not available. Directory LANL\DeveloperFiles\Parmila contains source for a Fortran subroutine that reads the particle distribution written by Parmila from the binary output file and write the data to a text file.


Computer Requirements

These codes run under Windows 2000 and Windows XP.


Environment settings

The Setup program adds the installation directory to your PATH and adds the environment variable ParmilaDir, which is used by the codes to find the installation directory more quickly than searching the path. No other changes or additions to environment settings are needed.



Los Alamos National Laboratory report LA-UR-96-4478 is the documentation for Parmila and related codes. The Microsoft Word file Parmila.DOC in the LANL\Docs directory contains the most recent documentation for Version 2.



Parmila has some configurable options that you can control with settings in the initialization file LANL.INI. The installer put a copy of file LANL.INI containing suggested settings in the installation directory. If you are installing an update, the Setup program will add new settings to your LANL.INI file while preserving your customized settings. The documentation contains detailed information about the configuration parameters.


Reporting Bugs

We would appreciate hearing from you if you discover a bug or if you have suggestions for improvements we might make in the codes. We already have added several features suggested by users. For suggestions on reporting bugs, open file Parmila.Doc in Microsoft Word or Word Viewer and click on the TechnicalSupport link near the beginning of the file.


Getting Started

The best way to learn about Parmila is to run the sample problems described in the documentation (LA-UR-98-4478) contained in file Parmila.DOC. This document contains links to additional documentation on Poisson Superfish (LA-UR-96-1834), which we recommend that you also download and install.


Parmila Download

Latest Version Number
The latest version number of the code is: 2.38 published on 09/09/2020

Download Installer

Version 2 Log of Changes
See the list of changes, additions, and bug fixes for Parmila. These changes are listed in reverse chronological order. If you are already a user of a Los Alamos code, you can check back here to see if there have been any updates to the codes after the version you have installed.
Log of Changes


Parmila Registration

To download Poisson Superfish, we ask that you register as a user. If you did not register during the download step please use the form below. Registered users receive notification by email of new features and bug fixes.

Registration Form

* This work is supported by the U. S. Department of Energy, Office of Science, Division of High Energy Physics.

 Los Alamos National Laboratory
Operated by the University of California for the National Nuclear Security Administration,
of the US Department of Energy.    
Copyright © 2003 UC | Disclaimer/Privacy

Last modified: Mon 27 Oct 2014 10:41 PM , LDD or FLK