<div dir="ltr"><div class="gmail_default" style="font-family:garamond,times new roman,serif;font-size:small">Hello,</div><div class="gmail_default" style="font-family:garamond,times new roman,serif;font-size:small"><br></div><div class="gmail_default" style="font-family:garamond,times new roman,serif;font-size:small">Thank you for the feedback.</div><div class="gmail_default" style="font-family:garamond,times new roman,serif;font-size:small"><br></div><div class="gmail_default" style="font-family:garamond,times new roman,serif;font-size:small">I'll look into the suggested solutions and hopefully it will work.</div><div class="gmail_default" style="font-family:garamond,times new roman,serif;font-size:small"><br></div><div class="gmail_default" style="font-family:garamond,times new roman,serif;font-size:small">Best Regards,</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 12, 2023 at 5:24 PM Kamp, Dominik <<a href="mailto:Dominik.Kamp@uni-bayreuth.de">Dominik.Kamp@uni-bayreuth.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear Welma,<br>
<br>
thank you for the details.<br>
<br>
> Am 27.06.2023 um 04:58 schrieb Welma <<a href="mailto:mogitiwelma@gmail.com" target="_blank">mogitiwelma@gmail.com</a>>:<br>
> <br>
> Dear Jonas,<br>
> <br>
> Here is some additional information but I am not sure if this influences the installation of pyscipopt.<br>
> I am doing the installation in linux ubuntu. <br>
> When installing the SCIP suite after the build configuration stage, I proceeded with the SCIP compilation process. It is in this stage that I noted the following warning:<br>
> <br>
> [ 7%] Building Fortran object papilo/CMakeFiles/clusol.dir/src/papilo/external/lusol/src/lusol_precision.f90.o<br>
> f951: Warning: Nonexistent include directory ‘/home/welma/Documents/scipoptsuite-8.0.3/papilo/external’ [-Wmissing-include-dirs]<br>
> [ 7%] Building Fortran object papilo/CMakeFiles/clusol.dir/src/papilo/external/lusol/src/lusol.f90.o<br>
> f951: Warning: Nonexistent include directory ‘/home/welma/Documents/scipoptsuite-8.0.3/papilo/external’ [-Wmissing-include-dirs]<br>
> [ 8%] Building Fortran object papilo/CMakeFiles/clusol.dir/src/papilo/external/lusol/src/lusol6b.f.o<br>
> f951: Warning: Nonexistent include directory ‘/home/welma/Documents/scipoptsuite-8.0.3/papilo/external’ [-Wmissing-include-dirs]<br>
> [ 8%] Building Fortran object papilo/CMakeFiles/clusol.dir/src/papilo/external/lusol/src/lusol7b.f.o<br>
> f951: Warning: Nonexistent include directory ‘/home/welma/Documents/scipoptsuite-8.0.3/papilo/external’ [-Wmissing-include-dirs]<br>
> [ 8%] Building Fortran object papilo/CMakeFiles/clusol.dir/src/papilo/external/lusol/src/lusol8b.f.o<br>
> f951: Warning: Nonexistent include directory ‘/home/welma/Documents/scipoptsuite-8.0.3/papilo/external’ [-Wmissing-include-dirs]<br>
> [ 8%] Building Fortran object papilo/CMakeFiles/clusol.dir/src/papilo/external/lusol/src/lusol_util.f.o<br>
> f951: Warning: Nonexistent include directory ‘/home/welma/Documents/scipoptsuite-8.0.3/papilo/external’ [-Wmissing-include-dirs]<br>
<br>
These warnings will be resolved in the next bugfix release.<br>
<br>
> It was then followed by this after a few seconds. I appears severally whenever this appears "Building CXX object scip/src/CMakeFiles/libscip.dir/scip/presol_milp.cpp.o"<br>
> <br>
> <br>
> In file included from /usr/include/string.h:535,<br>
> from /usr/include/c++/11/cstring:42,<br>
> from /usr/include/boost/container_hash/detail/hash_float.hpp:21,<br>
> from /usr/include/boost/container_hash/hash.hpp:22,<br>
> from /usr/include/boost/functional/hash.hpp:6,<br>
> from /usr/include/boost/multiprecision/float128.hpp:11,<br>
> from /home/welma/Documents/scipoptsuite-8.0.3/papilo/src/papilo/misc/MultiPrecision.hpp:34,<br>
> from /home/welma/Documents/scipoptsuite-8.0.3/papilo/src/papilo/core/SparseStorage.hpp:27,<br>
> from /home/welma/Documents/scipoptsuite-8.0.3/papilo/src/papilo/core/MatrixBuffer.hpp:27,<br>
> from /home/welma/Documents/scipoptsuite-8.0.3/papilo/test/papilo/core/MatrixBufferTest.cpp:24:<br>
> In function ‘void* memmove(void*, const void*, size_t)’,<br>
> inlined from ‘F boost::container::dtl::memmove(I, I, F) [with I = int*; F = int*]’ at /usr/include/boost/container/detail/copy_move_algo.hpp:182:19,<br>
> inlined from ‘typename boost::container::dtl::enable_if_memtransfer_copy_constructible<I, F, F>::type boost::container::uninitialized_move_alloc(Allocator&, I, I, F) [with Allocator = boost::container::small_vector_allocator<int, std::allocator<void>, void>; I = int*; F = int*]’ at /usr/include/boost/container/detail/copy_move_algo.hpp:320:23,<br>
> inlined from ‘void boost::container::vector<T, Allocator, Options>::priv_forward_range_insert_new_allocation(T*, boost::container::vector<T, Allocator, Options>::size_type, T*, boost::container::vector<T, Allocator, Options>::size_type, InsertionProxy) [with InsertionProxy = boost::container::dtl::insert_move_proxy<boost::container::small_vector_allocator<int, std::allocator<void>, void>, int*>; T = int; A = boost::container::small_vector_allocator<int, std::allocator<void>, void>; Options = void]’ at /usr/include/boost/container/vector.hpp:2999:13,<br>
> inlined from ‘boost::container::vector<T, Allocator, Options>::iterator boost::container::vector<T, Allocator, Options>::priv_forward_range_insert_no_capacity(const pointer&, boost::container::vector<T, Allocator, Options>::size_type, InsertionProxy, boost::container::version_1) [with InsertionProxy = boost::container::dtl::insert_move_proxy<boost::container::small_vector_allocator<int, std::allocator<void>, void>, int*>; T = int; A = boost::container::small_vector_allocator<int, std::allocator<void>, void>; Options = void]’ at /usr/include/boost/container/vector.hpp:2732:10,<br>
> inlined from ‘void boost::container::vector<T, Allocator, Options>::priv_push_back(U&&) [with U = int; T = int; A = boost::container::small_vector_allocator<int, std::allocator<void>, void>; Options = void]’ at /usr/include/boost/container/vector.hpp:2625:10,<br>
> inlined from ‘void boost::container::vector<T, Allocator, Options>::push_back(T&&) [with T = int; A = boost::container::small_vector_allocator<int, std::allocator<void>, void>; Options = void]’ at /usr/include/boost/container/vector.hpp:1876:4,<br>
> inlined from ‘const papilo::MatrixEntry<REAL>* papilo::MatrixBuffer<REAL>::begin(papilo::SmallVec<int, 32>&) const [with bool RowMajor = false; REAL = double]’ at /home/welma/Documents/scipoptsuite-8.0.3/papilo/src/papilo/core/MatrixBuffer.hpp:296:22,<br>
> inlined from ‘void ____C_A_T_C_H____T_E_S_T____0()’ at /home/welma/Documents/scipoptsuite-8.0.3/papilo/test/papilo/core/MatrixBufferTest.cpp:155:23:<br>
> /usr/include/x86_64-linux-gnu/bits/string_fortified.h:36:34: warning: ‘void* __builtin_memmove(void*, const void*, long unsigned int)’ writing 1 or more bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]<br>
> <br>
> 36 | return __builtin___memmove_chk (__dest, __src, __len,<br>
> | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~<br>
> 37 | __glibc_objsize0 (__dest));<br>
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
> In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/c++allocator.h:33,<br>
> from /usr/include/c++/11/bits/allocator.h:46,<br>
> from /usr/include/c++/11/memory:64,<br>
> from /home/welma/Documents/scipoptsuite-8.0.3/papilo/src/papilo/misc/MultiPrecision.hpp:30,<br>
> from /home/welma/Documents/scipoptsuite-8.0.3/papilo/src/papilo/core/SparseStorage.hpp:27,<br>
> from /home/welma/Documents/scipoptsuite-8.0.3/papilo/src/papilo/core/MatrixBuffer.hpp:27,<br>
> from /home/welma/Documents/scipoptsuite-8.0.3/papilo/test/papilo/core/MatrixBufferTest.cpp:24:<br>
> /usr/include/c++/11/ext/new_allocator.h: In function ‘void ____C_A_T_C_H____T_E_S_T____0()’:<br>
> /usr/include/c++/11/ext/new_allocator.h:127:48: note: at offset 4 into destination object of size 4 allocated by ‘operator new’<br>
> 127 | return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp)));<br>
> | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~<br>
> /usr/include/c++/11/ext/new_allocator.h:127:48: note: at offset [5, 8] into destination object of size 4 allocated by ‘operator new’<br>
<br>
These warnings should be resolved with GCC >= 12.3.<br>
<br>
> Is this something I need to sort out first before proceeding to the pyscipopt installation?<br>
<br>
No, the warnings should not disturb the pyscipopt-Installation.<br>
<br>
It might be that the variable SCIPOPTDIR is still not set correctly. As described in <a href="https://github.com/scipopt/PySCIPOpt/blob/master/INSTALL.md" rel="noreferrer" target="_blank">https://github.com/scipopt/PySCIPOpt/blob/master/INSTALL.md</a> it should be set to the installation path containing lib and include. If you have installed scip using 'make install', the installation path depends on your system (for me it is '/usr/local'). You can also specify the installation path by adding the cmake argument -DCMAKE_INSTALL_PREFIX=<path> while replacing <path> with the desired location.<br>
<br>
> Many thanks.<br>
<br>
Best regards,<br>
<br>
Dominik<br>
<br>
> On Tue, Jun 27, 2023 at 9:42 AM Welma <<a href="mailto:mogitiwelma@gmail.com" target="_blank">mogitiwelma@gmail.com</a>> wrote:<br>
> Dear Jonas,<br>
> <br>
> My bad that was a typo error but even with the correction it still gives the same error.<br>
> <br>
> Thanks.<br>
> <br>
> On Mon, Jun 26, 2023 at 9:10 PM Jonas Charfreitag <<a href="mailto:jcharfreitag@uni-bonn.de" target="_blank">jcharfreitag@uni-bonn.de</a>> wrote:<br>
> Dear Welma,<br>
> just to rule out a simple explanation:<br>
> At least in the copy of the terminal output in your mail, the SCIPOPTDIR path seems off.<br>
>> SCIPOPTDIR=/Documents/scipoptsuite-8.o.3/ does not contain an include directory; searching for include files in src or ../src directory.<br>
> The the zero of the scipoptsuite is an o. Is this really the correct path?<br>
> <br>
> Best<br>
> Jonas<br>
> <br>
> On 6/26/23 08:57, Welma wrote:<br>
>> Hello SCIP experts,<br>
>> <br>
>> Currently trying to install PySCIPOpt but I am getting the error below. My SCIP installation is working. <br>
>> <br>
>> <br>
>> welma@welma-HP-EliteBook:~$ python3 -m pip install pyscipopt<br>
>> Defaulting to user installation because normal site-packages is not writeable<br>
>> Collecting pyscipopt<br>
>> Using cached PySCIPOpt-4.3.0.tar.gz (665 kB)<br>
>> Installing build dependencies ... done<br>
>> Getting requirements to build wheel ... error<br>
>> error: subprocess-exited-with-error<br>
>> <br>
>> × Getting requirements to build wheel did not run successfully.<br>
>> │ exit code: 1<br>
>> ╰─> [2 lines of output]<br>
>> SCIPOPTDIR=/Documents/scipoptsuite-8.o.3/ does not contain an include directory; searching for include files in src or ../src directory.<br>
>> Could not find a src directory in SCIPOPTDIR=/Documents/scipoptsuite-8.o.3/; maybe it points to a wrong directory.<br>
>> [end of output]<br>
>> <br>
>> note: This error originates from a subprocess, and is likely not a problem with pip.<br>
>> error: subprocess-exited-with-error<br>
>> <br>
>> × Getting requirements to build wheel did not run successfully.<br>
>> │ exit code: 1<br>
>> ╰─> See above for output.<br>
>> <br>
>> note: This error originates from a subprocess, and is likely not a problem with pip.<br>
>> <br>
>> Note: In the build process, only the lib subdirectory was created in the build directory. <br>
>> Is the include subdirectory also supposed to be created in the build folder? On searching the header files meant to be in the 'include' subdirectory, they are there but in different folders. Kindly advice on how to solve this error<br>
>> <br>
>> Many thanks.<br>
>> <br>
>> -- <br>
>> Regards,<br>
>> Welma Nyabuto<br>
>> Researcher......phd student<br>
>> Gifu University<br>
>> <br>
>> <br>
>> _______________________________________________<br>
>> Scip mailing list<br>
>> <a href="mailto:Scip@zib.de" target="_blank">Scip@zib.de</a><br>
>> <a href="https://listserv.zib.de/mailman/listinfo/scip" rel="noreferrer" target="_blank">https://listserv.zib.de/mailman/listinfo/scip</a><br>
>> <br>
> -- <br>
> M.Sc. Jonas Charfreitag<br>
> Uni Bonn - Institut fuer Informatik - Abteilung 1<br>
> Friedrich-Hirzebruch-Allee 8 / Room 2.078a<br>
> 53115 Bonn, Germany<br>
> <br>
> e-mail: <a href="mailto:jcharfreitag@uni-bonn.de" target="_blank">jcharfreitag@uni-bonn.de</a><br>
> web: <a href="https://ca.cs.uni-bonn.de/doku.php?id=people:charfreitag" rel="noreferrer" target="_blank">https://ca.cs.uni-bonn.de/doku.php?id=people:charfreitag</a><br>
> <br>
> <br>
> <br>
> -- <br>
> Regards,<br>
> Welma Nyabuto<br>
> Researcher......phd student<br>
> Gifu University<br>
> <br>
> <br>
> <br>
> -- <br>
> Regards,<br>
> Welma Nyabuto<br>
> Researcher......phd student<br>
> Gifu University<br>
> <br>
> _______________________________________________<br>
> Scip mailing list<br>
> <a href="mailto:Scip@zib.de" target="_blank">Scip@zib.de</a><br>
> <a href="https://listserv.zib.de/mailman/listinfo/scip" rel="noreferrer" target="_blank">https://listserv.zib.de/mailman/listinfo/scip</a><br>
<br>
<br>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><div><font face="garamond, times new roman, serif">Regards,</font></div><div><span style="font-family:garamond,"times new roman",serif">Welma Nyabuto</span><br></div><div><font face="garamond, times new roman, serif">Researcher......phd student</font></div><div><font face="garamond, times new roman, serif">Gifu University</font><br><br></div></div></div></div>