[SCIP] Soplex make install Fehler

Nils-Christian Kempke kempke at zib.de
Sat Jan 30 12:30:41 CET 2021


Dear Thomas,

your error comes from setting CMAKE_INSTALL_PREFIX to the same path as 
the build directory.

The make install command will create folders bin, include and lib at the 
destination defined via CMAKE_INSTALL_PREFIX but bin also exists as a 
folder in the build directory.

I am not completely aware of the cmake install process (someone may 
correct me if I am wrong) but I think before copying the binaries to the 
install destination a cleanup of old binaries will be performed. Since 
the build folder has the same structure as the install one the binaries 
will get deleted before they can actually be copied (my guess).

Also have a look at this 
<https://stackoverflow.com/questions/59488449/scip-make-install-error-scipoptsuite-6-0-2> 
issue - I think it describes the same problem.

Anyhow, just use different install and build directories.

I managed to run your setup without errors.

Best,

Nils

On 26.01.21 16:21, Thomas Breuer wrote:
>
> Dear SCIP team,
>
> it seems that your Cmake setup is a bit creaky.
> If I use the Easybuild framework to install SCIPOptSuite, then the 
> 'make install' command will copy all files from /bin and /lib except 
> the papilo lib and exe file.
> The issue I have described below is still valid. Let me know if you 
> need further information to fix it.
> I am trying to install the following setup:
> /-- The following OPTIONAL packages have been found://
> // * Threads//
> // * BLAS//
> // * Readline//
> // * Quadmath//
> // * PAPILO//
> // * ZIMPL//
> // * ZLIB//
> // * PkgConfig//
> // * GSL (required version >= 2.0)//
> //
> //-- The following REQUIRED packages have been found://
> // * BISON//
> // * FLEX//
> // * TBB//
> // * GMP//
> // * SCIP//
> // * SOPLEX//
> // * Boost//
> //
> //-- The following OPTIONAL packages have not been found://
> // * IPOPT (required version >= 3.12.0)//
> // * CRITERION//
> // * CLIQUER//
> // * HMETIS//
> // * BLISS//
> /
>
> Best regards,
> Thomas
>
> Am 22.01.2021 um 18:48 schrieb Thomas Breuer:
>>
>> Hallo Lovis, Nils, SCIP Team,
>>
>> ich bekomme beim Installieren von SCIPOptSuite einen Fehler, den ich 
>> mir nicht erklären kann. Hier meine Installationsanleitung auf JUWELS 
>> Booster:
>> /download source code://
>> //    wget https://scip.zib.de/download/release/scipoptsuite-7.0.2.tgz//
>> //unpack://
>> //    tar -xf scipoptsuite-7.0.2.tgz//
>> //load modules://
>> //     ml CMake//GMP/6.2.0 GSL/2.6 flex/2.6.4 GCC/9.3.0  
>> ParaStationMPI/5.4.7-1 Boost/1.74.0 imkl/2020.2.254//
>> //build://
>> //    cd scipoptsuite-7.0.2//
>> //    mkdir build//
>> //    cd build//
>> //    cmake -DCMAKE_INSTALL_PREFIX=./ .. 2>&1 | tee cmake_gps.out//
>> //    make -j 24 2>&1 | tee make_gps.out//
>> //    make install//
>> //    #optional://
>> //    # make -j 24 test 2>&1 | tee make_test_gps.out//
>> //   # make -j 24 check 2>&1 | tee make_check_gps.out/
>>
>>
>> Das "make -j 24" läuft noch fehlerfrei durch und erstellt auch das 
>> soplex executable:
>> /-rwxr-xr-x 1 [...]  Jan 18:30 bin/soplex/
>>
>> Allerdings wird das scheinbar durch das "make install" gelöscht, 
>> sodass es nicht mehr in dem Ordner ist.
>> Das würde auch die Fehlermeldung erklären, die der Befehl erzeugt:
>> /CMake Error at soplex/src/cmake_install.cmake:202 (file)://
>> //  file INSTALL cannot find//
>> //  "[..]/scipoptsuite-7.0.2/build/bin/soplex"://
>> //  No such file or directory.//
>> //Call Stack (most recent call first)://
>> //  soplex/cmake_install.cmake:47 (include)//
>> //  cmake_install.cmake:48 (include)//
>> //make: *** [Makefile:105: install] Error 1/
>>
>> Ich habe "make test" und "make check" vor "make install" aufgerufen 
>> und die waren erfolgreich.
>> Habt ihr eine Erklärung wie es zu dem Fehler kommt? Evtl ist da etwas 
>> im Build-System kaputt...
>>
>> Viele Grüße,
>> Thomas
>>
>> -- 
>> Thomas Breuer
>>
>> Division Application Support             Forschungszentrum Jülich GmbH
>> Jülich Supercomputing Centre (JSC)       Wilhelm-Johnen-Straße
>> http://www.fz-juelich.de/ias/jsc          52425 Jülich (Germany)
>> Phone: +49 2461 61-96742 (currently not available via phone)
>> Email:t.breuer at fz-juelich.de  
>>     
>> -------------------------------------------------------------------------------------
>> -------------------------------------------------------------------------------------
>> Forschungszentrum Juelich GmbH
>> 52425 Juelich
>> Sitz der Gesellschaft: Juelich
>> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
>> Vorsitzender des Aufsichtsrats: MinDir Volker Rieke
>> Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
>> Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt
>> -------------------------------------------------------------------------------------
>> -------------------------------------------------------------------------------------
> -- 
> Thomas Breuer
>
> Division Application Support             Forschungszentrum Jülich GmbH
> Jülich Supercomputing Centre (JSC)       Wilhelm-Johnen-Straße
> http://www.fz-juelich.de/ias/jsc          52425 Jülich (Germany)
> Phone: +49 2461 61-96742 (currently not available via phone)
> Email:t.breuer at fz-juelich.de  
>     
> -------------------------------------------------------------------------------------
> -------------------------------------------------------------------------------------
> Forschungszentrum Juelich GmbH
> 52425 Juelich
> Sitz der Gesellschaft: Juelich
> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
> Vorsitzender des Aufsichtsrats: MinDir Volker Rieke
> Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
> Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt
> -------------------------------------------------------------------------------------
> -------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20210130/691d6078/attachment.html>


More information about the Scip mailing list