jgoldfar / Hypre.jl

Julia wrapper for the Hypre (https://computing.llnl.gov/projects/hypre-scalable-linear-solvers-multigrid-methods) linear solver library
MIT License
6 stars 2 forks source link

Tests pass on Ubuntu locally (and on OSX) but not on Travis. Why? #7

Closed jgoldfar closed 9 years ago

jgoldfar commented 9 years ago

All we get is this (after the julia test/runtests.jl call)

Testing Hypre.jl in Julia version 0.3.6
Hypre version 2.9.0-b loaded. Using MPI wrapper version 0.2.5
Testing MPI installation runs (for Hypre installation.)
Hello world, I am 0 of 2Hello world, I am 1 of 2
ERROR: Hypre not properly installed. Please run Pkg.build("Hypre")
 in error at error.jl:21
 in include at ./boot.jl:245
 in include_from_node1 at ./loading.jl:128
 in include at ./boot.jl:245
 in include_from_node1 at ./loading.jl:128
 in include at ./boot.jl:245
 in include_from_node1 at loading.jl:128
 in process_options at ./client.jl:285
 in _start at ./client.jl:354
while loading /home/travis/build/jgoldfar/Hypre.jl/src/Hypre.jl, in expression starting on line 6
while loading /home/travis/build/jgoldfar/Hypre.jl/test/ex1.jl, in expression starting on line 3
while loading /home/travis/build/jgoldfar/Hypre.jl/test/runtests.jl, in expression starting on line 14
jgoldfar commented 9 years ago

Problem must have to do with case sensitivity. Doesn't compile on JuliaBox or Travis

jgoldfar commented 9 years ago

Compiles as of commit 9e0fa74 on Juliabox; no dlopen issues. Will commit a couple debug statements into the build script to check what's happening on Travis.

jgoldfar commented 9 years ago

Commit edd8651went through whole build without any dlopen error, apparently: https://travis-ci.org/jgoldfar/Hypre.jl/jobs/53512933

jgoldfar commented 9 years ago

After the update to test script in commit dddfbfb (for latest julia release command line options/test runner) and some modifications to the example script (see issue #3) build now passes in Julia 0.3.x. Build fails in Julia 0.4.x due to MPI.jl build issue.