Skip to content

Compute_temporal_propagation

Dominique Delande edited this page Apr 29, 2022 · 13 revisions

The script prop/compute_prop.py can be used to propagate in time an initial state.

I strongly recommend to use it from a directory which is not the one of the and-python repository (e.g. obtained using git).

Suppose you have created your local git repository by cloning the main one:

or created a local copy by any method you like, in the directory ~/git/and-python. Then, you copy the parameter file in a local directory:

cd _your_local_directory_ cp ~/git/and-python/prop/params_1d.dat . (or _params_2d.dat_ depending on what you want to run). Then, the script can be simply ran using the command: python ~/git/and-python/prop/compute_prop.py params_1d.dator, if you want to use MPI:mpiexec -n NN python ~/git/and-python/prop/compute_prop.py params_1d.dat` where NN is the number of cores for the parallel computation.

Two exemples of (working?) parameter files are given. The params_1d_so.dat and params_1d_so_jj.dat are apparently buggy |-(.

params_1d.dat

The script can be ran from

Clone this wiki locally