xmds-1.4-1
所属分类:xml/soap/webservice
开发工具:C++
文件大小:447KB
下载次数:5
上传日期:2005-01-25 10:07:51
上 传 者:
csf
说明: XMDS is a code generator that integrates equations. You write them down in human readable form in a XML file, and it goes away and writes and compiles a C++ program that integrates those equations as fast as it can possibly be done in your architecture.
文件列表:
xmds-1.4-1\xmds-1.4-1\acinclude.m4 (9830, 2004-01-30)
xmds-1.4-1\xmds-1.4-1\aclocal.m4 (40686, 2004-10-25)
xmds-1.4-1\xmds-1.4-1\acx_mpi.m4 (3184, 2003-10-22)
xmds-1.4-1\xmds-1.4-1\acx_pthread.m4 (8996, 2003-10-07)
xmds-1.4-1\xmds-1.4-1\AUTHORS (172, 2004-01-30)
xmds-1.4-1\xmds-1.4-1\ChangeLog (136802, 2004-11-03)
xmds-1.4-1\xmds-1.4-1\config.guess (39923, 2003-10-17)
xmds-1.4-1\xmds-1.4-1\config.sub (28189, 2003-09-09)
xmds-1.4-1\xmds-1.4-1\configure (262572, 2004-10-25)
xmds-1.4-1\xmds-1.4-1\configure.in (17415, 2004-10-25)
xmds-1.4-1\xmds-1.4-1\COPYING (17992, 2003-07-01)
xmds-1.4-1\xmds-1.4-1\depcomp (13866, 2004-04-19)
xmds-1.4-1\xmds-1.4-1\examples\atomlaser.xmds (5696, 2004-11-03)
xmds-1.4-1\xmds-1.4-1\examples\branch.xmds (4727, 2004-06-22)
xmds-1.4-1\xmds-1.4-1\examples\brusselator.xmds (5147, 2004-08-03)
xmds-1.4-1\xmds-1.4-1\examples\catcycle.xmds (4362, 2004-06-22)
xmds-1.4-1\xmds-1.4-1\examples\chain.xmds (5810, 2004-08-03)
xmds-1.4-1\xmds-1.4-1\examples\chemkin.xmds (4335, 2004-06-22)
xmds-1.4-1\xmds-1.4-1\examples\diffusion.xmds (3529, 2004-06-15)
xmds-1.4-1\xmds-1.4-1\examples\duffing.xmds (3726, 2004-06-22)
xmds-1.4-1\xmds-1.4-1\examples\fibre.xmds (3518, 2004-07-14)
xmds-1.4-1\xmds-1.4-1\examples\fisher_reaction_diffusion.xmds (5145, 2004-07-14)
xmds-1.4-1\xmds-1.4-1\examples\fullpos3D.xmds (8266, 2004-07-14)
xmds-1.4-1\xmds-1.4-1\examples\gaugeatomlaser.xmds (12532, 2004-07-14)
xmds-1.4-1\xmds-1.4-1\examples\highdim.xmds (9484, 2004-10-25)
xmds-1.4-1\xmds-1.4-1\examples\hires.xmds (4711, 2004-07-14)
xmds-1.4-1\xmds-1.4-1\examples\krebs.xmds (4785, 2004-06-22)
xmds-1.4-1\xmds-1.4-1\examples\kubo.xmds (2873, 2004-10-25)
xmds-1.4-1\xmds-1.4-1\examples\lane_emden.xmds (4161, 2004-05-31)
xmds-1.4-1\xmds-1.4-1\examples\lorenz.xmds (3855, 2004-07-14)
xmds-1.4-1\xmds-1.4-1\examples\lotka_volterra.xmds (4119, 2004-04-28)
xmds-1.4-1\xmds-1.4-1\examples\ndparamp.xmds (4662, 2004-07-14)
xmds-1.4-1\xmds-1.4-1\examples\nlse.xmds (4052, 2004-07-14)
xmds-1.4-1\xmds-1.4-1\examples\oregonator.xmds (5333, 2004-08-03)
xmds-1.4-1\xmds-1.4-1\examples\paraxial_wave.xmds (4853, 2004-06-05)
xmds-1.4-1\xmds-1.4-1\examples\pendulum.xmds (3832, 2004-07-14)
xmds-1.4-1\xmds-1.4-1\examples\ring_modulator.xmds (6325, 2004-07-14)
xmds-1.4-1\xmds-1.4-1\examples\sine.xmds (2674, 2004-07-14)
xmds-1.4-1\xmds-1.4-1\examples\soliton.xmds (3701, 2004-07-14)
xmds-1.4-1\xmds-1.4-1\examples\thermkin.xmds (6259, 2004-08-03)
... ...
# $Id: README,v 1.8 2004/07/19 03:52:54 paultcochrane Exp $
This is XMDS: eXtensible Multi Dimensional Simulator; an open source
numerical simulation package that integrates equations. You write them
down in human readable form in an XML file, and it goes away and
writes and compiles a C++ program that integrates those equations as
fast as it can possibly be done in your architecture.
INSTALLATION
------------
See the file `INSTALL' in the current directory. Supplimentary to
that information (which is the generic GNU stuff at this stage) one
can use the following switches to customise the installation at the
configuration step (i.e. when you run ./configure):
--with-user
This option installs xmds, xsil2graphics and xmdscomplex.h
into $HOME/bin (by default the configure script installs into
/usr/local (or /usr depending upon your system)
--with-fftw-path=
This option tells the configure script to look elsewhere than
/usr/include and /usr/lib or for the relevant fftw files.
e.g. --with-fftw-path=/usr/local
--enable-mpi
This option has no arguments and must be set if you wish to
use mpi.
--with-mpi-path=
This option tells configure to look elsewhere other than
/usr/include and /usr/lib for the relevant mpi files.
--with-mpi-libs=
This option tells the configure script the extra libraries
that may be needed to properly check for MPI on your system.
e.g. --with-mpi-libs=-llam (if you have the LAM implementation
of MPI)
--with-mpi-compiler=
This option sets the mpi compiler to whatever you have on your
system. For example, on some systems the mpi compiler isn't
mpicc it is cxx, so in this case you would use
--with-mpi-compiler=cxx to tell configure the correct compiler
to use.
This information (and more) is also supplied when one asks the
configure script for help; i.e. when you run the command:
bash$ ./configure --help
Other ways to alter the configuration (place these options on the
command line BEFORE ./configure, e.g. CC=gcc ./configure):
CC=
Defines the C compiler to use for compilation of xmds itself.
Examples: CC=gcc or CC=icc (Intel C/C++ compiler)
CXX=
Defines the C++ compiler to use for compilation of xmds.
Examples: CXX=g++ or CXX=icc (Intel C/C++ compiler)
XMDS_CC=
Defines the C/C++ compiler to use for compilation of xmds
simulations. It is better to use a C++ compiler here than a C
compiler with C++ extensions.
Examples: XMDS_CC=g++ or XMDS_CC=cxx
XMDS_CFLAGS=
Defines the C/C++ compiler flags to use for the compilation of xmds
simulations.
Examples: XMDS_CFLAGS="-O2" or XMDS_CFLAGS="-O3 -funroll-all-loops"
MAN PAGES
---------
The manual (man pages) for xmds, xsil2graphics and loadxsil.m are
installed with xmds during the 'make install' process. If you have
installed xmds in a non-standard location, or in your home directory,
and you want to view the man pages with the 'man' command, you will
need to append the relevant path to your MANPATH environment
variable. For example, if you have installed xmds in your home
directory, the man pages will be located in $HOME/man/. You
therefore need to run the following command (assuming your shell is
bash):
bash$ export MANPATH=${MANPATH}:${HOME}/man
You will now be able to use the command:
bash$ man xmds
to view the xmds manual page.
TRY IT OUT!
-----------
Try out the nlse.xmds example in the examples/ directory. Type:
.../xmds-1.3-5> cd examples
.../xmds-1.3-5/examples> xmds nlse.xmds
This makes an executable file called nlse, which includes all the
high-level simulation data in nlse.xmds, in the form of an executable,
compiled C++ program. All you have to do is run the code to get the
results of your simulation:
.../xmds-1.3-5/examples> nlse
The output is in the file nlse.xsil, in scientific interchange xml
format. There is a utilitly installed to convert this into other
formats for plotting:
.../xmds-1.3-5/examples> xsil2graphics nlse.xsil
once in matlab, type:
>>nlse
>>mesh(t_1,z_1,pow_dens_1')
OR
.../xmds-1.3-5/examples> xsil2graphics --scilab nlse.xsil
and once in scilab, type:
>>exec('nlse.sci')
>>plot3d(t_1,z_1,pow_dens_1)
近期下载者:
相关文件:
收藏者: