[julia-users] Juno IDE Console Error: supertype not defined

2016-08-11 Thread Kaela Martin
When running Juno IDE with Atom, I get the following error message: UndefVarError: supertype not defined in distance at C:\Users\kaelam\.julia\v0.4\Media\src\system.jl:8 in nearest at C:\Users\kaelam\.julia\v0.4\Media\src\system.jl:13 in anonymous at

Re: [julia-users] Re: Calling Fortran in Julia Windows 10 - dlopen Error

2016-06-23 Thread Kaela Martin
-x86_64-gcc-fortran from Cygwin's setup.exe, then invoke > x86_64-w64-mingw32-gfortran rather than just gfortran and you'll get a dll > that is more likely to be compatible with Julia. > > > > On Wednesday, June 22, 2016 at 5:45:49 PM UTC-4, Kaela Martin wrote: >> >> I'm t

[julia-users] Calling Fortran in Julia Windows 10 - dlopen Error

2016-06-22 Thread Kaela Martin
I'm trying to get Julia to run a Fortran file on Windows 10, and Julia says that it can't open the library. Libdl.dlopen also fails to open the file. I've tried adding the current path to LOAD_PATH but still get the same error. For a test case, I'm running the following module: module

Re: [julia-users] Saving and Accessing Composite Types in HDF5

2016-06-17 Thread Kaela Martin
JLD worked! Thanks! As a side note, I typed in the wrong command and got lots of errors. save("temp.jld","t",t) load("temp.jld","t",t) # t is Yeilds: "Exception: EXCEPTION_ACCESS_VIOLATION at 0x192e3f7c -- handle_current_error at C:\Users\...\.julia\v0.4\FileIO\src\error_handling.jl:49 "

[julia-users] Saving and Accessing Composite Types in HDF5

2016-06-17 Thread Kaela Martin
Let's say I have a composite type of: type TEST numbers times measurement end t = TEST([1 2],[3 4 5],[6 7 8 9]) I want the variable to be local to a function, so I'm using HDF5. However, the usual fid["t"] = t gives an error that write has no method matching ::MB. How would I

Re: [julia-users] Input to Function Not Replaced if Part of Larger Array

2016-06-02 Thread Kaela Martin
This solution worked. Thanks so much! On Thursday, June 2, 2016 at 12:02:05 PM UTC-7, Yichao Yu wrote: > > On Thu, Jun 2, 2016 at 2:28 PM, Kaela Martin <kaela...@gmail.com > > wrote: > > I have a function that computes the unit vector and replaces the input > wi

[julia-users] Input to Function Not Replaced if Part of Larger Array

2016-06-02 Thread Kaela Martin
I have a function that computes the unit vector and replaces the input with that unit vector. However, when I have the input as part of a larger array, it doesn't replace that part of the array. For example, if the vector I want to make a unit vector is R = [1. 2.; 3. 4.; 5. 6.], the function