Theta_out = getresult('trans_series','theta_out') Note that if you already have some script files, you'll probably need to add the 'load' part to load the fsp file, since in the GUI you normally have the fsp file already open, but with the batch script you need to manually tell it to open the fsp. The lesson being, if it's small enough to run in a minute or two, that's probably something to just run on your laptop or desktop!Ī sample lsf script is here, where it loads the fsp file, then runs it, and saves some info as a matlab file. But if your jobs run for a few hours, the extra minute doesn't matter. Note this only works on the Pod cluster!Īlso, there's a startup time involved with checking out licenses, on the order of a minute - so if your job only runs for 30 seconds, it'll take a minute and a half to run, so not a great efficiency. While you can use the simple 'fdtd-pbs-run.sh' to run 'FSP' files for Lumerical's FDTD, to run scripts is slightly more involved, but you can really make use of the cluster to automate much of your Lumerical runs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |