Nicolas Tetreault <[EMAIL PROTECTED]> writes:

> 
> Hi all,
> I figured out the lapack compile problems finally.  Now everything
> compiles fine, and runs well... except I never get any output from
> harminv.
> 
> For example, if I run the ring example from the tutorial on the super
> computer either with meep, meep-mpi (with mpirun) or meep (with mpirun
> -nonmpi), I get this output:
> 
> -----------
> Initializing structure...
> Working in 2D dimensions.
>      cylinder, center = (0,0,0)
>           radius 2, height 1e+20, axis (0, 0, 1)
>           dielectric constant epsilon = 11.56
>      cylinder, center = (0,0,0)
>           radius 1, height 1e+20, axis (0, 0, 1)
>           dielectric constant epsilon = 1
> time for set_epsilon = 0.058553 s
> -----------
> creating output file "./ring-eps-000000.00.h5"...
> harminv0:, frequency, imag. freq., Q, |amp|, amplitude, error
> run 0 finished at t = 300.0 (6000 timesteps)
> 
> Elapsed run time = 2.35695 s


It turns out that I had to compile meep itself with g++ instead of icpc.  For
others having this problem on a cluster setup to use intel compilers, you can
use CC="mpiCC -CC=gcc" for harminv and CXX="mpiCC -CC=g++" for meep.

Also, for the configuration script to find the mpi libraries, I had to run it
like this:

./configure ac_cv_prog_MPICXX="mpiCC -CC=g++" CXX="mpiCC -CC=g++" --with-mpi

Also, for some reason I would get errors on because of -DVERSION with spaces,
e.g. "meep 0.10", i had to go in the Makefile and change them to meep_0.10 for
example.

Hopefully that's the last of my problem!

Nic


_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to