{"id":19705884,"url":"https://github.com/llnl/yorick","last_synced_at":"2025-04-12T07:08:37.112Z","repository":{"id":1388868,"uuid":"1368265","full_name":"LLNL/yorick","owner":"LLNL","description":"yorick interpreted language","archived":false,"fork":false,"pushed_at":"2024-07-18T05:53:39.000Z","size":5995,"stargazers_count":79,"open_issues_count":4,"forks_count":23,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-01-13T05:04:56.442Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"Joomla3-Admin-template/joomla-cms","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LLNL.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE.md","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":"2011-02-15T05:51:19.000Z","updated_at":"2024-11-15T03:24:41.000Z","dependencies_parsed_at":"2024-11-11T21:42:02.427Z","dependency_job_id":null,"html_url":"https://github.com/LLNL/yorick","commit_stats":{"total_commits":516,"total_committers":16,"mean_commits":32.25,"dds":0.6046511627906976,"last_synced_commit":"b56f742e6fd24df47e5e13ad791c9213dc8abe4b"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLNL%2Fyorick","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLNL%2Fyorick/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLNL%2Fyorick/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLNL%2Fyorick/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LLNL","download_url":"https://codeload.github.com/LLNL/yorick/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234772458,"owners_count":18884061,"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-11T21:31:22.950Z","updated_at":"2025-01-20T10:09:10.015Z","avatar_url":"https://github.com/LLNL.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Welcome\n-------\n\nYorick is an interactive programming language for scientific computing\nthat includes scientific visualization functions, and text and binary\nI/O functions geared to millions of numbers.\n\nYorick is open source software, under a\n[BSD license](https://github.com/LLNL/yorick/blob/master/LICENSE.md).\nYorick runs under UNIX, MacOS X (X windows), and MS Windows.  You can\nfind many yorick resources online:\n\n* Home page at [yorick.sourceforge.net][],\n  including the user manual and extensive documentation.\n* User forums at [yorick.sourceforge.net][].\n* Browse or download sourcecode at [github.com/LLNL/yorick][].\n* Read end of Quick start section below on running yorick demo programs.\n\n[yorick.sourceforge.net]:    https://yorick.sourceforge.net\n[github.com/LLNL/yorick]:    https://github.com/LLNL/yorick\n\nFiles in the regexp/ subdirectory are the work of Guido van Rossum and\nHenry Spencer; read the files for details.  The latter is Copyright\n(c) 1986 by University of Toronto.\n\nFiles in the fft directory are C translations of the Swarztrauber\nfortran FFTPACK routines.  Files in the matrix directory are C\ntranslations of the fortran LAPACK routines.  The original fortran is\navailable from [netlib.org](https://netlib.org/).\n\n\nQuick start\n-----------\n\nOn most UNIX-like systems (including Linux and MacOS X), you can build\nyorick by changing to the top level directory of the source\ndistribution and typing:\n\n    make install\n\nThis will create a subdirectory relocate/ in the source tree.  The\nyorick executable is relocate/bin/yorick.  You can move the relocate/\ndirectory wherever you want (the name \"relocate\" is unimportant), but\nany changes in the relative locations of the files therein will\nprevent yorick from starting correctly.  You can, of course, softlink\nto the yorick executable from wherever you like, or exec yorick from a\nshell script outside its relocate/ directory.  The relocate/ directory\nis organized as follows:\n\n    relocate/  files required for building compiled packages, and:\n      bin/     binary executables\n      lib/     binary libraries for compiled packages\n      include/ header files for compiled package APIs\n      i0/      interpreted code required for yorick to start\n      i/       optional interpreted code libraries\n      i-start/ interpreted code that autoloads at startup\n      g/       graphics style files, palettes, and templates\n      doc/     documentation files\n\nTo build a tarball containing a yorick executable, type instead:\n\n    make relocatable\n\nThis creates a tarball yorick-V.N-RR.tgz containing the yorick code,\ninterpreted library, and documentation.  Move it to the directory\nwhere you wish to install yorick, then unpack it with:\n\n    gzip -dc yorick-V.N-RR.tgz | tar xvf -\n\nThe yorick executable will be yorick-V.N-RR/bin/yorick.  Read\nyorick-V.N-RR/README for more information.\n\nTo build yorick on a MS Windows machine, read win/README.\n\nYorick is a command line program; you need to run it in a terminal\nwindow.  You will want command line recall and editing.  If your\nterminal window does not support that, you can either run yorick under\nemacs (see the emacs/ directory in the source), or you can get a\nreadline wrapper like [rlwrap](http://freshmeat.net/projects/rlwrap/).\n\nIf you need some test programs to run, you can try the demos.  Start\nyorick and type:\n\n    include, \"demo3.i\"\n    demo3\n\nThe demo3 runs a simulation of a chaotic pendulum (it will stop after\nabout a minute).  Yorick functions generally have documentation which\nyou can read in the terminal using the help command:\n\n    help, demo3\n\nThe help message includes the path to the source file, which you can\nopen and read with any text editor, to find out exactly how demo3\nworks (or any other yorick interpreted command).  There are five demo\nprograms (demo1 through demo5).  You can also do a comprehensive test\nof your yorick installation by typing:\n\n    include, \"testfull.i\"\n\n\nRoadmap of yorick source\n------------------------\n\nThe top-level distribution directory contains this README, scripts for\nconfiguring and building yorick, and a number of subdirectories.  Some\nsubdirectories contain core parts of yorick; others are extras which\nyou might reasonably omit.  Here's a quick roadmap:\n\n    play/     (portability layer)\n      here are event loop, low level io, graphics primitives\n      everything else is supposed to be strictly architecture-independent\n        (however, other non-core packages may slightly violate this rule)\n    win/      (MS Windows specific files)\n      here are the MS Visual C++ project files\n      some Windows code is in subdirectories like play/win\n    gist/\n      play-based 2D scientific visualization library\n    yorick/\n      yorick language interpreter (C source)\n    matrix/\n      LAPACK linear algebra functions (C source)\n    math/\n      non-matrix mathematical functions (C source)\n    fft/\n      Swartztrauber Fast Fourier Transform (C source)\n    i/\n      library of interpreted functions\n    i0/\n      interpreted code required at startup\n    i-start/\n      interpreted code run at startup, usually containing autoloads\n    extend/\n      sample trivial compiled extension for yorick\n    mpy/\n      MPI-based yorick multiprocessing package\n    drat/\n      compiled extension to do 2D cylindrical radiation transport\n    hex/\n      compiled extension to do 3D radiation transport\n    doc/\n      documentation: yorick user manual, quick reference cards\n    emacs/\n      GNU Emacs lisp code for running yorick and editing yorick source\n\n    distribs/\n      files for creating RedHat RPM, FreeBSD, and other distributions\n    debian/\n      instructions for creating Debian .deb distribution\n\n\nOther build options\n-------------------\n\nYou can take up to four steps to configure, build, test, and install\nyorick.  In order, the four separate commands are:\n\n    make config\n    make\n    make check\n    make install\n\n Yorick requires an ANSI C compiler and libraries, some POSIX standard\n functions (plus either poll or select, which are not covered by any\n standard, but are present on all UNIX systems), and the basic X11\n library (R4 might work, but anything R5 or better should certainly\n work).  However, these components may be misinstalled or installed in\n places where the configuration process cannot find them.  If so, you\n can either fix your system or edit the files Make.cfg and\n play/unix/config.h by hand to repair any errors or oversights of \"make\n config\".\n\n The \"make config\" step creates the file Make.cfg (in this top-level\n directory).  By default, the compiler and loader flags are just \"-O\".\n If you want fancier options, you can edit Make.cfg before you build;\n just modify the Y_CFLAGS and/or Y_LDFLAGS variable.  Optimization flags\n like -g or -O are handled separately; use the COPT_DEFAULT variable\n to set those.\n\n Instead of editing Make.cfg by hand after the \"make config\" step, you\n can also set a variety of environment variables to control the\n configuration process.  You can read the configuration scripts --\n configure, play/unix/config.sh, play/x11/xconfig.sh, and\n yorick/yconfig.sh -- to find out precisely what they do.  Here they\n are, with sample non-default values:\n\n    CC='xlc -q64'      # C compiler name plus overall mode switch\n    CFLAGS=-g          # compile flags (-O is default)\n    LDFLAGS=-g         # load flags (optimization CFLAGS is default)\n    AR='ar -X 64'      # ar archive program\n    RANLIB='ranlib -X 64'  # ranlib archive indexer\n    MATHLIB=-lmcompat      # math library (-lm is default)\n\n    FPU_IGNORE=yes  # give up trying to catch floating point exceptions\n    NO_PLUGINS=yes  # build yorick with no plugin support\n    LD_STATIC=yes   # force hex and drat packages to be statically loaded\n    NO_PASSWD=yes   # hack for crippled OSes or crosscompilers (catamount)\n    NO_CUSERID=yes  # hack for crippled OSes or crosscompilers (catamount)\n    NO_PROCS=yes    # build yorick with no subprocess or poll/select support\n                      (catamount) - this cripples yorick event handling\n    NO_POLL=yes     # forces use of select when poll present but broken\n                      (Mac OS X uses this by default)\n\n    NO_XLIB=yes     # build yorick with no onscreen graphics\n    X11BASE=/weird/X11root         # try -I/weird/X11root/include, and\n                                         -L/weird/X11root/lib\n    X11INC=/weird/X11root/include  # directory containing X11/Xlib.h\n    X11LIB=/weird/X11root/lib      # directory containing libX11.a or .so\n\nOther make targets include:\n\n    clean      -- get rid of the mess left over from the build\n       do this after successful install\n    distclean  -- clean plus all files generated by the config step\n       config does distclean before it begins\n    siteclean  -- distclean plus resets ysite.sh to original settings\n    uninstall  -- gets rid of all installed files\n       be sure to do uninstall before distclean if you want to\n       get rid of the yorick you installed (otherwise you will\n       need to make ysite again)\n\nThere are many more build targets and make macros.  Read the comments\nin Makefile and Makepkg for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllnl%2Fyorick","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fllnl%2Fyorick","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllnl%2Fyorick/lists"}