{ "info": { "author": "Davis Architecture Research Group (DArchR)", "author_email": "jlowepower@ucdavis.edu", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Science/Research", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 3", "Topic :: System :: Hardware" ], "description": "# gem5art tasks package\n\nThis package contains two parallel task libraries for running gem5 experiments.\nhe actual gem5 experiment can be executed with the help of [Python multiprocessing support](https://docs.python.org/3/library/multiprocessing.html), [Celery](http://www.celeryproject.org/) or even without using any job manager (a job can be directly launched by calling `run()` function of gem5Run object).\nThis package implicitly depends on the gem5art run package.\n\nPlease cite the [gem5art paper](https://arch.cs.ucdavis.edu/papers/2021-3-28-gem5art) when using the gem5art packages.\nThis documentation can be found on the [gem5 website](http://www.gem5.org/documentation/gem5art/)\n\n## Use of Python Multiprocessing\n\nThis is a simple way to run gem5 jobs using Python multiprocessing library.\nYou can use the following function in your job launch script to execute gem5art run objects:\n\n```python\nrun_job_pool([a list containing all run objects you want to execute], num_parallel_jobs = [Number of parallel jobs you want to run])\n```\n\n## Use of Celery\n\nCelery server can run many gem5 tasks asynchronously.\nOnce a user creates a gem5Run object (discussed previously) while using gem5art, this object needs to be passed to a method `run_gem5_instance()` registered with Celery app, which is responsible for starting a Celery task to run gem5. The other argument needed by the `run_gem5_instance()` is the current working directory.\n\nCelery server can be started with the following command:\n\n```sh\ncelery -E -A gem5art.tasks.celery worker --autoscale=[number of workers],0\n```\n\nThis will start a server with events enabled that will accept gem5 tasks as defined in gem5art.\nIt will autoscale from 0 to desired number of workers.\n\nCelery relies on a message broker `RabbitMQ` for communication between the client and workers.\nIf not already installed, you need to install `RabbitMQ` on your system (before running celery) using:\n\n```sh\napt-get install rabbitmq-server\n```\n\n### Monitoring Celery\n\nCelery does not explicitly show the status of the runs by default.\n[flower](https://flower.readthedocs.io/en/latest/), a Python package, is a web-based tool for monitoring and administrating Celery.\n\nTo install the flower package,\n```sh\npip install flower\n```\n\nYou can monitor the celery cluster doing the following:\n\n```sh\nflower -A gem5art.tasks.celery --port=5555\n```\nThis will start a webserver on port 5555.\n\n### Removing all tasks\n\n```sh\ncelery -A gem5art.tasks.celery purge\n```\n\n### Viewing state of all jobs in celery\n\n```sh\ncelery -A gem5art.tasks.celery events\n```\n\n## Tasks API Documentation\n\n```eval_rst\nTask\n----\n\n.. automodule:: gem5art.tasks.tasks\n :members:\n :undoc-members:\n\n.. automodule:: gem5art.tasks.celery\n :members:\n :undoc-members:\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/darchr/gem5art", "keywords": "simulation architecture gem5", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "gem5art-tasks", "package_url": "https://pypi.org/project/gem5art-tasks/", "platform": "", "project_url": "https://pypi.org/project/gem5art-tasks/", "project_urls": { "Bug Reports": "https://github.com/darchr/gem5art/issues", "Documentation": "https://gem5art.readthedocs.io/en/latest/", "Homepage": "https://github.com/darchr/gem5art", "Source": "https://github.com/darchr/gem5art" }, "release_url": "https://pypi.org/project/gem5art-tasks/1.3.1/", "requires_dist": null, "requires_python": ">=3.6", "summary": "A celery app for gem5art", "version": "1.3.1", "yanked": false, "yanked_reason": null }, "last_serial": 9620440, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "7c51228527e91d3fa7f1edbb4a5a46af", "sha256": "d86b879a1b6ac3df2f3d6ece72041fe8d28fe6fbad2870c4aa9ee6e5d346adcf" }, "downloads": -1, "filename": "gem5art-tasks-0.1.1.tar.gz", "has_sig": false, "md5_digest": "7c51228527e91d3fa7f1edbb4a5a46af", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 1178, "upload_time": "2019-10-21T18:13:11", "upload_time_iso_8601": "2019-10-21T18:13:11.350779Z", "url": "https://files.pythonhosted.org/packages/57/b7/a9337e3ee9ea42e9f84ed3838aeca0f7cc0d2cf109b219064dfbb0df262f/gem5art-tasks-0.1.1.tar.gz", "yanked": false, "yanked_reason": null } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "bc57419253455db6636dfcb2dacc8d09", "sha256": "4481315cdf051d8237794e28b10d23e601d49390f1f4391f673bae65fdf96b38" }, "downloads": -1, "filename": "gem5art-tasks-0.1.2.tar.gz", "has_sig": false, "md5_digest": "bc57419253455db6636dfcb2dacc8d09", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 1571, "upload_time": "2019-10-21T18:13:14", "upload_time_iso_8601": "2019-10-21T18:13:14.243950Z", "url": "https://files.pythonhosted.org/packages/b0/6d/55d0f5aacdc15159fb091c545dd75ea444de908ebda04bb21562c6a27f64/gem5art-tasks-0.1.2.tar.gz", "yanked": false, "yanked_reason": null } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "2342b35a16ea81ea3f05be2d35e26cc8", "sha256": "e8044b7ed532f06b86d5c0cd1ae686fa45f8ca9d8314e73d474930079775bbc3" }, "downloads": -1, "filename": "gem5art-tasks-0.1.3.tar.gz", "has_sig": false, "md5_digest": "2342b35a16ea81ea3f05be2d35e26cc8", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 1587, "upload_time": "2019-10-21T18:13:15", "upload_time_iso_8601": "2019-10-21T18:13:15.954781Z", "url": "https://files.pythonhosted.org/packages/48/ac/6705462f84f0ca79679e87c4cb196f74f49682feac01a22042ae597978ba/gem5art-tasks-0.1.3.tar.gz", "yanked": false, "yanked_reason": null } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "b890807dfbf3f55994b3a97f6daec73a", "sha256": "ab704f57f7f1d122849ca5ffc1b871a06233d9c62379b4a0e12d189cfee24524" }, "downloads": -1, "filename": "gem5art-tasks-0.2.0.tar.gz", "has_sig": false, "md5_digest": "b890807dfbf3f55994b3a97f6daec73a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 1592, "upload_time": "2019-10-24T23:39:24", "upload_time_iso_8601": "2019-10-24T23:39:24.998653Z", "url": "https://files.pythonhosted.org/packages/31/8a/3149a742791839ead22326b71c99ac72c4addd5df346bc28a4b2eed5ae65/gem5art-tasks-0.2.0.tar.gz", "yanked": false, "yanked_reason": null } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "3a1585a0c304de8adf395cf758448961", "sha256": "63bdf11531e0d7461fe07ada9a736388c6144887a98b45f6b393a6ad74eb2ba8" }, "downloads": -1, "filename": "gem5art-tasks-0.2.1.tar.gz", "has_sig": false, "md5_digest": "3a1585a0c304de8adf395cf758448961", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 2080, "upload_time": "2019-10-28T21:12:34", "upload_time_iso_8601": "2019-10-28T21:12:34.545696Z", "url": "https://files.pythonhosted.org/packages/44/8e/416eae5a64dfa407261e27ff4a6aa8fdc6e0e499073da147579696caef78/gem5art-tasks-0.2.1.tar.gz", "yanked": false, "yanked_reason": null } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "79454937d71c46fb6cfb4dded3f9933c", "sha256": "989e8d5c787a93b257c7b6f26c3ebd0402ef77fff00d7efffaf14a8a720cdd78" }, "downloads": -1, "filename": "gem5art-tasks-0.3.0.tar.gz", "has_sig": false, "md5_digest": "79454937d71c46fb6cfb4dded3f9933c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3190, "upload_time": "2019-11-10T18:24:05", "upload_time_iso_8601": "2019-11-10T18:24:05.277305Z", "url": "https://files.pythonhosted.org/packages/8a/ec/58db7e861bb4dfedddc6a503ee4f938fd488dae7dbbbe222e8784ae32f6d/gem5art-tasks-0.3.0.tar.gz", "yanked": false, "yanked_reason": null } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "47ed4c0bc111cfccf561842ce067e651", "sha256": "3672ae3fb6553c3accd007b858603517e17344f744f352db6246eed81f06abaa" }, "downloads": -1, "filename": "gem5art-tasks-0.3.1.tar.gz", "has_sig": false, "md5_digest": "47ed4c0bc111cfccf561842ce067e651", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3200, "upload_time": "2019-11-20T04:04:14", "upload_time_iso_8601": "2019-11-20T04:04:14.018480Z", "url": "https://files.pythonhosted.org/packages/6b/72/d406fb7ae0307302c40cc7eb3a44956addad624959773488331629bf0557/gem5art-tasks-0.3.1.tar.gz", "yanked": false, "yanked_reason": null } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "16bf9f2207af9488e9e1e1fe924cf40d", "sha256": "1d53d3f8bd6c74030dff1e270ae7f373838e802da23535f38dfd265fe0006433" }, "downloads": -1, "filename": "gem5art-tasks-0.4.0.tar.gz", "has_sig": false, "md5_digest": "16bf9f2207af9488e9e1e1fe924cf40d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3208, "upload_time": "2019-12-11T05:22:38", "upload_time_iso_8601": "2019-12-11T05:22:38.336833Z", "url": "https://files.pythonhosted.org/packages/a1/3a/7087a67724940c3498b394f8c0de94fe0a4cd8f482e01c7be07fbb90deb0/gem5art-tasks-0.4.0.tar.gz", "yanked": false, "yanked_reason": null } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "b9878e19699ca7e2f96d59fcfbe83f31", "sha256": "b9a749a811b7ec04314c4b6dfeccf67085c30bd2181563aa675b4a059db5d9e7" }, "downloads": -1, "filename": "gem5art-tasks-0.4.1.tar.gz", "has_sig": false, "md5_digest": "b9878e19699ca7e2f96d59fcfbe83f31", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3213, "upload_time": "2019-12-12T21:53:08", "upload_time_iso_8601": "2019-12-12T21:53:08.086276Z", "url": "https://files.pythonhosted.org/packages/03/50/3313d88cc5039412a7dccc8cdf32044affb9e0eac79cef1ace8cb9337ba1/gem5art-tasks-0.4.1.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "151c4623ed90fbfabac9555728e1580f", "sha256": "f51a376483cd7a2a7e861d5f84ec6e722bea67cc1e217b39d865ff7c3407c978" }, "downloads": -1, "filename": "gem5art-tasks-1.0.0.tar.gz", "has_sig": false, "md5_digest": "151c4623ed90fbfabac9555728e1580f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3237, "upload_time": "2020-02-15T08:08:12", "upload_time_iso_8601": "2020-02-15T08:08:12.986599Z", "url": "https://files.pythonhosted.org/packages/f1/ce/4bad10e54f02b4e897e267d091a8b44e9ceb6350c4500ff7560e9cadc832/gem5art-tasks-1.0.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "5c9493d29d6d49e503fc2ca1585dbd11", "sha256": "69bb8978ce4c68b01e19a14e161edc29103fb52a1299ff52e09aeca8176d8bb6" }, "downloads": -1, "filename": "gem5art-tasks-1.0.1.tar.gz", "has_sig": false, "md5_digest": "5c9493d29d6d49e503fc2ca1585dbd11", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3224, "upload_time": "2020-02-18T20:24:54", "upload_time_iso_8601": "2020-02-18T20:24:54.890019Z", "url": "https://files.pythonhosted.org/packages/2a/e7/55fae8a5cacab19e88158ab00f66c9b9fdbdac210977f04fc60e055fd65d/gem5art-tasks-1.0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "72b7ab797b56edb3c9fe372b5dab338a", "sha256": "ae3697fcfc8e89a01b3e99823b8209a104e4fb7b69a43fb5b2921f9a4a309efd" }, "downloads": -1, "filename": "gem5art-tasks-1.1.0.tar.gz", "has_sig": false, "md5_digest": "72b7ab797b56edb3c9fe372b5dab338a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3207, "upload_time": "2020-02-22T22:04:59", "upload_time_iso_8601": "2020-02-22T22:04:59.233010Z", "url": "https://files.pythonhosted.org/packages/42/a2/04bf42ea4f7174a5181e0d00eeb1d8640944c996c31ee13f1dc5d6551b98/gem5art-tasks-1.1.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "8e3ad1a4163da35dd393315fe1f2cd21", "sha256": "61dffb2d73ac68479ca68868cfc45c2620d240cda92f9e0fb5e50dac78588503" }, "downloads": -1, "filename": "gem5art-tasks-1.2.0.tar.gz", "has_sig": false, "md5_digest": "8e3ad1a4163da35dd393315fe1f2cd21", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3560, "upload_time": "2020-08-07T20:02:49", "upload_time_iso_8601": "2020-08-07T20:02:49.422790Z", "url": "https://files.pythonhosted.org/packages/1e/66/6cb3bef81ba6d3f4912d615e0dccb27c5f1bc915acb04f27ea97c6ff0c38/gem5art-tasks-1.2.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "d4cef5acf39bac56a4e32b9deb40b1cb", "sha256": "98b141952d81e687add9eb5ea74910c129afa1df857dbb66a7b173ca04761424" }, "downloads": -1, "filename": "gem5art-tasks-1.3.0.tar.gz", "has_sig": false, "md5_digest": "d4cef5acf39bac56a4e32b9deb40b1cb", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3553, "upload_time": "2020-10-06T15:38:50", "upload_time_iso_8601": "2020-10-06T15:38:50.124598Z", "url": "https://files.pythonhosted.org/packages/ed/23/6dc6e936b10a4e5db35c2105c14fe75c818d6779055b21261c5a6f4db64d/gem5art-tasks-1.3.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "34af6f626b3acd870766be61b18f0d2b", "sha256": "942a6c6e985e9aa24159e46c04c658c991be7fc948b05a674257eda9a5ff6da6" }, "downloads": -1, "filename": "gem5art-tasks-1.3.1.tar.gz", "has_sig": false, "md5_digest": "34af6f626b3acd870766be61b18f0d2b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 4487, "upload_time": "2021-03-03T15:30:03", "upload_time_iso_8601": "2021-03-03T15:30:03.396775Z", "url": "https://files.pythonhosted.org/packages/90/ed/aadad4504a4efe85b5b0e01b388e5c3553acffe600c89eee8e4d5f9995e3/gem5art-tasks-1.3.1.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "34af6f626b3acd870766be61b18f0d2b", "sha256": "942a6c6e985e9aa24159e46c04c658c991be7fc948b05a674257eda9a5ff6da6" }, "downloads": -1, "filename": "gem5art-tasks-1.3.1.tar.gz", "has_sig": false, "md5_digest": "34af6f626b3acd870766be61b18f0d2b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 4487, "upload_time": "2021-03-03T15:30:03", "upload_time_iso_8601": "2021-03-03T15:30:03.396775Z", "url": "https://files.pythonhosted.org/packages/90/ed/aadad4504a4efe85b5b0e01b388e5c3553acffe600c89eee8e4d5f9995e3/gem5art-tasks-1.3.1.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }