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

julia -e 'Pkg.test("JuMPeR")' fails on JuliaBox #53

Closed
rickhg12hs opened this issue Feb 20, 2015 · 8 comments
Closed

julia -e 'Pkg.test("JuMPeR")' fails on JuliaBox #53

rickhg12hs opened this issue Feb 20, 2015 · 8 comments

Comments

@rickhg12hs
Copy link

Sorry about the twitter reply. Github doesn't work on my ancient cellphone.

Thought it best to open an issue here so it could be tracked ... and possibly linked to JuliaBox and/or Ipopt, etc.

juser@juliabox:~$ julia -e 'Pkg.test("JuMPeR")'                                                                                                           
Warning: using Base.Graphics in module Main conflicts with an existing identifier.                                                                        
INFO: Computing test dependencies for JuMPeR...                                                                                                           
INFO: No packages to install, update or remove                                                                                                            
INFO: Testing JuMPeR                                                                                                                                      
Loading solvers...                                                                                                                                        
Running tests...                                                                                                                                          
[operators] Robust operator tests: .......................................................................................................................
..............                                                                                                                                            
[operators] Higher level operations: ............                                                                                                         
[operators] Check ellipse construction: .............                                                                                                     
[print] RobustModel: .                                                                                                                                    
[print] JuMPContainer{Uncertain}: ..................                                                                                                      
[print] EllipseConstraint: ....                                                                                                                           
[macro] Uncertainty set constraints: ......                                                                                                               
[macro] Uncertain constraints: .......                                                                                                                    
[oracle] Check interface throws: ....                                                                                                                     
[oracle] Test oracle utilities: ........................                                                                                                  
[oracle_gen_poly] Test 1: ......WARNING: Solver does not appear to support hot-starts. Problem will be solved from scratch.                               
......                                                                                                                                                    
******************************************************************************                                                                            
This program contains Ipopt, a library for large-scale nonlinear optimization.                                                                            
 Ipopt is released as open source code under the Eclipse Public License (EPL).                                                                            
         For more information visit http://projects.coin-or.org/Ipopt                                                                                     
******************************************************************************                                                                            

WARNING: Solver does not appear to support adding constraints to an existing model. Hot-start is disabled.                                                
............                                                                                                                                              
[oracle_gen_poly] Test 2: ........................                                                                                                        
[oracle_gen_poly] Test 2-IP: ..F...                                                                                                                       
  Failure   :: (line:-1) :: got 1.0                                                                                                                       
    getValue(x[2]) => roughly(0.0,1.0e-6)                                                                                                                 
