Code Monkey home page Code Monkey logo

jfricas's Introduction

FriCAS

FriCAS is a general purpose computer algebra system (CAS).

For installation instructions see INSTALL. For general documentation consult https://fricas.github.io.

The basic goal of FriCAS is to create a free advanced world-class CAS. In 2007 FriCAS forked from Axiom. Currently the FriCAS algebra library is one of the largest and most advanced free general purpose computer algebra systems -- this gives a good foundation to build on. Additionally, the FriCAS algebra library is written in a high level strongly typed language (Spad), which allows natural expression of mathematical algorithms. This makes FriCAS easier to understand and extend.

FriCAS uses lightweight development methodology. Compared to Axiom, FriCAS is significantly restructured -- it is more portable and fixed several defects. FriCAS removed rather large unused parts (without removing functionality).

Current development goals:

  • continue structural improvements
  • add new mathematical algorithms
  • develop better user interface
  • develop improved Spad compiler
  • make it easier for external programs to interface with FriCAS
  • support for using external mathematical routines from Spad

jfricas's People

Contributors

hemmecke avatar nilqed avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

jfricas's Issues

Problem with `)set output characters default`

There is a problem when using the setting )set output characters default in the configuration file .fricas.input. Using this setting, the line -------Categories------- gets replaced by ───── Categories ───── when executing )what categories.
Because of this, the search string in the command startswith that parses )what categories should be adjusted as well.

python3-setuptools

On Linux Mint 19.3 the following is an installation prerequisite:

sudo apt-get install python3-setuptools

Thanks.

Installation on cocalc.com

I have compiled, installed and frequently use a standalone version of FriCAS (not the package embedded in SageMath) in a project on https://cocalc.com so I just tried to install jfricas there in the normal way using pip3 install jfricas. The install seemed to run normally without errors and the FriCAS kernel does appear in the list of kernels when I create a new Jupyter worksheet, however when I try to execute a FriCAS command Jupyter hangs waiting to display the result.

The default Jupyter interface on CoCalc is a bit different than the one in standalone Jupyter notebook so I also tried running Jupyter in what CoCalc calls "native mode" but with essentially the same result except that I also get a pop-up message saying that the FriCAS kernel has crashed. Restarting the FriCAS kernel does not help.

Do you have any ideas what might be going wrong here and/or suggestions on how to start debugging this? Should I attach logs or screenshots? Are there particular tests or a debug mode I could use to help isolate the problem? Should I try doing something different to install jfricas on CoCalc? Perhaps there is a manual step my step installation procedure?

I am also willing to provide shared access to a dedicated test project on CoCalc to debug this since that is likely to be a bit faster than an unfunded project. Ultimately it would be good to convince the CoCalc developers to include FriCAS and jfricas at the system level so that it is easily available to everyone.

Inoperative installation in Sage's Jupyter environment.

Fricas works fine in my Sage environment (running on Debian testing). I tried sage -pip instajj jfricas, which upgraded a couple of packages :

...
Successfully built jfricas
Installing collected packages: psutil, prompt-toolkit, debugpy, comm, qtpy, ipykernel, qtconsole, jupyter-console, jupyter, jfricas
  Attempting uninstall: prompt-toolkit
    Found existing installation: prompt-toolkit 3.0.24
    Uninstalling prompt-toolkit-3.0.24:
      Successfully uninstalled prompt-toolkit-3.0.24
  Attempting uninstall: ipykernel
    Found existing installation: ipykernel 6.6.0
    Uninstalling ipykernel-6.6.0:
      Successfully uninstalled ipykernel-6.6.0
Successfully installed comm-0.1.3 debugpy-1.6.7 ipykernel-6.23.0 jfricas-1.0.0 jupyter-1.0.0 jupyter-console-6.6.3 prompt-toolkit-3.0.38 psutil-5.9.5 qtconsole-5.4.3 qtpy-2.3.1

but running it didn't wirk. Starting from a console with sage -n jupyter and omening a new norebook with the jfricas kernel, I see a lot of fricas-related messages, ending with :

   >> System error:
   Module error: Don't know how to REQUIRE HUNCHENTOOT.

 
   >> System error:
   There is no package with the name WEBSPAD.

At this point, I couldn't but close and halt the fricas notebook, then the server.

Any hint ?

Failed installation in Debian testing

I tried to install jfricas in my systemwide Jupyter (independent of the Sage environment mentioned in another issue). This installation (from pipy) failed :

Trace of my attempt :

Fatal error from pip prevented installation. Full pip output in file:
    /home/charpent/.local/pipx/logs/cmd_2023-05-08_20.45.47_pip_errors.log

pip seemed to fail to build package:
    jfricas

Some possibly relevant errors from pip install:
    error: subprocess-exited-with-error
    ModuleNotFoundError: No module named 'jupyter_client'
    error: metadata-generation-failed

Error installing jfricas.

Relevant logs enclosed :

cmd_2023-05-08_20.45.47.log
cmd_2023-05-08_20.45.47_pip_errors.log

This might be a trivial error due to an outdated installation procedure.

Any hint ?

Error after starting jupyter notebook

After installing and starting as stated in instruction there was the following message:

While evaluating the form starting at line 16, column 0
  of  
   >> System error:
   Don't know how to REQUIRE ASDF.
See also:
  The SBCL Manual, Variable SB-EXT:*MODULE-PROVIDER-FUNCTIONS*
  The SBCL Manual, Function REQUIRE

 
   >> System error:
   Package WEBSPAD does not exist.

  Stream: #<dynamic-extent STRING-INPUT-STREAM (unavailable) from " (defvar...">

and jupyter notebook was unusable -- after providing an intput it frosed with In[*]

not working with Debian 11 packages

#apt list cl-hunchentoot  fricas cl-asdf
cl-asdf/unstable,now 2:3.3.5-1 all [installed]
cl-hunchentoot/unstable,stable,now 1.2.38-1.1 all [installed]
fricas/unstable,now 1.3.7-3 amd64 [installed]

fricas:

(1) -> )lisp (lisp-implementation-type)
Value = "GNU Common Lisp (GCL)"
(1) -> )lisp (lisp-implementation-version)
Value = "GCL 2.6.12" 

jupyter notebook:

Error: 
Fast links are on: do (si::use-fast-links nil) for debugging
Signalled by REQUIRE.
Condition in REQUIRE [or a callee]: INTERNAL-SIMPLE-FILE-ERROR: File error on #p"asdf": File does not exist.

Broken at REQUIRE.  Type :H for Help.

any suggestions?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.