Difference between revisions of "Simulation/MEEP"

From OptoelectronicsWiki
Jump to: navigation, search
(Installation Info and Log)
(Installation Info and Log)
Line 35: Line 35:
 
The template of the .job file is as follows:
 
The template of the .job file is as follows:
  
  nohup mpirun -np $NO_OF_CORES -machinefile nodes  meep-mpi  <MEEP_ARGUMENTS> CTL_FILE  
+
nohup mpirun -np $NO_OF_CORES -machinefile nodes  meep-mpi  <MEEP_ARGUMENTS> CTL_FILE  
  
 
Submit this job file using command "qsub".
 
Submit this job file using command "qsub".

Revision as of 17:16, 22 January 2013

Introduction

Meep (http://ab-initio.mit.edu/wiki/index.php/Meep) is a powerful electromagnetic field simulation tool based on finite-difference time-domain (FDTD) method.It is used to simulate integrated optical devices like ring resonators in order to build variation-aware models with high fidelity.

Usage Instruction

Meep has been successfully installed on the UCSB-CNSI clusters!

In order to apply for account, you could apply in this page:

http://csc.cnsi.ucsb.edu/forms/request-user-account

After logging in, you could simply run

/home/ruiwu/.bashrc

to set environmental variables in order that you could call Meep in any directory.

You could start with several sample simulations from the Meep tutorial (http://ab-initio.mit.edu/wiki/index.php/Meep_Tutorial). Some existing ctl files are in /home/ruiwu/meep-sim.

Installation Info and Log

Meep is installed on the Knot (http://csc.cnsi.ucsb.edu/clusters/knot) cluster of the CNSI clusters.

The installation directory is

/home/ruiwu/install


1/22/2013

Parallel Meep works now!

The template of the .job file is as follows:

nohup mpirun -np $NO_OF_CORES -machinefile nodes meep-mpi <MEEP_ARGUMENTS> CTL_FILE

Submit this job file using command "qsub".




12/13/2012

Use "GUILE_CONFIG=/home/ruiwu/install/bin/guile-config ./runconfig" command to specify the user-installed 2.0 version guile before the configure command.


11/29/2012

The parallel version MEEP (command meep-mpi) could not work. This is due to the old version of Guile 1.8.0 in the system default folder, though a latest Guile 2.0.6 has been installed in /home/ruiwu/install/bin. Anyone who knows how to fix this problem is welcome to contact the author (Rui Wu ruiwu@ece.ucsb.edu).


10/17/2012

The following dependencies have been installed in the above directory :

meep needs guile OK

guile needs libtool OK

guile need libunistring ok

guile need libffi OK

guile needs bdw-gs ok

guile needs 4.2.x or higher version gmp OK

meep needs hdf5 OK

However, the required libctl library are from the following shared directory:

/sw/cnsi/share/libctl

The HDF5, a data format library, is installed in its serial version because there may be some conflicts on the intel parallel interface version.

The Harminv library, which is used to extract resonant frequencies and decay rates, has not been installed for now.