资源说明:
How to get:
git clone https://github.com/domaubert/EMMA.git
decompress the archive in directory EMMADIR
how to build:
cd EMMADIR
# mv the default configuration/compilation files in init to the root
# of EMMADIR
cp init/param_init.mk param.mk
cp init/param_init.h src/param.h
# in EMMADIR, build the binary
mkdir obj
make
if you want to use HDF5:
apt-get install libhdf5-mpich-dev # on ubuntu
at this stage go to your working directory WORKDIR and create the dependencies
cd WORKDIR
ln -s EMMADIR/emmacpu ./ #create a local symbolic link to the binary
mkdir data # will store the results (or create a symoblic link)
ln -s EMMADIR ./SRC #create a symlink to the EMMA directory
how to launch
cd WORKDIR
cp EMMADIR/init/param_init.run ./param.run
cp EMMADIR/init/param_init.run.grid_output ./param.run.grid_output
cp EMMADIR/init/param_init.run.part_output param.run.part_output
mpirun -np N ./emmacpu param.run
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。
English
