Difference between revisions of "Lumerical FDTD"

 
(12 intermediate revisions by 2 users not shown)
Line 3: Line 3:
''From the FDTD Solutions web site:'' Employing the industry proven finite-difference time-domain (FDTD) method, '''FDTD Solutions''' empowers designers to confront the most challenging optical design problems.  
''From the FDTD Solutions web site:'' Employing the industry proven finite-difference time-domain (FDTD) method, '''FDTD Solutions''' empowers designers to confront the most challenging optical design problems.  


{{AppVersion|7.5.2}
{{AppVersion|8.5.3}}


=== Authorized Users ===
=== Authorized Users ===


* Authorized students from Venkat Bhethanabotla’s research group
* Authorized research groups from the College of Engineering


{{Platforms}}
=== Platforms ===
 
*<code>CIRCE</code> cluster
*Desktop Workstation
*Desktop Workstation


== Install FDTD Solutions on Windows XP ==
== Install FDTD Solutions on a workstation ==


#Insert product CD and follow prompts for installation
#Download installer from https://mirror.rc.usf.edu/isos/Lumerical for your OS
#When prompted for '''MPICH2''' subsystem, '''do not install'''
#When prompted for '''MPICH2''' subsystem, '''do not install'''
#Complete Installation and start FDTD Solutions from start menu
#Complete Installation and start FDTD Solutions from start menu or equivalent
#A dialog for license key configuration will appear. Click the link to “Check HASP key status…”
#A dialog for license configuration will appear. Choose "FlexNet Licensing" as the license type.
#A browser window will appear with the HASP license configuration
#Specify the Server Name as license0.rc.usf.edu and the port as 27000.
#Click on ‘Configuration’-&gt;‘Access to Remote License Managers’
#*Please note: Off campus users '''must''' be connected to the [https://vpn.usf.edu USF VPN] first before installing/using Lumerical FDTD
#Check the box for ‘Aggressive search of remote licenses’
#Click on 'Submit' and close the browser window.
#In the ‘Specify search parameters’ box, enter: <pre style="white-space:pre-wrap; width:20%; border:1px solid lightgrey; background:#E0E0E0; color:black;">itrc-adm1.rc.usf.edu</pre>
#Click on ‘Submit’ and close the browser window
#Click Ok on the previous license dialog and close FDTD Solutions (A few errors may pop up here, which can be ignored)
#Click Ok on the previous license dialog and close FDTD Solutions (A few errors may pop up here, which can be ignored)
#Re-open FDTD solutions. A dialog saying that there are no license keys configured may appear. If it does, go to the configuration and under the ‘HASP Key ID’ select the numerical license key that appears in the drop-down dialog.
#Re-open FDTD solutions.


=== Mapped Network Drive Configuration ===
=== Mapped Network Drive Configuration ===


It is '''HIGHLY RECOMMENDED''' that you map your CIRCE home directory to your S: drive and save all FDTD solution work to it. This way, it is available on the cluster when you decide its time to run a distributed analysis. For information on performing this process, see the following guide: [[CIRCE Data Access|Accessing Your Data]]
It is '''HIGHLY RECOMMENDED''' that you map your home directory to your S: drive and save all FDTD solution work to it. This way, it is available on the cluster when you decide its time to run a distributed analysis. For information on performing this process, see the following guide: [[CIRCE Data Access|Accessing Your Data]]
 
== Running FDTD Solutions on CIRCE ==


{{PleaseReadUserGuide}}
{{AppRunningOnCIRCE}}
{{SLURMAppParams}}


Below is an example of how to run FDTD Solutions on CIRCE using your S: drive and locally-installed FDTD Solutions software.
Below is an example of how to run FDTD Solutions on CIRCE using your S: drive and locally-installed FDTD Solutions software.
Line 55: Line 52:
module purge
module purge
module add apps/fdtd/8.5.3
module add apps/fdtd/8.5.3
module add mpi/openmpi/1.4.5-3
module add compilers/intel/2013_cluster_xe


mpirun fdtd-engine-ompi-lcl $FSPFILE
mpirun fdtd-engine-impi-lcl $FSPFILE
</pre>
</pre>
&nbsp;<br>
&nbsp;<br>

Latest revision as of 19:34, 2 August 2022

Description

From the FDTD Solutions web site: Employing the industry proven finite-difference time-domain (FDTD) method, FDTD Solutions empowers designers to confront the most challenging optical design problems.

Version

  • 8.5.3

Authorized Users

  • Authorized research groups from the College of Engineering

Platforms

  • CIRCE cluster
  • Desktop Workstation

Install FDTD Solutions on a workstation

  1. Download installer from https://mirror.rc.usf.edu/isos/Lumerical for your OS
  2. When prompted for MPICH2 subsystem, do not install
  3. Complete Installation and start FDTD Solutions from start menu or equivalent
  4. A dialog for license configuration will appear. Choose "FlexNet Licensing" as the license type.
  5. Specify the Server Name as license0.rc.usf.edu and the port as 27000.
    • Please note: Off campus users must be connected to the USF VPN first before installing/using Lumerical FDTD
  6. Click on 'Submit' and close the browser window.
  7. Click Ok on the previous license dialog and close FDTD Solutions (A few errors may pop up here, which can be ignored)
  8. Re-open FDTD solutions.

Mapped Network Drive Configuration

It is HIGHLY RECOMMENDED that you map your home directory to your S: drive and save all FDTD solution work to it. This way, it is available on the cluster when you decide its time to run a distributed analysis. For information on performing this process, see the following guide: Accessing Your Data

Running Lumerical FDTD on CIRCE

The Lumerical FDTD user guide is essential to understanding the application and making the most of it. The guide and this page should help you to get started with your simulations. Please refer to the Documentation section for a link to the guide.

  • Note on CIRCE: Make sure to run your jobs from your $WORK directory!
  • Note: Scripts are provided as examples only. Your SLURM executables, tools, and options may vary from the example below. For help on submitting jobs to the queue, see our SLURM User’s Guide.

Below is an example of how to run FDTD Solutions on CIRCE using your S: drive and locally-installed FDTD Solutions software.

1. From your workstation, save your project to S:\nanowire\nanowire.fsp

2. Then, log into CIRCE via SSH and change your directory to ~/nanowire, which is the same directory that appears on your S: drive:

[user@login0]$ cd ~/nanowire
[user@login0 nanowire]$

3. Next, create a script for your job, and submit it to SLURM.

  • The script below (for testing, name it “lumerical-test.sh”) can be copied into your job directory (the folder with your input files) and modified so that you can submit batch processes to the queue.
#!/bin/bash
#
#SBATCH --comment=lumerical-test
#SBATCH --ntasks=8
#SBATCH --job-name=lumerical-test
#SBATCH --export=FSPFILE=nanowire.fsp
#SBATCH --output=output.%j.lumerical-test
#SBATCH --time=01:00:00

#### SLURM 8 processor Lumerical test to run for 1 hour.

module purge
module add apps/fdtd/8.5.3
module add compilers/intel/2013_cluster_xe

mpirun fdtd-engine-impi-lcl $FSPFILE

 
4. Finally, you can change to your job’s directory, and run the sbatch command to submit the job:

cd my/job/directory
sbatch ./lumcerical-test.sh
  • You can view the status of your job with the “squeue -u <username>” command
    • Once the simulation is complete, you can open S:\nanowire\nanowire.fsp from FDTD Solutions on your workstation to view the results.

Documentation

Home Page, User Guides, and Manuals

Benchmarks, Known Tests, Examples, Tutorials, and Other Resources

  • FDTD Examples
    • C:\Program Files\Lumerical\FDTD\examples

More Job Information

See the following for more detailed job submission information:

Reporting Bugs

Report bugs with Lumerical FDTD to the IT Help Desk: rc-help@usf.edu