{ "info": { "author": "Octavio Castillo Reyes", "author_email": "octavio.castillo@bsc.es", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: Free for non-commercial use", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3.5", "Topic :: Scientific/Engineering", "Topic :: Software Development :: Libraries" ], "description": "petgem\n======\n\nPETGEM is a parallel python code for 3D Controlled-Source\nElectromagnetic Method (3D CSEM) in geophysics using high-order edge finite\nelements (N\u00e9d\u00e9lec finite elements).\n\n\nRequirements\n------------\n\nPETGEM is known to run on various flavors of Linux clusters. Its requirements are:\n\n* `PETSc `__ (builded version for **COMPLEX-VALUED NUMBERS**) for the use of direct/iterative parallel solvers\n* `Python 3 `__ (versions 3.5.2 and 3.6.3 have been tested)\n* `Numpy `__ for arrays manipulation\n* `Scipy `__ for numerical operations\n* `Blessings `_ for terminal styling and positioning\n* `Sphinx `__ and `LaTeX `__ (textlive) to generate documentation\n* `Petsc4py `__ for parallel computations on distributed-memory platforms. It allows the use of parallel direct/iterative solvers from `PETSc `_\n\nOn Linux, consult the package manager of your preference. PETGEM can be\nused without any installation by running the kernel from the top-level\ndirectory of the distribution.\n\n\nInstall\n-------\n\n* Following commands may require root privileges\n\n* Download `PETSc `__ (PETSc 3.7, 3.8, and 3.9 have been tested)\n\n* Uncompress the PETSc archive (in this example, using PETSc 3.9.3)::\n\n $ tar zxvf petsc-3.9.3.tar.gz\n\n* Configure and build PETSc. The configuration options depend on the calculations you want to perform (complex- or real-valued) as well as your compiler/MPI/Blas/Lapack setup. For PETGEM executions, **PETSC MUST BE BUILD FOR COMPLEX-VALUED NUMBERS**. In order to avoid incompatibilities between PETSC, petsc4py and PETGEM, we highly recommend the following configuration lines. Please, visit PETSc website for advanced configuration options. If you have a clean environment (not working MPI/Blas/Lapack), then run::\n\n $ cd petsc-3.9.3\n $ export PETSC_DIR=$PWD\n $ export PETSC_ARCH=arch-linux2-c-debug\n\n* If you do not want support for MUMPS, run following configure line::\n\n $ ./configure --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --download-mpich --download-fblaslapack --with-scalar-type=complex\n\n* If you want support for MUMPS, please add following options to previous configure line::\n\n $ --download-mumps --download-scalapack --download-parmetis --download-metis --download-ptscotch --download-cmake\n\n* Further, to activate GPUs support, please add following options to previous configure line::\n\n $ --with-cuda=1 --with_cuda_dir=PATH\n\n where ``PATH`` is the directory of your CUDA libraries. \n\n* Then, build and install PETSc::\n\n $ make $PETSC_DIR $PETSC_ARCH all\n $ make $PETSC_DIR $PETSC_ARCH test\n $ make $PETSC_DIR $PETSC_ARCH streams\n\n* Ensure your ``mpicc`` compiler wrapper is on your search path::\n\n $ export PATH=\"${PETSC_DIR}/${PETSC_ARCH}/bin:${PATH}\"\n\n* Ensure you have a Numpy installed::\n\n $ pip3 install numpy\n\n* And finally, install PETGEM with its dependencies (`Scipy `_ , `Blessings `__, `Sphinx `__, `Petsc4py `__) by typing::\n\n $ pip3 install petgem\n\n\nCitations\n---------\n\nIf PETGEM been significant to a project that leads to an academic\npublication, please acknowledge that fact by citing the project:\n\n* Castillo-Reyes, O., de la Puente, J., Cela, J. M. (2018).\n *PETGEM: A parallel code for 3D CSEM forward modeling using edge finite\n elements*. Computers & Geosciences, vol 119: 123-136. ISSN 0098-3004,\n Elsevier. https://doi.org/10.1016/j.cageo.2018.07.005\n\n* Castillo-Reyes, O., de la Puente, J., Cela, J.M. (2017).\n *Three-Dimensional CSEM Modelling on Unstructured Tetrahedral Meshes\n Using Edge Finite Elements*, Communications in Computer and\n Information Science, vol 697: 247-256. ISBN 978-3-319-57971-9\n Springer, Cham. https://doi.org/10.1007/978-3-319-57972-6_18\n", "description_content_type": "", "docs_url": null, "download_url": "http://petgem.bsc.es", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://www.bsc.es/castillo-octavio", "keywords": "3D CSEM, edge finite elements, HPC, petsc, petsc4py.", "license": "GPLv3.0", "maintainer": "", "maintainer_email": "", "name": "petgem", "package_url": "https://pypi.org/project/petgem/", "platform": "Linux", "project_url": "https://pypi.org/project/petgem/", "project_urls": { "Download": "http://petgem.bsc.es", "Homepage": "https://www.bsc.es/castillo-octavio" }, "release_url": "https://pypi.org/project/petgem/0.5/", "requires_dist": null, "requires_python": "", "summary": "Parallel python code for electromagnetic modeling in geophysics", "version": "0.5" }, "last_serial": 4355958, "releases": { "0.4": [ { "comment_text": "", "digests": { "md5": "5e5fd412657693637e8cf2a04b7c938d", "sha256": "b5822386abf4e8734c26b529145b96b837abe8063cb2eaf86756c202f488f609" }, "downloads": -1, "filename": "petgem-0.4.tar.gz", "has_sig": false, "md5_digest": "5e5fd412657693637e8cf2a04b7c938d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 53072275, "upload_time": "2018-02-21T17:44:59", "url": "https://files.pythonhosted.org/packages/cb/d4/f9d012e17a839015d952f8ea0d20b2cbcbe17ffe2575a246db3cbddc68f9/petgem-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "982bc6d73dfc785c6f739c1995edb545", "sha256": "c20903575ce800ecd17829384c2ec90af9ad7af4ca8418c11e386c6d5ac5c8e9" }, "downloads": -1, "filename": "petgem-0.5.tar.gz", "has_sig": false, "md5_digest": "982bc6d73dfc785c6f739c1995edb545", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4366646, "upload_time": "2018-10-09T13:58:18", "url": "https://files.pythonhosted.org/packages/ed/c5/4e1f076e474e8c3f59c5ea19540f8923d548e3b6d80577576cc008579001/petgem-0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "982bc6d73dfc785c6f739c1995edb545", "sha256": "c20903575ce800ecd17829384c2ec90af9ad7af4ca8418c11e386c6d5ac5c8e9" }, "downloads": -1, "filename": "petgem-0.5.tar.gz", "has_sig": false, "md5_digest": "982bc6d73dfc785c6f739c1995edb545", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4366646, "upload_time": "2018-10-09T13:58:18", "url": "https://files.pythonhosted.org/packages/ed/c5/4e1f076e474e8c3f59c5ea19540f8923d548e3b6d80577576cc008579001/petgem-0.5.tar.gz" } ] }