FDTD/Example

From ScientificComputing
Jump to: navigation, search

For the example simulation, we are using the nanowire.fsp input file, which is provided by lumerical solutions.

[leonhard@euler01 ~]$ ls -ltr nanowire.fsp
-rw-r----- 1 leonhard T0000 202664975 Jun 10  2015 nanowire.fsp
[leonhard@euler01 ~]$ module load open_mpi/1.6.5 fdtd/8.11 matlab/8.2
[leonhard@euler01 ~]$ lsfsubmit.sh -n 4 -w 1:00 -mem 250 -inp nanowire.fsp
Job, requesting 4 CPU's submitted at Tue Oct 11 12:56:22 CEST 2016
FDTD job.
Job <30077428> is submitted to queue <normal.4h>.
[leonhard@euler01 ~]$ bjobs
JOBID      USER     STAT  QUEUE      FROM_HOST   EXEC_HOST   JOB_NAME   SUBMIT_TIME
30077428   leonhard PEND  normal.4h  euler01                 *owire.fsp Oct 11 12:56
[leonhard@euler01 ~]$ bjobs
JOBID      USER     STAT  QUEUE      FROM_HOST   EXEC_HOST   JOB_NAME   SUBMIT_TIME
30077428   leonhard RUN   normal.4h  euler01     4*e1041     *owire.fsp Oct 11 12:56
[leonhard@euler01 ~]$ bjobs
No unfinished job found
[leonhard@euler01 ~]$ grep -A5 Overall nanowire_p0.log 
Overall wall time measurements in seconds:
    time to mesh and initialize: 0
    time to run FDTD simulation: 2
    time to finalize data and save to files: 2
    FDTD solver speed: 51.1248 Mnodes/s
    total FDTD solver speed on 4 processes: 204.499 Mnodes/s
[leonhard@euler01 ~]$ 

The lsf.o* log file contains information about the resource usage and the overall progress of the job, whereas nanowire_p0.log contains more detailed information about the simulation.