Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Julia 1.7 issue - Error message ERROR: type DataType has no field mutable when trying to run WorkPrecisionSet for SciML benchmarks #446

Open
00krishna opened this issue Dec 22, 2021 · 1 comment
Labels

Comments

@00krishna
Copy link

00krishna commented Dec 22, 2021

description

I am trying to Weave a file to html that runs the WorkPrecisionSet function from the SciML OrdinaryDiffEq package. I am using Julia 1.7. I am including a file with some sample Weave code to hopefully replicate the issue.

So when I run the julia code--in the attached file--from the terminal using VSCODE, then it works just fine. In particular the function WorkPrecisionSet works just fine. I can generate the plot and all is good. But, when I try and run this julia code when embedded in a Weavefile, it generates this message ERROR: type DataType has no field mutable.

I tried to use the WorkPrecisionSet on two separate Weavefiles, and both of them failed at that same point.

Here is a picture of the Weave html output.
Selection_005

versions

Julia 1.7
Weave 0.10.9

using InteractiveUtils; versioninfo():

Julia Version 1.7.0
Commit 3bf9d17731 (2021-11-30 12:12 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.1 (ORCJIT, haswell)
Environment:
  JULIA_EDITOR = code
  JULIA_NUM_THREADS = 2

using Pkg; Pkg.status():

julia> Pkg.status()
     Project SciMLBenchmarks v0.1.0
      Status `/drives/lakshmi/Dropbox/sandbox/SciMLBenchmarks.jl/Project.toml`
  [f3b72e0c] DiffEqDevTools v2.28.0
  [0c46a032] DifferentialEquations v6.21.0
  [31c24e10] Distributions v0.25.37
  [d7ba0133] Git v1.2.1
  [7073ff75] IJulia v1.23.2
  [7f56f5a3] LSODA v0.7.0
  [b964fa9f] LaTeXStrings v1.3.0
  [961ee093] ModelingToolkit v7.1.3
  [c030b06c] ODE v2.13.0
  [09606e27] ODEInterfaceDiffEq v3.10.1
  [1dea7af3] OrdinaryDiffEq v6.0.3
  [91a5bcdd] Plots v1.25.3
  [f3b207a7] StatsPlots v0.14.30
  [c3572dad] Sundials v4.7.0
  [44d3d7a6] Weave v0.10.10
  [b77e0a4c] InteractiveUtils
  [d6f4376e] Markdown
  [44cfe95a] Pkg
  [9a3f8284] Random

minimum reproducible steps

Here is a minimal jmd example. This is code from this link in the SciML benchmarks repo.
https://github.com/SciML/SciMLBenchmarks.jl/blob/master/benchmarks/NonStiffODE/linear_wpd.jmd
I attached the file below, but had to change the extension to .txt instead of .jmd.

linear_wpd.txt

@00krishna 00krishna added the bug label Dec 22, 2021
@00krishna 00krishna changed the title [BUG] Error message ERROR: type DataType has no field mutable when trying to run WorkPrecisionSet for SciML benchmarks [BUG] Julia 1.7 issue - Error message ERROR: type DataType has no field mutable when trying to run WorkPrecisionSet for SciML benchmarks Dec 23, 2021
@00krishna
Copy link
Author

Hey folks, I was wondering if anyone else had encountered this issue, or if there was any solution yet? I have not tried this again lately, because I had to revert my Julia to 1.6.5 to avoid this problem. Any suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant