HPC and MEEP Series
Tutorial Series · Computational Photonics
Running MEEP on an HPC Cluster
A four-part learning path from computer and cluster fundamentals to MEEP simulations, meta-optics, and reproducible HPC workflows.
The roadmap below is the planned article architecture. Placeholder pages identify topics reserved for future writing.
Series Roadmap
Part I — Understanding the Machine
Build the basic computer and scientific-computing concepts needed to understand HPC.
What Is HPC?
Computing, HPC, its purpose, and the problems it is designed to help solve.
HPC vs. Workstation vs. Server vs. Supercomputer
Compare common computing systems by architecture, purpose, and workload.
How Does a Computer Process Data?
Programs, instructions, data, memory, storage, and the basic execution path.
Storage, Memory, Cache, and CPU
A beginner-friendly tour of the memory hierarchy, latency, and bandwidth.
Inside the CPU
Cores, registers, execution units, control logic, cycles, and I/O.
Why Scientific Computing Needs HPC
How compute, memory, and runtime demands lead from one machine to a cluster.
Part II — Understanding the Cluster
Learn the general cluster workflow, then relate it to the YZ HPC environment.
Introducing the YZ HPC Cluster
Introduce YZ HPC and distinguish its site-specific details from general HPC concepts.
YZ HPC Architecture
Reserve an architecture overview from the user's computer to allocated compute resources.
The Linux Filesystem on an HPC Cluster
Plan where code, persistent files, temporary data, and simulation outputs belong.
Connecting to YZ HPC with SSH
Outline the local-to-remote connection and safe authentication practices.
Login Nodes vs. Compute Nodes
Explain the different roles of login and compute nodes in a scheduled workflow.
How Do HPC Nodes Communicate?
Introduce node-to-node communication, latency, bandwidth, and data exchange.
Introduction to Slurm
Reserve an introduction to queues, jobs, partitions, resources, and Slurm commands.
Writing Your First Slurm Job
Outline a batch script, resource requests, submission, execution, and output.
Lmod and HPC Software Environments
Reserve space for software modules, versions, dependencies, and environment commands.
MPI and OpenMP
Compare serial, shared-memory, and distributed-memory parallel execution.
Part III — Understanding MEEP
Connect electromagnetic ideas and numerical methods to MEEP models and results.
From Maxwell's Equations to FDTD
Trace the path from electromagnetic equations to a discretized time-stepping method.
The Yee Grid
Reserve an explanation of field placement and spatial and temporal staggering.
The CFL Stability Condition
Introduce timestep, resolution, and the role of the Courant stability condition.
Understanding MEEP's Core Objects
Map common MEEP objects to geometry, materials, boundaries, sources, and simulations.
Your First MEEP Simulation: Vacuum
Reserve the first complete model, run, visualization, and output workflow.
Fabry-Perot Simulation
Plan a slab example connecting reflection, transmission, interference, and resonance.
Waveguide Simulation
Reserve a guided-wave model and analysis of modes, index, and field profiles.
Flux and Electromagnetic Observables
Introduce flux monitors and the interpretation of reflection, transmission, and absorption.
Photonic Crystals
Reserve periodic structures, Bloch wavevectors, bands, gaps, and defects.
Mie Scattering
Plan a particle-scattering example and comparison with analytical results.
Dispersive Materials
Reserve frequency-dependent material models and their role in simulations.
Part IV — Using MEEP for Meta-Optics
Build from MEEP fundamentals toward reproducible meta-optics and metalens workflows.
What Is a Meta-Atom?
Introduce a meta-atom as a geometry-dependent element in a metasurface design.
Complex Electromagnetic Fields
Reserve amplitude, phase, phasors, and extracting phase from complex fields.
Building a Phase Library
Outline a geometry sweep that records transmission and phase for later design.
Phase Coverage and Meta-Atom Selection
Reserve phase-range and transmission trade-offs for selecting candidate geometries.
Beam Deflector
Plan a device example connecting a spatial phase profile to a deflected beam.
Metalens Simulation
Outline the progression from phase library to full-wave metalens evaluation.
Running Meta-Optics Parameter Sweeps on HPC
Reserve batch workflows for independent geometry sweeps and output organization.
Numerical Convergence
Plan convergence checks for resolution, timestep, boundaries, and domain size.
Research Reproduction
Capstone outline for modeling, running, validating, and comparing a published result.
Existing Guides
These articles were published before the four-part roadmap was organized. They remain available as supplementary material: