#!/bin/bash
#SBATCH --job-name=3D-grating             
#SBATCH --partition=batch                
#SBATCH --nodes=1                     
#SBATCH --ntasks-per-node=16             
#SBATCH --time=01:00:00                  
#SBATCH --mem=32G                        
#SBATCH --output=%j.out      
#SBATCH --error=error-%j.log 

module load lumerical
INPUT_FILE="grating_coupler_3D.fsp"

srun -n $SLURM_NTASKS fdtd-engine $INPUT_FILE