Package Details: meep 1.23.0-2

Git Clone URL: https://aur.archlinux.org/meep.git (read-only, click to copy)
Package Base: meep
Description: A free finite-difference time-domain simulation software package
Upstream URL: http://ab-initio.mit.edu/wiki/index.php/Meep
Licenses: GPL
Submitter: None
Maintainer: haawda
Last Packager: haawda
Votes: 12
Popularity: 0.000005
First Submitted: 2007-01-12 12:09 (UTC)
Last Updated: 2022-06-05 21:48 (UTC)

Latest Comments

MarsSeed commented on 2022-06-05 17:28 (UTC)

Project moved to a new repo, please kindly update the URLs:

https://github.com/NanoComp/meep

aclis commented on 2019-07-15 16:00 (UTC)

It is without python

sirocco commented on 2018-07-06 07:42 (UTC)

Still error:


  CXX      GDSIIgeom.lo
  CXXLD    libmeepgeom.la
  CXX      bend-flux-ll.o
  CXXLD    bend-flux-ll
make[2]: Leaving directory '/home/user1/linux/AUR/meep/src/meep-1.5.0/libmeepgeom'
Making all in python
make[2]: Entering directory '/home/user1/linux/AUR/meep/src/meep-1.5.0/python'
swig -Wextra -I../src -I../libmeepgeom  -I..  -outdir . -c++ -python -o meep-python.cpp ./meep.i
swig -Wextra -I../src -I../libmeepgeom  -I..   -outdir . -c++ -python -o mpb-python.cpp ./mpb.i
./mpb.i:364: Error: Unable to find 'pympb.hpp'
make[2]:  [Makefile:1263: mpb-python.cpp] Error 1
make[2]: Leaving directory '/home/user1/linux/AUR/meep/src/meep-1.5.0/python'
make[1]:  [Makefile:507: all-recursive] Error 1
make[1]: Leaving directory '/home/user1/linux/AUR/meep/src/meep-1.5.0'
make: *** [Makefile:416: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

heitzmann commented on 2018-07-05 12:36 (UTC)

@sirocco

gfortran has been updated to libgfortran.so.5, so you need to recompile all packages that depend on it.

sirocco commented on 2018-07-05 10:05 (UTC)

 /usr/bin/ld: warning: libgfortran.so.4, needed by /lib/../lib/libharminv.so, not found (try using -rpath or -rpath-link)   
 make[2]: Leaving directory '/home/user1/linux/AUR/meep/src/meep-1.5.0/libmeepgeom'   
 Making all in python   
 make[2]: Entering directory '/home/user1/linux/AUR/meep/src/meep-1.5.0/python'   
 swig -Wextra -I../src -I../libmeepgeom  -I..  -outdir . -c++ -python -o meep-python.cpp ./meep.i   
 swig -Wextra -I../src -I../libmeepgeom  -I..   -outdir . -c++ -python -o mpb-python.cpp ./mpb.i   
 ./mpb.i:364: Error: Unable to find 'pympb.hpp'   
 make[2]: *** [Makefile:1263: mpb-python.cpp] Error 1   
 make[2]: Leaving directory '/home/user1/linux/AUR/meep/src/meep-1.5.0/python'   
 make[1]: *** [Makefile:507: all-recursive] Error 1   
 make[1]: Leaving directory '/home/user1/linux/AUR/meep/src/meep-1.5.0'   
 make: *** [Makefile:416: all] Error 2   
 ==> ERROR: A failure occurred in build().   
     Aborting...

haawda commented on 2018-03-17 12:08 (UTC)

Try replacing harminv with harminv-git.

UsernameUsername commented on 2018-03-16 15:46 (UTC)

Hi, i have problems compiling this:

https://ptpb.pw/elxW.txt

Any idea what is wrong?

Thanks

Relkein commented on 2018-01-31 19:28 (UTC)

lmello, try rebuilding and installing libctl, adding CFLAGS='fPIC' option to the configure step in build() in the PKGBUILD

./autogen.sh ./configure --prefix=/usr LIBS="-lm" CFLAGS='-fPIC' make

this fixed this error for me.

haawda commented on 2018-01-21 13:33 (UTC)

Try with the newest PKGBUILD.

lmello commented on 2018-01-20 22:02 (UTC)

Build error:

make[3]: Entering directory '/tmp/yaourt-tmp-lmello/aur-meep/src/meep-1.4.0/python' CXXLD _meep.la /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.1/../../../../lib/libctlgeom.a(libctlgeom_la-geom.o): relocation R_X86_64_PC32 against symbol `geometry_lattice' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status make[3]: [Makefile:674: _meep.la] Error 1 make[3]: Leaving directory '/tmp/yaourt-tmp-lmello/aur-meep/src/meep-1.4.0/python' make[2]: [Makefile:604: all] Error 2 make[2]: Leaving directory '/tmp/yaourt-tmp-lmello/aur-meep/src/meep-1.4.0/python' make[1]: [Makefile:506: all-recursive] Error 1 make[1]: Leaving directory '/tmp/yaourt-tmp-lmello/aur-meep/src/meep-1.4.0' make: [Makefile:415: all] Error 2

heitzmann commented on 2016-12-02 19:30 (UTC)

There seems to be a compatibility issue between the latest guile and meep: https://www.mail-archive.com/meep-discuss@ab-initio.mit.edu/msg05683.html Downgrading guile to 2.11 does solve the issue for the time being.

heitzmann commented on 2016-10-29 10:23 (UTC) (edited on 2016-10-29 10:25 (UTC) by heitzmann)

It is working for me with hdf5-cpp-fortran and running meep-mpi. Also, I usually make sure meep is re-compiled after any changes in its dependencies. This issue seems to be related to the parallel version of hdf5: https://bitbucket.org/fenics-project/dolfin/issues/465

edmonde commented on 2016-10-29 02:01 (UTC)

Is this package still working correctly for anyone? I successfully compiled this with all the most up-to-date dependencies without changing any flags but then received this error when running (meep bend-flux.ctl) HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 0: #000: H5F.c line 579 in H5Fopen(): unable to open file major: File accessibilty minor: Unable to open file ..... ...... ...... meep: error on line 254 of h5file.cpp: error opening HDF5 input file

McNoggins commented on 2016-01-18 20:59 (UTC)

heitzmann, thanks for the reply. Indeed, adding "--enable-shared" to CXXFLAGS while building mpb fixes the problem. I will update the mpb PKGBUILD shortly.

heitzmann commented on 2016-01-18 20:30 (UTC)

McNoggins, it seems the problem might be because meep is compiling with support for mpb on your machine (I suspect you have mpb installed). In that case, try recompiling mpb with the -fPIC option as indicated in the error report. Does that work?

McNoggins commented on 2016-01-18 14:57 (UTC)

Should be possible to compile by removing the "--enable-shared" compilation flag.

McNoggins commented on 2016-01-08 14:22 (UTC) (edited on 2016-01-08 14:24 (UTC) by McNoggins)

I get build errors ------------ CXXLD libmeep_mpi.la /usr/bin/ld: /lib/../lib/libmpb.a(libmatrices_la-eigensolver.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /lib/../lib/libmpb.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status Makefile:482: recipe for target 'libmeep_mpi.la' failed make[3]: *** [libmeep_mpi.la] Error 1 make[3]: Leaving directory '/tmp/yaourt-tmp-denis/aur-meep/src/meep-1.3/src' Makefile:411: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/tmp/yaourt-tmp-denis/aur-meep/src/meep-1.3/src' Makefile:481: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/tmp/yaourt-tmp-denis/aur-meep/src/meep-1.3' Makefile:389: recipe for target 'all' failed make: *** [all] Error 2

heitzmann commented on 2015-08-14 19:39 (UTC)

Sure, no problem!

haawda commented on 2015-08-14 17:43 (UTC)

heitzmann, I just saw that you both maintain libctl and python2-meep, so maybe you would be a better maintained for the "sitting-in-between" meep package.

haawda commented on 2015-08-14 17:39 (UTC)

seems correct, fixed.

heitzmann commented on 2015-08-13 13:49 (UTC)

Meep doesn't need the guile1.8 dependency, which is automatically installed by libctl. Also, doesn't meep work with guile 2 already?

haawda commented on 2014-08-30 11:03 (UTC)

No, AFAIK not. The two projects come from the same university.

anstmich commented on 2014-08-29 23:18 (UTC)

Is there something that must be added to the pkgbuild in order to add MPB support to meep? I have installed MPB (via aur) and have tried recompiling meep, however it fails to recognize that MPB is supported.

McNoggins commented on 2014-04-03 12:57 (UTC)

There has been a new release yesterday! http://ab-initio.mit.edu/wiki/index.php/Meep_download

ertua commented on 2014-02-19 18:47 (UTC)

Actually, take the "If" I mentioned literally. So as long as you can't take advantage of serious multi-processor hardware, you won't lose anything by omitting --with-mpi

ertua commented on 2014-01-31 23:32 (UTC)

If you want MPI parallelisation, add --with-mpi to ./configure Cf http://ab-initio.mit.edu/wiki/index.php/Parallel_Meep

haawda commented on 2014-01-17 05:59 (UTC)

Done, thanks.

mabl commented on 2014-01-16 20:35 (UTC)

Could you add the --enable-shared option? Then python-meep can be compiled against it as well.

venvan commented on 2013-11-16 06:54 (UTC)

Solved by adding 'staticlibs' options when building libctl and harminv.

haawda commented on 2013-11-03 18:47 (UTC)

Cannot reproduce, works for me.

venvan commented on 2013-11-03 02:02 (UTC)

build fail with checking for harminv >= 1.1... yes checking HARMINV_CFLAGS... checking HARMINV_LIBS... -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2 -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../.. -lharminv -llapack -lblas -lm -lgfortran -lm -lgcc_s -lquadmath checking mpb.h usability... no checking mpb.h presence... no checking for mpb.h... no checking for cblas_cgemm... no checking for cblas_cgemm in -lgslcblas... no checking for gsl_sf_bessel_Jn in -lgsl... no configure: WARNING: Missing GNU GSL library...Bessel-function field initialization will not be supported. checking for deflate in -lz... no configure: WARNING: zlib is required for HDF5! checking for H5Pcreate in -lhdf5... no configure: WARNING: Couldn't find the HDF5 library!! Switching to --without-hdf5. checking for guile-config... guile-config checking if linking to guile works... no configure: error: guile-config is broken ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build meep. ==> Restart building meep ? [y/N] ==> ----------------------------- ==>

haawda commented on 2012-10-11 18:07 (UTC)

Updated

commented on 2012-10-11 17:37 (UTC)

Hi, there's new version available: 1.2 md5sum: 80361e2a63419797f4edc8ebd30a4df0

haawda commented on 2010-10-24 17:44 (UTC)

Adopted.