[oracle_gen_poly] Test 3: ........................                                                                                                        
[oracle_gen_poly] Test 3-IP: ......                                                                                                                       
[oracle_gen_poly] Test 4: ................                                                                                                                
[oracle_gen_poly] Test 5: ................                                                                                                                
[oracle_gen_poly] Test 6: ................................................................................................................................
[oracle_gen_poly] Test 7 (integer uncertainty set): WARNING: Dual solutions not available                                                                 
WARNING: Dual solutions not available                                                                                                                     
..                                                                                                                                                        
[oracle_gen_poly] Test 8: ........                                                                                                                        
signal (6): Aborted                                                                                                                                       
gsignal at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)                                                                                                 
abort at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)                                                                                                   
_Unwind_Resume at /lib/x86_64-linux-gnu/libgcc_s.so.1 (unknown line)                                                                                      
_ZN5Ipopt11TNLPAdapter9GetSpacesERNS_8SmartPtrIKNS_11VectorSpaceEEES5_S5_S5_RNS1_IKNS_11MatrixSpaceEEES5_S9_S5_S9_S5_S9_S9_S9_RNS1_IKNS_14SymMatrixSpaceEE
E at /usr/local/lib/libipopt.so (unknown line)                                                                                                            
_ZN5Ipopt12OrigIpoptNLP20InitializeStructuresERNS_8SmartPtrINS_6VectorEEEbS4_bS4_bS4_bS4_bS4_S4_ at /usr/local/lib/libipopt.so (unknown line)             
_ZN5Ipopt9IpoptData24InitializeDataStructuresERNS_8IpoptNLPEbbbbb at /usr/local/lib/libipopt.so (unknown line)                                            
_ZN5Ipopt25DefaultIterateInitializer18SetInitialIteratesEv at /usr/local/lib/libipopt.so (unknown line)                                                   
_ZN5Ipopt14IpoptAlgorithm18InitializeIteratesEv at /usr/local/lib/libipopt.so (unknown line)                                                              
_ZN5Ipopt14IpoptAlgorithm8OptimizeEb at /usr/local/lib/libipopt.so (unknown line)                                                                         
_ZN5Ipopt16IpoptApplication13call_optimizeEv at /usr/local/lib/libipopt.so (unknown line)                                                                 
_ZN5Ipopt16IpoptApplication11OptimizeNLPERKNS_8SmartPtrINS_3NLPEEERNS1_INS_16AlgorithmBuilderEEE at /usr/local/lib/libipopt.so (unknown line)             
_ZN5Ipopt16IpoptApplication11OptimizeNLPERKNS_8SmartPtrINS_3NLPEEE at /usr/local/lib/libipopt.so (unknown line)                                           
_ZN5Ipopt16IpoptApplication12OptimizeTNLPERKNS_8SmartPtrINS_4TNLPEEE at /usr/local/lib/libipopt.so (unknown line)                                         
IpoptSolve at /usr/local/lib/libipopt.so (unknown line)                                                                                                   
solveProblem at /home/juser/.julia/v0.3/Ipopt/src/Ipopt.jl:289                                                                                            
jlcall_solveProblem_21932 at  (unknown line)                                                                                                              
jl_apply_generic at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)                                                                     
optimize! at /home/juser/.julia/v0.3/Ipopt/src/IpoptSolverInterface.jl:364                                                                                
jlcall_optimize!_21916 at  (unknown line)                                                                                                                 
jl_apply_generic at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)                                                                     
solveLP at /home/juser/.julia/v0.3/JuMP/src/solvers.jl:232                                                                                                
jlcall___solveLP#34___21561 at  (unknown line)                                                                                                            
jl_apply_generic at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)                                                                     
julia_solveLP_21560 at  (unknown line)                                                                                                                    
solve at /home/juser/.julia/v0.3/JuMP/src/solvers.jl:29                                                                                                   
jlcall___solve#33___21491 at  (unknown line)                                                                                                              
jl_apply_generic at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)                                                                     
julia_solve_21633 at  (unknown line)                                                                                                                      
generateCut at /home/juser/.julia/v0.3/JuMPeR/src/oracle_gen.jl:248                                                                                       
generateCut at /home/juser/.julia/v0.3/JuMPeR/src/oracle_gen.jl:236                                                                                       
jl_apply_generic at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)                                                                     
_solve_robust at /home/juser/.julia/v0.3/JuMPeR/src/solve.jl:181                                                                                          
jlcall____solve_robust#54___22054 at  (unknown line)                                                                                                      
jl_apply_generic at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)                                                                     
julia__solve_robust_21667 at  (unknown line)                                                                                                              
solve at /home/juser/.julia/v0.3/JuMP/src/solvers.jl:3                                                                                                    
jlcall___solve#33___21491 at  (unknown line)                                                                                                              
jl_apply_generic at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)                                                                     
julia_solve_21633 at  (unknown line)                                                                                                                      
anonymous at /home/juser/.julia/v0.3/FactCheck/src/FactCheck.jl:142                                                                                       
do_fact at /home/juser/.julia/v0.3/FactCheck/src/FactCheck.jl:172                                                                                         
jl_apply_generic at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)                                                                     
anonymous at /home/juser/.julia/v0.3/JuMPeR/test/oracle_general.jl:142                                                                                    
context at /home/juser/.julia/v0.3/FactCheck/src/FactCheck.jl:312                                                                                         
jl_apply_generic at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)                                                                     
anonymous at /home/juser/.julia/v0.3/JuMPeR/test/oracle_general.jl:169                                                                                    
facts at /home/juser/.julia/v0.3/FactCheck/src/FactCheck.jl:286                                                                                           
jl_apply_generic at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)                                                                     
unknown function (ip: 706374840)                                                                                                                          
unknown function (ip: 706371008)                                                                                                                          
unknown function (ip: 706438458)                                                                                                                          
unknown function (ip: 706441165)                                                                                                                          
jl_load at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)                                                                              
include at ./boot.jl:245                                                                                                                                  
jl_apply_generic at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)                                                                     
include_from_node1 at ./loading.jl:128                                                                                                                    
jl_apply_generic at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)                                                                     
anonymous at no file:20                                                                                                                                   
unknown function (ip: 706438668)                                                                                                                          
unknown function (ip: 706441165)                                                                                                                          
jl_load at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)                                                                              
include at ./boot.jl:245                                                                                                                                  
jl_apply_generic at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)                                                                     
include_from_node1 at loading.jl:128                                                                                                                      
jl_apply_generic at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)                                                                     
process_options at ./client.jl:285                                                                                                                        
_start at ./client.jl:354                                                                                                                                 
jlcall__start_17289 at /usr/bin/../lib/x86_64-linux-gnu/julia/sys.so (unknown line)                                                                       
jl_apply_generic at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)                                                                     
unknown function (ip: 4200623)                                                                                                                            
julia_trampoline at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)                                                                     
unknown function (ip: 4199613)                                                                                                                            
__libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)                                                                                       
unknown function (ip: 4199667)                                                                                                                            
unknown function (ip: 0)                                                                                                                                  
====================================================================[ ERROR: JuMPeR ]=====================================================================

