Comments (6)
@BeastyBlacksmith This didn't seem to work for you on Linux: where/how did you install it? Is the math
executable in your path?
from mathlink.jl.
Mathematica is installed by the IT department on a network drive. Both math
and mathematica
are on the path by default.
from mathlink.jl.
Nice, so we should be able to use that to find the correct path.
from mathlink.jl.
@BeastyBlacksmith Can you check if the following gives the correct paths?
archdir = Sys.ARCH == :arm ? "Linux-ARM" :
Sys.ARCH == :x86_64 ? "Linux-x86-64" :
"Linux"
basepath = String(read(pipeline(`math -noprompt`, stdin=IOBuffer("WriteString[\$Output,\$InstallationDirectory]"))))
lib = Libdl.find_library(
["libML$(Sys.WORD_SIZE)i4","libML$(Sys.WORD_SIZE)i3"],
[joinpath(basepath,"SystemFiles/Links/MathLink/DeveloperKit",archdir,"CompilerAdditions")])
ker = joinpath(basepath,"Executables/MathKernel")
from mathlink.jl.
this works on my machine
from mathlink.jl.
I have improved the Linux handling in #27. I would still like to improve the handling on Windows: if anyone wants to help out, I would appreciate if you could install Mathematica or Wolfram Engine, then look in the Windows registry to find the entries which give the installation path.
from mathlink.jl.
Related Issues (20)
- `==` dosen't work for WExpr generated by `@W_cmd` HOT 1
- Including overloading of basic algebra HOT 10
- Bug: Julia Mathlink installation on Windows 10 HOT 4
- TagBot trigger issue HOT 9
- Possibility of allocation-free from julia via MathLink HOT 2
- Problem : UndefVarError: set_texOutput not defined HOT 2
- ParseError: KaTeX parse error HOT 2
- MathLink package can't find file "dep.jl" & fail to precompiling pkg. HOT 5
- Finding paths
- Wishlist from Wolfram HOT 2
- Symbolics to MathLink translation of expressions HOT 4
- Passing arrays to MathLink HOT 2
- Extracting values from arbitrary MathLink.WExpr HOT 8
- MathLink with HypergeometricFunctions HOT 8
- W"List"(0.02) -> 0.02? HOT 1
- precision may be lost HOT 3
- MathLink not working on Julia 1.10? HOT 2
- Wrong path delimiter on Windows
- Mathematica arm64 version needed on M1 MacBook? HOT 8
- W2Julia expects an Expr, not a WExpr. HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mathlink.jl.