MaX-1 Demo and Upgrade Downloads
Responsible for this web page:
Christian Hafner, Computational
Optics Group, IFH, ETH Zurich, Switzerland
of this page: 5. 1. 2009 (Downloads below might be newer)
Download and installation procedure
- Download latest MaX-1 upgrade (compiled with
Intel Fortran - IF),
Version compiled with Compaq Visual Fortran
- Unzip the file you have downloaded.
- Owners of the original version 1 of MaX-1: all unzipped files should be
copied to the directory where you have the original
- Demo version users who do not own the original version 1 of MaX-1: Copy
the files you have unzipped on X:\MaX-1\bin,
where X is any hard drive (C, D, E, ... Z) on your PC.
- Run the EXE file you have unzipped.
- Because of some strange error when running MaX-1 under Windows Vista,
some items in the "Tools" menu had to be deleted. The corresponding dialogs
can easily be started from the "Tools and Draw" dialog. The corresponding
help information was not yet modified because I still hope that the problem
can be solved.
- Currently, two versions are available, one compiled with Intel Fortran
and one compiled with the old Compaq Visual Fortran (CVF). The former should
perform faster thanks tho the Intel MKL routines, namely when matrix
equations are solved. Furthermore, the MKL distributes the matrix solver on
several processors when your machine has more than one processor. When you
want to run MaX-1 on a single processor, open the Windows Task Manager
(after you have started MAX08A.exe) and select MAX08A.exe in the list of
running processes. Right click and select Set affinity... from the menu that
pops up. In this menu you can then select the desired CPU for running
- Both versions have the same file names MAX08A.exe. If you would like to
compare them, copy them on two different directories.
- Both versions require the GLUT32.DLL and the AVI.dll that are contained in the ZIP file
that also contains MAX08A.exe. Note that these two DLLs are different
for the IF and CVF versions although they have the same name. Copy them on the same directory as the
corresponding MAX08A.exe file in order to make sure that it calls the
- The help files MAXman.chf are identical for both versions. You may copy
them on any directory. Note that you can no longer open the help files
directly from MaX-1 by selecting Manual from the Help menu. This is because
of problems with the IF compiler. Therefore, you must open the help files
using the Explorer. Of course, you may also create an appropriate shortcut
on your desktop.
- Both versions were tested under 32 and 64 bit versions of Windows XP
and under a 32 bit version of Windows Vista. A 64 bit version of MaX-1 is
available on request, but it is usually slower than the 32 bit version and
runs only on 64 bit Windows versions.
- The IV version has a strange behavior when you maximize a graphic window
or the info window. The top of the maximized window is positioned below the
menu bar, which is not convenient. Use "window - Cascade" in order to
rearrange such a window.
- The CVF version generates AVI files which can be viewed with any viewer,
including the old Windows media player mplay32. The AVI files created with
the IF version may be viewed with the new Windows Media Player, but not with
the old mplay32.
- The new versions - especially IF - take advantage of the very fast
matrix solvers of the Intel MKL when you select QR matrix solver in the MMP
dialog. We found that some of the computers may crash while this solver is
running. This is due to hardware problems, most likely an overloaded
power supply. It seems that computer vendors tend to save too much money and
are satisfied when they may run some simple benchmarks.
- Compiled html version of the original tutorial.
- Machine translation of the original
tutorial examples (contained in the ZIP file MAXexampOrig.zip). Notes:
1) The structure of some input files of version 2 of MaX-1 is slightly
different from the one of the original version. Therefore, you version 2
sometimes displays warnings when you read the projects created with version
1. 2) MAXexampOrig.zip contains a machine translation of all projects
discussed in the tutorial. The resulting projects were not tested.
3) If you use the Demo version, note that you only can solve sufficiently
small problems, i.e., it might happen that you cannot solve all of the
problems described in the tutorial and contained in MAXexampOrig.zip. 4) If you
encounter any problems, please report to firstname.lastname@example.org*.
- Undocumented projects and preliminary projects (contained in a ZIP file).
Notes: 1) Some of the projects were designed for older versions of MaX-1,
some might contain some mistakes. 2) Most of these projects are too big for
being solved with the Demo version. 3) Some information on the projects may
be found in *.htm, *.doc, and *.htm files. 4) If you
encounter any problems, please report to email@example.com*.
- Projects of Jasmin
Important new Features
- Improved automatic multipole setting routines for 2D MMP.
- Improved eigenvalue search routines.
- Improved handling of periodic structures, including photonic crystals.
- 3D MMP version with automatic multipole generation, line multipole generation,
- Much faster MMP matrix solver based on QR decomposition.
- Computation of the optical force on circular (2D) and spherical (3D)
particles, including simple particle movement simulations.
- Model-Based Parameter Estimation (MBPE) routines for efficient
coputations of frequency- or wavelength-dependent parameters.
- New precompiled FDTD solver for 2D and 3D problems (still under
- UPML for open domains.
- Periodic boundary conditions for gratings, photonic crystals, etc.
- Discrete Fourier transform for sensor points and time-harmonic field
- Effective material properties.
- Drude model for dispersive materials.
- OpenGL graphics for 3D objects, including 3D field representation on the
surface of 3D objects.
- Generation of 3D objects from 2D boundaries using translational and
- Bitmaps and AVI movies with more than 256 colors (use Microsoft Video 1
compression whenever possible!)
- HTML help.
- Improved movie directives.
- Redy to be linked with numerical optimizers - binary and real parameter
MaX-1 does not run correctly
It seems that some applications may cause more or less severe problems to
MaX-1. For example, virus scan programs can considerably reduce the performance
of MaX-1. Graphic programs can disturb the movie generation of MaX-1. Graphic
programs using OpenGL in an unconventional way may even prevent MaX-1 from
running. It seems that this holds for some versions of Matlab. In this case, no
application using the openGL Utility Toolkit (GLUT32.DLL) run on your PC. To
test this, you can find many games and other software using GLUT on the web. For
a prominent site, click here.
When an error message is displayed before the menues and windows are
displayed, report the error message to firstname.lastname@example.org*.
Note that MaX-1 uses OpenGL. It might happen that not all of the
required DDLs are installed on your system. Especially GLUT32.DLL might be
missing. In this case, MaX-1 will not run correctly. A message box will indicate the name of the missing DLL.
According to my experience, GLUT32.DLL keeps the processor 100%
busy and slows down the performance of all other MaX-1 tasks as well as the
performance of all other processes running at the same time. To avoid this, I
have compiled GLUT32.DLL with a modification that slightly slows down the OpenGL
performance. I strongly recommend to use this version that is contained in the
ZIP file that also contains the latest MaX-1 version. Usually, GLUT32.DLL is placed on a system directory
such as c:\winnt\system32 but you may also copy it to the directory where you
store the executables of MaX-1.
If another DLL than GLUT32.DLL is missing on your PC, please,
report this to email@example.com*.
* Because of heavy SPAM problems, the Email sent to this address will be
answered automatically. In order to contact me directly, replace "hafner"