<html><head></head><body><div class="ydp432ce2deyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
        <div dir="ltr" data-setdir="false">Thanks Matthias, I actually tried to do that after sending the email yesterday.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><ul dir="ltr" data-setdir="false"><li>Built the bugfix version via cmake and installed it</li><li>Created a new conda environment</li><li>Installed pyscipopt via pip</li><li>SCIPOPTDIR variable is ignored.  </li></ul><div><br></div><div dir="ltr" data-setdir="false">I'll bring this up on the github.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Thanks,</div><div dir="ltr" data-setdir="false">Hon Fai</div></div><div><br></div>
        
        </div><div id="yahoo_quoted_2467362499" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Friday, April 14, 2023 at 02:11:54 AM PDT, Miltenberger, Matthias <miltenberger@zib.de> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div dir="ltr">Hi Hon Fai,<br clear="none"><br clear="none">Are you installing PySCIPOpt via conda or pip? I suggest using pip if you want to link your custom SCIP installation.<br clear="none">Did you build and install SCIP using CMake? It's important that you don't forget the install step to ensure that the directory structure is set up correctly.<br clear="none">It would be best if you also tried using a fresh conda environment to avoid any configuration traces from previous build/link attempts.<br clear="none"><br clear="none">I hope that helps! We can also continue that discussion in a GitHub issue since this is more of a PySCIPOpt issue than a SCIP one.<br clear="none"><br clear="none">Cheers,<br clear="none">Matthias<br clear="none"><br clear="none">\__________________<br clear="none">Matthias Miltenberger<br clear="none">Zuse Institute Berlin<br clear="none">Takustr. 7, 14195 Berlin<br clear="none">www.zib.de/miltenberger<br clear="none"><br clear="none">________________________________________<br clear="none">From: Scip <<a shape="rect" ymailto="mailto:scip-bounces@zib.de" href="mailto:scip-bounces@zib.de">scip-bounces@zib.de</a>> on behalf of Hon Fai Vuong <<a shape="rect" ymailto="mailto:hfvuong@yahoo.com" href="mailto:hfvuong@yahoo.com">hfvuong@yahoo.com</a>><br clear="none">Sent: Friday, April 14, 2023 3:04:19 AM<br clear="none">To: scip@zib.de; Gleixner, Ambros<br clear="none">Subject: Re: [SCIP] Help with setting up parallel solve in pyscipopt<br clear="none"><br clear="none">Ambrose,<br clear="none">    I tried again with the bugfix build, but had the same result.  Running scip on command line is fine, but calling it through pyscipopt results in a segmentation fault.  Any other ideas or things I should investigate?<br clear="none"><br clear="none">I did note that the environment variable SCIPOPTDIR in my shell is being ignored.<br clear="none">It appears that pyscipopt is looking for scip in my /home/username/scip directory.  I don't know if that provides any type of clue.  When I move that directory pysciptopt results in an error, so I know that it's looking for scip there.<br clear="none"><br clear="none">Traceback (most recent call last):<br clear="none">  File "scip_runner.py", line 1, in <module><br clear="none">    from pyscipopt import Model<br clear="none">  File "/home/hv28186/.conda/envs/conda_38/lib/python3.8/site-packages/pyscipopt/__init__.py", line 11, in <module><br clear="none">    from pyscipopt.scip      import Model<br clear="none">ImportError: libscip.so.8.0: cannot open shared object file: No such file or directory<br clear="none"><br clear="none">-Thanks<br clear="none">Hon Fai<br clear="none"><br clear="none">On Thursday, April 13, 2023 at 03:22:10 AM PDT, Ambros Gleixner <<a shape="rect" ymailto="mailto:gleixner@zib.de" href="mailto:gleixner@zib.de">gleixner@zib.de</a>> wrote:<br clear="none"><br clear="none"><br clear="none">Hi Hon Fai,<br clear="none"><br clear="none">Great!  And yes, we have fixed some things in the concurrent mode<br clear="none">recently.  Can you try with the latest version of the v80-bugfix branch<br clear="none">on github.com/scipopt/scip ?<br clear="none"><br clear="none">Best,<br clear="none">Ambros<br clear="none"><br clear="none"><br clear="none">Am 13.04.2023 um 01:52 schrieb Hon Fai Vuong:<br clear="none">> Hi Ambrose, thanks for your response.  I missed that detail and made the<br clear="none">> change.  I uninstalled the conda version of pyscipopt since it came with<br clear="none">> it's own version of scip.  I reinstalled pyscipopt via pip and it now<br clear="none">> appears that pyscipopt is using the version of scip that I build from<br clear="none">> src. It runs normally with the optimize() function.<br clear="none">><br clear="none">> However when I try with the concurrentopt, it segfaults and produces a<br clear="none">> core file.  I'm not sure what to do next.<br clear="none">><br clear="none">> -Hon Fai<br clear="none">><br clear="none">> On Wednesday, April 12, 2023 at 05:39:55 AM PDT, Ambros Gleixner<br clear="none">> <<a shape="rect" ymailto="mailto:gleixner@zib.de" href="mailto:gleixner@zib.de">gleixner@zib.de</a><mailto:gleixner@zib.de>> wrote:<br clear="none">><br clear="none">><br clear="none">> Hi Hon Fai,<br clear="none">><br clear="none">> Did you see the description at<br clear="none">><br clear="none">> <a shape="rect" href="https://github.com/scipopt/PySCIPOpt/blob/master/INSTALL.md" target="_blank">https://github.com/scipopt/PySCIPOpt/blob/master/INSTALL.md</a><br clear="none">> <<a shape="rect" href="https://github.com/scipopt/PySCIPOpt/blob/master/INSTALL.md" target="_blank">https://github.com/scipopt/PySCIPOpt/blob/master/INSTALL.md</a>><br clear="none">><br clear="none">> ?  You may have to set `export SCIPOPTDIR=<path_to_install_dir>` in your<br clear="none">> shell.<br clear="none">><br clear="none">> Best,<br clear="none">> Ambros<br clear="none">><br clear="none">> Am 11.04.2023 um 21:08 schrieb Hon Fai Vuong:<br clear="none">>  > Hello All,<br clear="none">>  >      I'm new to SCIP and wanted to try running with concurrent opt<br clear="none">>  > mode.  I'm working on Linux and was able to install the scip package via<br clear="none">>  > cond-forge, but when I attempted to use the parallel functionality via<br clear="none">>  > solveConcurrent(),<br clear="none">>  ><br clear="none">>  > I received the following warning:<br clear="none">>  ><br clear="none">>  > *UserWarning('SCIP was compiled without task processing interface.<br clear="none">>  > Parallel solve not possible - using optimize() instead of<br clear="none">>  > solveConcurrent()')*<br clear="none">>  ><br clear="none">>  > I read that by default SCIP isn't compiled with the TPI option, so went<br clear="none">>  > through the process of building it after much fumbling around.<br clear="none">>  > I can solve problems via command line with parallel mode with the<br clear="none">>  > rebuilt version.<br clear="none">>  ><br clear="none">>  > My question now is how to I tell psyscipopt to use that version?  I<br clear="none">>  > naively created a symlink to point the version of scipt in my virtual<br clear="none">>  > environment to the rebuilt version, but still running into the same<br clear="none">> problem.<br clear="none">>  ><br clear="none">>  > Any help would be appreciated.<br clear="none">>  ><br clear="none">>  > Thanks,<br clear="none">>  > Hon Fai<br clear="none">><br clear="none">>  ><br clear="none">>  > _______________________________________________<br clear="none">>  > Scip mailing list<br clear="none">>  > <a shape="rect" ymailto="mailto:Scip@zib.de" href="mailto:Scip@zib.de">Scip@zib.de</a><mailto:Scip@zib.de> <mailto:Scip@zib.de><br clear="none">>  > <a shape="rect" href="https://listserv.zib.de/mailman/listinfo/scip" target="_blank">https://listserv.zib.de/mailman/listinfo/scip</a><br clear="none">> <<a shape="rect" href="https://listserv.zib.de/mailman/listinfo/scip" target="_blank">https://listserv.zib.de/mailman/listinfo/scip</a>><br clear="none">> _______________________________________________<br clear="none">> Scip mailing list<br clear="none">> <a shape="rect" ymailto="mailto:Scip@zib.de" href="mailto:Scip@zib.de">Scip@zib.de</a><mailto:Scip@zib.de> <mailto:Scip@zib.de><div class="yqt7381891916" id="yqtfd05200"><br clear="none"><br clear="none">> <a shape="rect" href="https://listserv.zib.de/mailman/listinfo/scip" target="_blank">https://listserv.zib.de/mailman/listinfo/scip</a><br clear="none">> <<a shape="rect" href="https://listserv.zib.de/mailman/listinfo/scip" target="_blank">https://listserv.zib.de/mailman/listinfo/scip</a>><br clear="none">><br clear="none"></div></div></div>
            </div>
        </div></body></html>