{"id":19277551,"url":"https://github.com/enzymead/clapack","last_synced_at":"2026-05-16T04:47:53.900Z","repository":{"id":104932387,"uuid":"547512819","full_name":"EnzymeAD/clapack","owner":"EnzymeAD","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-28T19:40:33.000Z","size":4693,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-05T15:48:41.937Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EnzymeAD.png","metadata":{"files":{"readme":"README.install","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-07T20:13:42.000Z","updated_at":"2022-10-07T20:15:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"a4ce5406-9f96-4212-9a59-79e373a33fec","html_url":"https://github.com/EnzymeAD/clapack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EnzymeAD%2Fclapack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EnzymeAD%2Fclapack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EnzymeAD%2Fclapack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EnzymeAD%2Fclapack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EnzymeAD","download_url":"https://codeload.github.com/EnzymeAD/clapack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240381104,"owners_count":19792404,"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":[],"created_at":"2024-11-09T21:06:13.545Z","updated_at":"2026-05-16T04:47:53.843Z","avatar_url":"https://github.com/EnzymeAD.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"                            ===================\n                            CLAPACK README FILE\n                            ===================\n\n============================================================================================\n          Version 3.2.1 (threadsafe)\n          Release date: June 2009 / April 2010\nF2C translation of LAPACK 3.2.1\nTo get revisions info about LAPACK 3.2.1, please see http://www.netlib.org/lapack/lapack-3.2.1.html \n\nFOR SUPPORT: LAPACK Forum: http://icl.cs.utk.edu/lapack-forum/\n============================================================================================\n\nThis README file describes how and how to install the ANSI C translation of the\nLAPACK library, called CLAPACK.  CLAPACK must be compiled with an ANSI Standard\nC compiler.  If the C compiler on your machine is an old-style C compiler, you\nwill have to use gcc to compile the package.  \n\nIMPORTANT NOTE:\n\n   You *CANNOT* just go to www.netlib.org/clapack, download a routine like\n sgesv.c and have it work unless you properly install and link to the\n f2c and BLAS routines as described below.  If your linker complains about\n missing functions, you have probably accidentally neglected this step.\n   Also, you will need the file \"f2c.h\" (included with the f2c libraries)\nin order to compile these routines. \n The default BLAS routines included with CLAPACK in the BLAS/SRC\n subdirectory may also be used these will most likely be\n slower than a BLAS library optimized for your machine. If you do\n not have such an optimized BLAS library, you can get one at\n\n       http://www.netlib.org/atlas\n \n\n==============================================================================\n\nFor a fast default installation, you will need to\n  - Untar clapack.tar and modify the make.inc file   (see step 1 below)\n  - Make the f2c libraries                           (see step 2 below)\n  - Make the BLAS library                            (see step 2 below)\n  - Make the main library, test it, and time it by simply typing\n      make\n\nIf you encounter difficulties, you may find the installation manual for\nthe FORTRAN version (INSTALL/lawn81.*) useful.\n\n\n                     Procedure for installing CLAPACK:\n==============================================================================\n\n(1) 'tar xvf clapack.tar' to build the following directory structure:\n    CLAPACK/README.install     this file\n    CLAPACK/BLAS/       C source for BLAS\n    CLAPACK/F2CLIBS/    f2c I/O functions (libI77) and math functions (libF77)\n    CLAPACK/INSTALL/    Testing functions and pre-tested make.inc files\n                        for various platforms.\n    CLAPACK/INCLUDE/    header files - clapack.h is including C prototypes of all the\n                        CLAPACK routines.\n    CLAPACK/SRC/        C source of LAPACK routines\n    CLAPACK/TESTING/    driver routines to test correctness\n    CLAPACK/make.inc\tcompiler, compile flags and library definitions, \n\t\t\tincluded in all Makefiles.\n\t\t        NOTE: It's better to use gcc compiler on some older\n\t\t\tSun systems.\n    You should be sure to modify the make.inc file for your system. \n\n(2) Build the f2c libraries by doing:\n      make f2clib\n\n##############################################################################\nWARNING: 1) If your system lacks onexit() and you are not using an ANSI C\n            compiler, then you should change your F2CCFLAGS line in \n            make.inc to\n                F2CCFLAGS=$(CFLAGS) -DNO_ONEXIT\n            On at least some Sun systems, it is better to use\n                F2CCFLAGS=$(CFLAGS) -Donexit=on_exit\n         2) On at least some Sun systems, the type declaration in \n            F2CLIBS/libI77/rawio.h: extern FILE *fdopen(int, char*)\n \t    is not consistent with the one defined in stdio.h. In this case\n            you should comment out this line.\n            \n##############################################################################\n\n(3) To run CLAPACK, you need to create a BLAS library.\n    The performance of CLAPACK largely depends on the performance\n    of the BLAS library.\n\n    You can either use the reference BLAS library included with\n    this distribution, which is easy to install but not optimized to be\n    fast on any particular machine, or else find a version of the \n    BLAS optimized for your machine.\n\n    If you want to use the reference BLAS library included with\n    this distribution, build it by doing\n      make blaslib\n    from the main directory.\n\n    If you want to find a BLAS library optimized for your machine,\n    see the note below for more details; \n    see also the README in the BLAS/WRAP directory.\n\n(4) Compile and run the BLAS TESTING code by doing:\n      cd CLAPACK/BLAS/TESTING; make -f Makeblat2\n      cd CLAPACK/BLAS\n\txblat2s \u003c sblat2.in\n\txblat2d \u003c dblat2.in\n\txblat2c \u003c cblat2.in\n\txblat2z \u003c zblat2.in\n      cd CLAPACK/BLAS/TESTING; make -f Makeblat3\n      cd CLAPACK/BLAS\n\txblat3s \u003c sblat3.in\n\txblat3d \u003c dblat3.in\n\txblat3c \u003c cblat3.in\n\txblat3z \u003c zblat3.in\n\n    Inspect the output files *.SUMM to confirm that no errors occurred.\n\n{NOTE: If a compiling error involving _atexit appears then see information\n       within the WARNING above.}\n\n{NOTE: For the highest performance, it is best to use a version of the BLAS\n       optimized for your particular machine. This may be done by modifying\n       the line\n          BLASLIB      = ../../blas$(PLAT).a\n       in CLAPACK/make.inc to point to the optimized BLAS.\n\nLink with BLAS which provides the standard CBLAS interface \n==========================================================\n       If you are using a version of the BLAS which provides the standard \n       CBLAS interface (e.g. ATLAS), you need to add the appropriate \"wrapper\" library.\n       you can make the wrapper library libcblaswr.a by typing \n       \"make cblaswrap\" from the main directory.  For this setup\n       (ATLAS with the CBLAS wrapper), the BLASLIB line might look like\nExample:\nModification to make.inc\nCC        = gcc\nBLASLIB     = ../../libcblaswr.a -lcblas -latlas\nCreation of libcblaswr.a : make cblaswrap\n\nLink with BLAS which Fortran calling interface\n===============================================\nTwo possibilities:\n\t- add -DNO_BLAS_WRAP to the CC variable to when compiling and no need of a \"wrapper\" library\nExample:\nCC        = gcc -DNO_BLAS_WRAP \nBLASLIB = -lgoto -lpthread\n\t\n \t- add the sample Fortran calling interface (libfblaswr.a) for systems with\n       Sun-style Fortran calling conventions is also provided; however,\n       this interface will need modifications to work on other\n       architectures which have different Fortran calling convensions.\n       See the README in the BLAS/WRAP subdirectory for further information. \nExample:\nCC        = gcc\nBLASLIB = ../../libfblaswr.a -lgoto -lpthread\nCreation of libfblaswr.a : make fblaswrap\n}\n\n(5) Build the archive containing lapack source code by doing:\n      cd CLAPACK/SRC; make\n\n(6) Compile the matrix generation software, the eigenroutine TESTING\n    code, the linear system TESTING code, and run the LAPACK tests \n    by doing:\n      cd CLAPACK/TESTING/MATGEN; make\n      cd CLAPACK/TESTING; make\n\n    Inspect the output files *.out to confirm that no errors occurred.\n\nI.   Compile the matrix generation software, the eigenroutine TESTING code,\n     the linear system TESTING code, and run the LAPACK tests separately\n     by doing:\n\tcd CLAPACK/TESTING/MATGEN; make\n\tcd CLAPACK/TESTING/EIG; make\n\tcd CLAPACK/TESTING/LIN; make\n\tcd CLAPACK/TESTING; make\nII. After the executable files and libraries have been created for each\n     of the compiles, the object files should be removed by doing:\n\tmake clean\nIII.  Each 'make' may be accomplished just for one or a subset of the \n     precisions desired.  For example:\n\tmake single\n\tmake single complex\n\tmake single double complex complex16\n     Using make without any arguments will compile all four precisions.\n\nJames Demmel\nXiaoye Li\t\t\nChris Puscasiu\nSteve Timson\n\nUC Berkeley\nSept 27 1993\n\n\n{Revised by Susan Ostrouchov and Jude Toth}\n {The University of Tennessee at Knoxville}\n             {October 15, 1993}\n\n{Revised by Xiaoye Li and James Demmel}\n {University of California at Berkeley}\n             {November 22, 1994}\n\n{Revised by David Bindel and James Demmel}\n {University of California at Berkeley}\n             {July 19, 2000}\n\n{Revised by Julie Langou}\n {University of Tennessee}\n             {February 2008}\n\n{Revised by Julie Langou}\n{University of Tennessee}\n\t\t\t {October 2008, April 2010}\n\n{Revised by Peng Du}\n{University of Tennessee}\n\t\t\t {May 2009}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenzymead%2Fclapack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenzymead%2Fclapack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenzymead%2Fclapack/lists"}