There is almost no necessary dependency except blas and fftw.

I would like to show you the MEEP part, but the files are too big (>
10MB), can not be shared by email.

If you do have POSIX system or better GNU tool chain for the cross
compiling, just compile fftw as well as blas/lapack at first and call
the configuration script of meep with parameters like

        --without-hdf5 --without-libctl

and include some
        --build  and/or --host
options for the cross compilation case. So it will get neither hdf5 nor
libctl dependencies. MPI is disabled by default. If you have Harminv
compiled before, harminv will be "automatically" detected by the script.

If there is no GNU tool chain, you have to configure manually (like the
Visual Studio case). Thanks to the developer of Meep, the code is
relative clean and understandable. Also the manually configuration is
obviously.


On 08.06.2013 22:10, Fernando Carvalho wrote:
> Would you mind sharing with me your full project folder?
> This could help me a lot understanding MEEP dependencies.
> 
> 
> On Sat, Jun 8, 2013 at 4:32 PM, Chuanren Wu <wuchuan...@gmail.com
> <mailto:wuchuan...@gmail.com>> wrote:
> 
>     Hi,
> 
>     POSIX is enough.
>     Also Harminv does not need any dependency.
>     Do you have fftw and blas on that architecture?
> 
>     The configurations also can be done manually with config.h
>     Maybe you need to change some pragmas and replace several IO operations.
> 
>     I'v only compiled it with MS Visual Studio, some screenshots can be
>     found in
>     http://www.stud.uni-karlsruhe.de/~uajid/MeepPort/
>     If you want to try native client it should be also possible.
> 
> 
>     On 08.06.2013 20:01, Fernando Carvalho wrote:
>     > I would like to compile it, using a custom compiler for a different
>     > architecture.
>     > Thus I need to compile all dependencies with this special
>     architecture,
>     > which will only provide standard POSIX APIs.
>     > Would you mind, helping me find the flags for changing the
>     compiler and
>     > removing dependencies on HDF5, LIBCTL and MPI?
>     > I'm going to need Harminv, as well, for calculating the quality factor
>     > of photonic crystals I'm optimizing.
>     >
>     >
>     > On Sat, Jun 8, 2013 at 12:56 PM, Wu Chuanren <wuchuan...@gmail.com
>     <mailto:wuchuan...@gmail.com>
>     > <mailto:wuchuan...@gmail.com <mailto:wuchuan...@gmail.com>>> wrote:
>     >
>     >     Hello,
>     >
>     >     what do you mean "without local system dependencies" ?
>     >     It is possible to compile it without hdf5, libctl and mpi (that is
>     >     what i usually do).
>     >     However you will still need blas/lapack and some printf stuff.
>     >
>     >     Regards
>     >
>     >
>     >     2013/6/8 Fernando Carvalho <fernandocarvalhocoe...@gmail.com
>     <mailto:fernandocarvalhocoe...@gmail.com>
>     >     <mailto:fernandocarvalhocoe...@gmail.com
>     <mailto:fernandocarvalhocoe...@gmail.com>>>:
>     >     > Dear MEEP developers,
>     >     >
>     >     > I would like to compile libmeep with an embedded compiler to run
>     >     > applications in a web browser through Native Client, so I could
>     >     make my
>     >     > application available to a broader audience.
>     >     > Since, I can rely on the default system libraries, I would
>     like to
>     >     ask here
>     >     > if someone have ever compiled libmeep without local system
>     >     dependencies.
>     >     > I really, don't need MPI support, nor libctl; only a quick
>     way to
>     >     statically
>     >     > link my C++ main application to libmeep is enough to get it
>     running.
>     >     >
>     >     > Many thanks in advance,
>     >     >
>     >     > --
>     >     > Fernando
>     >     >
>     >     > _______________________________________________
>     >     > meep-discuss mailing list
>     >     > meep-discuss@ab-initio.mit.edu
>     <mailto:meep-discuss@ab-initio.mit.edu>
>     <mailto:meep-discuss@ab-initio.mit.edu
>     <mailto:meep-discuss@ab-initio.mit.edu>>
>     >     > http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss
>     >
>     >
>     >
>     >
>     > --
>     > Fernando
> 
> 
> 
> 
> 
> -- 
> Fernando


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to