failed process: Process(`/usr/bin/julia /home/juser/.julia/v0.3/JuMPeR/test/runtests.jl`, ProcessSignaled(6)) [0]                                         

==========================================================================================================================================================
INFO: No packages to install, update or remove                                                                                                            
ERROR: JuMPeR had test errors                                                                                                                             
 in error at error.jl:21                                                                                                                                  
 in test at pkg/entry.jl:718                                                                                                                              
 in anonymous at pkg/dir.jl:28                                                                                                                            
 in cd at ./file.jl:20                                                                                                                                    
 in cd at pkg/dir.jl:28                                                                                                                                   
 in test at pkg.jl:67                                                                                                                                     
 in process_options at ./client.jl:213                                                                                                                    
 in _start at ./client.jl:354                                                                                                                             

juser@juliabox:~$  
@rickhg12hs
Copy link
Author

Fails on Julia's master HEAD too, but the output is mostly the Banshee of Deprecation.

@IainNZ
Copy link
Owner

IainNZ commented Feb 21, 2015

Thanks @rickhg12hs!

@tkelman @mlubin any guesses why Ipopt on Juliabox would fail on JuMPeR test, when Pkg.test("Ipopt") on Juliabox passes, as does tesitng JuMPeR with Ipopt works locally?

@IainNZ
Copy link
Owner

IainNZ commented Feb 21, 2015

I've opened #54 for the Julia 0.4 compatability

@tkelman
Copy link

tkelman commented Feb 21, 2015

Smells a lot like jump-dev/Ipopt.jl#9 - can we try exporting the same problem to .nl maybe and see why it's making Ipopt trigger an exception?

Presumably the versions (by which I mean how the binaries were compiled, not just the version number of the source code) of Julia and Ipopt are out-of-sync between different environments, so you aren't exactly reproducing all conditions.

@mlubin
Copy link

mlubin commented Feb 21, 2015

jump-dev/Ipopt.jl#9 applies if JuliaBox is using the ubuntu PPA, is this the case? @ViralBShah @tanmaykm
I think Ipopt triggers exceptions as part of normal execution, so there isn't necessarily something wrong with the problem.

@tkelman
Copy link

tkelman commented Feb 21, 2015

applies if JuliaBox is using the ubuntu PPA, is this the case?

I think so.

I think Ipopt triggers exceptions as part of normal execution

Yeah, it uses exceptions internally for switching to and from restoration mode I think, and various other recoverable numerical issues. Not necessarily on every problem, but frequently enough that it can cause issues. The people who still use the Matlab mex interface to Ipopt have been consistently seeing it crash Matlab on OSX recently most likely due to similar exception handling issues, which I have no idea how to fix.

@mlubin
Copy link

mlubin commented Feb 21, 2015

Well AFAICT this issue has never been reported from a julia source build, just with ubuntu builds using the system libunwind.

@mlubin
Copy link

mlubin commented Apr 23, 2015

This should be fixed now

@IainNZ IainNZ closed this as completed Aug 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants