Skip to content

Helpful Tricks for Running Meep (and other) Simulations Effectively

Notifications You must be signed in to change notification settings

NomadicLocust/meep-tricks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

Meep Tips and Tricks

Helpful Tricks for Running Meep (and other) Simulations Effectively

Command-Line

Start simulation running in the background

$ nohup meep file.ctl | tee file.out &

Find PID (process ID) for your Meep instance

$ ps -ef | grep meep

The above command will list all Meep instances and the command itself. To quickly find the PID when only one Meep process is running, the below command will output it without listing its own PID.

$ pgrep meep

To peak into the stream of the running simulation to check the status, find the PID and use strace

$ strace -p[PID] -s9999 -e write

or...

$ tail nohup.out

About

Helpful Tricks for Running Meep (and other) Simulations Effectively

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published