![]() "This happens seemingly at random every 3 hours or so and if I re-evaluate the notebook it usually runs fine." We have not identified a bug nor shown it to be repeatable, here, yet. I will not prescribe to 12.1 has new bugs until one has been identified. (they try to evaluate expressions using "x" but it is already defined, and they become confused that the result isn't what they expected)Īlso - installing "malware" or poorly conceived 3rd party software can effect your OS Desktop libraries, causing unexpected closures of applications. New users also tend to have problems with Context and "already defined variables". Mathematica Kernel will quit due to "a malformed program" and or "syntax error" in the case your running several expressions: it stops to prevent mis-use of the kernel - which could effect "other things" if it were to continue wildly (the kernel by default has access, via your code, to your disk - you wouldn't want a stray program messing your files up). This has been going on for years (when did 11.2 come out? 2017?) and I was hoping that there was someone who had experienced the same, who had got further in finding a solution. I don't know if I have a pre-release version of 12.1 - it was what Wolfram sent me to evaluate, but it has been the same for 11.2,11.3 and 12.0. I agree that tracing errors can be difficult, but even I could manage with that example. Which replied x once and 5 every other time. The simplest example I have ever seen it happen on was a single cell x=5 None of that would be the case for a syntax error or two. It has never happened on 11.1, which is the only version that I can use, so I use it all the time. Yet it has never happened in exactly the same place twice and every time I recalculated or closed and reloaded, it either worked fine or failed somewhere else in the notebook. This has happened on dozens of notebooks, on 4 different PCs and on 4 different versions of Mathematica (11.2-12.1). Thanks for your comments, but I fear you are barking up the wrong tree. However, I think your direction is a good one to reflect on. I also wondered about network devices, especially printers and have tried removing these from the PC I am currently using, but haven't found a culprit yet. In the past, I thought it could be a MariaDB JDBC driver as the vast majority of my notebooks read from a centralised database and this driver would be on all PCs, but later I have had examples fail that didn't use the database at all and the failures were certainly not commonly happening during database functions or commands in Mathematica. One of the 4 PCs is only accessible through a remote desktop and has no graphics card, so I can cross off a wide range of video and graphics-intensive programmes or games that would never have been installed there. Also Norton Internet Security would be on all of them. The only software I can think of common to all 4 PCs were MS Office, Visual Studio and Eclipse, Chrome and Acrobat Reader all of which I would expect many Mathematica users to also use. Indeed there has to be something very unusual about what I am doing. ![]() Finance, Statistics & Business Analysis.Wolfram Knowledgebase Curated computable knowledge powering Wolfram|Alpha. Wolfram Universal Deployment System Instant deployment across cloud, desktop, mobile, and more. Input and Output of Kernel Files Loading plain text mathematica kernel files: > name of file expr > name appends expr to file !!name displays plain text file Save Saves definitions of variables inĪ file Defining Function: f := function of x Complex Numbers: Form: x+Iy Functions: Re, Im, Abs, Arg, Conjugate Algebraic Manipulation Expand Factor Simplify Apply transformation rule: expr /.Wolfram Data Framework Semantic framework for real-world data. ![]() Packages: Use Import on File Menu and click open the Packages directory and its subdirectories. Save as notebook, postscript file, TeX file, HTML file, RTF file, etc. Input and Output Input Mathematica notebooks: Use Open on File Menu Output Mathematica notebooks: Use Save or Save As on File Menu. To use n'th input: In Constants Pi, E = e = 2.718, Infinity, Degree = Pi/180 to convert degrees to Exit: Quit on File Menu Information ?Name - shows information on operation ?Name - shows all information on operation ?Na* - shows list of operations starting with Na Assignments Definite: x = a Indefinite: x := a Clear: x =. Multiply: space or * Power: x^n Factorial or n! Save Notebook: on File Menu. Above formula: %, next to last: %%, n'th previous: Out. Evaluate expression: shift + return To interrupt a calculation: alt + comma Numerically Evaluate: N, or expr // N. You can correct commands by editing, and reexecute them. Delete key or scissors box will delete a highlighted cell. Mathematica Summary UCI Physics 212 Mathematical Physics Physics 212A Mathematica Summary Dennis Silverman General Notebooks: Double click on right margins to open or close cells.
0 Comments
Leave a Reply. |