Skip to content

domaubert/EMMA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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