Large scale parallelized 3d mesoscopic simulations of the mechanical response to shear in disordered media
- Luca: put a tree representation of the folders
- Kirsten: make physical introduction of the model (Ref to papers, etc etc)
Required libraries:
- FFTW: fftw-3.3.8.tar.gz
- HDF5: hdf5-1.8.16.tar
- ZLIB: zlib-1.2.11.tar.gz
We define the following variables:
- ROOT=<where you have ELASTO folder>
The parallel version of ELASTO can be compiled both on INTEL or GNU compiler. The env_script folder contains couple of script:
- elasto_intel.sh
- elasto_gnu.sh
both prepare the proper compiling ELASTO enviromnent if we wish to use respectively the intel or gnu compiler.
INTEL:
source $ROOT/env_script/elasto_intel.sh
cd $ROOT/builddir
make
The executable filename elasto.exe is finally created in the $ROOT/builddir folder ready to be run.
It is possible to create the tags to browse the ELASTO code more efficiently.
Required:
ctags
Vi/Vim:
cd $ROOT
ctags -R .
then a file called tags should appear in $ROOT folder. Once you open Vi/Vim set the tag as follow:
:set tags=tags
press enter and hereafter when you move your cursor on a function you can jump directly to its definition typing:
Ctrl+]
and jumping back:
Ctrl+t