{"id":19705913,"url":"https://github.com/llnl/amg","last_synced_at":"2025-04-29T16:32:05.853Z","repository":{"id":66082875,"uuid":"100623600","full_name":"LLNL/AMG","owner":"LLNL","description":"Algebraic multigrid benchmark","archived":false,"fork":false,"pushed_at":"2024-07-09T08:41:22.000Z","size":629,"stargazers_count":33,"open_issues_count":5,"forks_count":26,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-05T18:05:35.414Z","etag":null,"topics":["proxy-application"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LLNL.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-08-17T16:24:00.000Z","updated_at":"2025-02-28T16:52:16.000Z","dependencies_parsed_at":"2023-02-24T03:45:11.159Z","dependency_job_id":null,"html_url":"https://github.com/LLNL/AMG","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLNL%2FAMG","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLNL%2FAMG/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLNL%2FAMG/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLNL%2FAMG/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LLNL","download_url":"https://codeload.github.com/LLNL/AMG/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251540290,"owners_count":21605878,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["proxy-application"],"created_at":"2024-11-11T21:31:44.603Z","updated_at":"2025-04-29T16:32:00.844Z","avatar_url":"https://github.com/LLNL.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"#BHEADER**********************************************************************\n# Copyright (c) 2017,  Lawrence Livermore National Security, LLC.\n# Produced at the Lawrence Livermore National Laboratory.\n# Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.\n# This file is part of AMG.  See files COPYRIGHT and README for details.\n#\n# AMG is free software; you can redistribute it and/or modify it under the\n# terms of the GNU Lesser General Public License (as published by the Free\n# Software Foundation) version 2.1 dated February 1999.\n#\n# This program is distributed in the hope that it will be useful, but WITHOUT\n# ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY or\n# FITNESS FOR A PARTICULAR PURPOSE.  See the terms and conditions of the\n# GNU General Public License for more details.\n# \n# You should have received a copy of the GNU Lesser General Public License\n# along with this program; if not, write to the Free Software Foundation,\n# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n#\n#EHEADER**********************************************************************\n\n\nGeneral description:\n\nAMG is a parallel algebraic multigrid solver for linear systems arising from\nproblems on unstructured grids.  The driver provided with AMG builds linear \nsystems for various 3-dimensional problems.\nAMG is written in ISO-C.  It is an SPMD code which uses MPI and OpenMP \nthreading within MPI tasks. Parallelism is achieved by data decomposition. The \ndriver provided with AMG achieves this decomposition by simply subdividing \ndriver provided with AMG achieves this decomposition by simply subdividing \nthe grid into logical P x Q x R (in 3D) chunks of equal size.\nFor more information, see the amg.readme file in the docs directory of the\ndistribution.\n%==========================================================================\n%==========================================================================\n\nBuilding the Code\n\nAMG uses a simple Makefile system for building the code.  All compiler and\nlink options are set by modifying the file 'AMG/Makefile.include'\nappropriately.  \n\nTo build the code, first modify the 'Makefile.include' file appropriately, \n(it is recommended to use the options -DHYPRE_BIGINT )\nthen type (in the AMG directory)\n\n  make\n\nOther available targets are\n\n  make clean        (deletes .o files)\n  make veryclean    (deletes .o files, libraries, and executables)\n\nTo configure the code to run with:\n\n1 - MPI only , add '-DTIMER_USE_MPI' to the 'INCLUDE_CFLAGS' line \n    in the 'Makefile.include' file and use a valid MPI.\n2 - OpenMP with MPI, add vendor dependent compilation flag for OMP\n3 - to be able to solve problems that are larger than 2^31-1,\n    add '-DHYPRE_BIGINT'\n4 - For additional optimizations in MPI add '-DHYPRE_USING_PERSISTENT_COMM'\n5 - For additional optimizations in OpenMP add '-DHYPRE_HOPSCOTCH'\n%==========================================================================\n%==========================================================================\n\nFigure of Merit (FOM)\n\nFor problem 1, \nthere are 2 FOMs printed out at the end of each run:\nnnz_AP / setup_time\nnnz_AP * #iterations / solve time\nBoth need to be considered.\n\nFor problem 2,\none FOM needs to be considered:\nnnz_AP * (#iterations + time_steps) / time\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllnl%2Famg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fllnl%2Famg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllnl%2Famg/lists"}