kibaekkim / DSPopt.jl

Julia modeling interface to parallel decomposition solver DSP
MIT License
12 stars 2 forks source link

Failure of to pass the test (segmentation fault) #30

Open kingsley1989 opened 2 years ago

kingsley1989 commented 2 years ago

Hello, Sorry for opening an issue during Christmas and New Year, but when I use DSPopt.jl, I failed to pass some of the tests and occurred the segmentation fault (received signal: 11).

I installed DSP and DSPopt in two places:

  1. When I installed DSP and DSPopt on a 2020 Intel Macbook Pro with the solver of SCIP. When I ran "] test DSPopt", it couldn't execute the optimization procedure and got the segmentation fault (received signal: 11) DSPopt_test_error_mac

I also ran "ctest" for DSP and it didn't pass two tests on problems 6 and 24, I don't know whether it related to the failure of the DSPopt test.

DSP_test_error_mac
  1. I also install DSP and DSP on a Linux HPC server (ComputeCanada) with the solver CPLEX. Here when I ran "] test DSPopt", the test looks fine but it still pop out the segmentation fault (received signal: 11) at the end of the process. DSPopt_test_error_computercanada

Here "ctest" on DSP has no problem

I will be glab to provide more details if needed.

Any help would be appreciated.

kibaekkim commented 2 years ago

Thanks for the report. We will look into that. Meanwhile, can you give us more information for the build setting (e.g., sharing UserConfig.cmake)? Which version of SCIP did you use?

kingsley1989 commented 2 years ago

Hello, Sorry for my late reply.

The build setting on my mac is as follow: SCIP 7.0.3 (SCIPOptSuite-7.0.3-Darwin) cmake 3.21.1 Apple clang 13.0.0 openmpi 4.1.1 julia 1.6.0

The UserConfig.cmake content on Mac:

# This file defines the user-specific settings.
set(MA27LIB_DIR     "")
set(CPLEX_LIB_DIR   "")
set(CPLEX_INC_DIR   "")
set(GUROBI_LIB_DIR  "")
set(GUROBI_INC_DIR  "")
set(SCIPOPT_INC_DIR "/Users/kinghua/workspace/SCIPOptSuite-7.0.3-Darwin/include")
set(SCIPOPT_LIB_DIR "/Users/kinghua/workspace/SCIPOptSuite-7.0.3-Darwin/lib")

The build setting on HPC is as follow: CPLEX/20.0.1 cmake/3.21.4 gcc/8.3.0 openblas/0.3.7 openmpi/4.1.1 julia/1.6.1

The UserConfig.cmake content on HPC:

# This file defines the user-specific settings.
set(MA27LIB_DIR     "")
set(CPLEX_LIB_DIR   "/home/y/yankai/khua1989/CPLEX/opt/ibm/ILOG/CPLEX_Studio201/cplex/lib/x86-64_linux/static_pic")
set(CPLEX_INC_DIR   "/home/y/yankai/khua1989/CPLEX/opt/ibm/ILOG/CPLEX_Studio201/cplex/include/ilcplex")
set(GUROBI_LIB_DIR  "")
set(GUROBI_INC_DIR  "")
set(SCIPOPT_INC_DIR "")
set(SCIPOPT_LIB_DIR "")