Amazing! Seems to work for me on OSX. Just a small correction, it should 
read (note the checkout command)

Pkg.clone("https://github.com/tkelman/Sundials.jl";)
Pkg.checkout("Sundials", "bindeps")
Pkg.build("Sundials")
# restart Julia here for good measure
using Sundials

Let's see that we can get this merged soonish ...

Best,

Alex.

On Thursday, 29 May 2014 22:05:13 UTC+2, Tony Kelman wrote:
>
> I just submitted a pull request here 
> https://github.com/JuliaLang/Sundials.jl/pull/12, comments welcome.
>
> In the meantime you can test this out as follows (you might need to do 
> Pkg.rm("Sundials") first):
>
> Pkg.clone("https://github.com/tkelman/Sundials.jl";)
> Pkg.checkout("bindeps")
> Pkg.build("Sundials")
> # restart Julia here for good measure
> using Sundials
>
> This should automatically build Sundials from source on Linux or Mac, or 
> automatically download binaries for you on Windows. Hopefully you won't 
> need to manually mess with load path, juliarc, etc. If this gets merged and 
> tagged, then it should happen immediately from Pkg.add("Sundials").
>
>
> On Thursday, May 29, 2014 11:15:26 AM UTC-7, Alex wrote:
>>
>> Hi Frederick, 
>>
>> > DASSL doesn't work.  Multiple equations. 
>> Uh, I am pretty sure that DASSL supports multiple equations. Could you 
>> post the equations? 
>>
>> > Result when running test code in Sundials package: 
>> > error compiling ode: could not load module libsundials_cvode: The 
>> specified module could not be found. 
>> > And not working yet. 
>> > Tried also paths of... "C:/path/to/libDLLs/"  and  
>> "C:/path/to/libDLLs/usr/bin" 
>> >   
>> > 
>> > Questions: 
>> >    where is the .juliarc.jl file to be found? 
>> > I found a juliarc.jl file in the Julia/etc/julia folder.  But this file 
>> does not have the dot at the beginning of the file name. 
>> > Is this the file to alter, or is it a template to copy, rename with the 
>> preceding dot, and place... where? 
>> >    which folder should be referenced with the LOAD_PATH? 
>> > is libDLLs enough?  or do I want a specific folder within that? 
>> > Further suggestions? 
>> > 
>> I am not sure where you can find the .juliarc.jl on Windows (I vaguely 
>> remember that it was in some hidden directory), but you can also use the 
>> one in Julia/etc/ or you put it in the beginning of your program. 
>>
>> The path you add to LOAD_PATH should point to the directory where the 
>> DLLs (files ending in .dll) are. From your email I guess it should be 
>>
>> push!(LOAD_PATH, "C:/Users/Username/.julia/libDLLs/usr/bin") 
>>
>> (Maybe you have to replace Username with your actual user name?) 
>>
>> > Once this works, I would suggest adding the explicit instructions to 
>> the Sundials readme... and maybe to the other Packages requiring similar 
>> dependencies. 
>> As I said, once BinDeps integration is in place all of this will 
>> (hopefully) be done automatically. But maybe we can add a reminder about 
>> LOAD_PATH to the README. 
>>
>> Best, 
>>
>> Alex.
>
>

Reply via email to