Skip to content

stivalaa/culture_cooperation

Repository files navigation

Culture and cooperation in a spatial public goods game

Culture and cooperation in a spatial public goods game

Software

Imported from https://sites.google.com/site/alexdstivala/home/culture_cooperation

This software is free under the terms of the GNU General Public License. It is derived from code developed for an earlier publication Ultrametric distribution of culture vectors in an extended Axelrod model of cultural dissemination. It uses Python and parallelization using MPI (with mpi4py). It also requires the Python libraries NumPy (part of the SciPy package) and igraph.

The Python code was run with NumPy version 1.9.1, SciPy version 0.14.1, igraph version 0.6 and mpi4py version 1.3.1 under Python version 2.7.9 on a Lenovo x86 cluster (992 Intel Haswell compute cores running at 2.3GHz) running Linux (RHEL 6) with Open MPI version 1.10.0. The C++ code was compiled with gcc version 4.9.2.

Running the models

The model can be run with a command line such as: mpirun --mca mpi_warn_on_fork 0 python ./lattice-python-mpi/src/axelrod/geo/expphysicstimeline/multiruninitmain.py m:100 F:5 strategy_update_rule:fermi culture_update_rule:fermi ./lattice-jointactivity-simcoop-social-noise-constantmpcr-cpp-end/model 10000

Reference

If you use our software, data, or results in your research, please cite:

About

Culture and cooperation in a spatial public goods game

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published