Giter VIP home page Giter VIP logo

Comments (2)

pghysels avatar pghysels commented on June 12, 2024

Hi Dmitriy,

I'm sorry, but we have never tried installation on windows.
Can you send me the exact cmake command you used? And the generated output?
Perhaps I can see something wrong.
I am traveling this week, but when I get back I could try to install on windows myself, perhaps in a virtual environment.

Pieter

from strumpack.

dklyuchinskiy avatar dklyuchinskiy commented on June 12, 2024

Hi Pieter,

Firstly, I just would like to inform you, that I have installed strumpack on Linux and it works.
So, actually, installation on Windows is not a required task now.

Buy the way, I send to you my cmake command and generated output.
cmake ../
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=../install
-DCMAKE_CXX_COMPILER=icl
-DCMAKE_C_COMPILER=icl
-DCMAKE_Fortran_COMPILER=ifort
-DTPL_METIS_INCLUDE_DIRS=C:/Users/dklyuchi/Documents/metis-5.1.0/include
-DTPL_METIS_LIBRARIES=C:/Users/dklyuchi/Documents/metis-5.1.0/libmetis.a
-DTPL_BLAS_LIBRARIES="C:/Program Files (x86)/IntelSWTools/compilers_and_libraries/windows/mkl/lib/intel64/mkl_intel_ilp64.lib"
-DTPL_BLAS_LIBRARIES="C:/Program Files (x86)/IntelSWTools/compilers_and_libraries/windows/mkl/lib/mkl_intel_thread.lib"
-DTPL_BLAS_LIBRARIES="C:/Program Files (x86)/IntelSWTools/compilers_and_libraries/windows/mkl/lib/intel64/mkl_intel_thread.lib"
-DTPL_BLAS_LIBRARIES="C:/Program Files (x86)/IntelSWTools/compilers_and_libraries/windows/mkl/lib/intel64/libiomp5md.lib"
-DTPL_LAPACK_LIBRARIES="C:/Program Files (x86)/IntelSWTools/compilers_and_libraries/windows/mkl/lib/intel64/mkl_intel_ilp64.lib"
-DTPL_LAPACK_LIBRARIES="C:/Program Files (x86)/IntelSWTools/compilers_and_libraries/windows/mkl/lib/mkl_intel_thread.lib"
-DTPL_LAPACK_LIBRARIES="C:/Program Files (x86)/IntelSWTools/compilers_and_libraries/windows/mkl/lib/intel64/mkl_intel_thread.lib"
-DTPL_LAPACK_LIBRARIES="C:/Program Files (x86)/IntelSWTools/compilers_and_libraries/windows/mkl/lib/intel64/libiomp5md.lib"
-DSTRUMPACK_USE_MPI=OFF

Output:
-- Building for: Visual Studio 15 2017
USE_XSDK_DEFAULTS = 'FALSE'
-- The CXX compiler identification is MSVC 19.16.27027.1
-- The C compiler identification is MSVC 19.16.27027.1
-- The Fortran compiler identification is Intel 18.0.3.20180410
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working Fortran compiler: C:/Program Files (x86)/IntelSWTools/compilers_and_libraries_2018/windows/bin/intel64/ifort.exe
-- Check for working Fortran compiler: C:/Program Files (x86)/IntelSWTools/compilers_and_libraries_2018/windows/bin/intel64/ifort.exe -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Determine Intel Fortran Compiler Implicit Link Path
-- Determine Intel Fortran Compiler Implicit Link Path -- done
-- Checking whether C:/Program Files (x86)/IntelSWTools/compilers_and_libraries_2018/windows/bin/intel64/ifort.exe supports Fortran 90
-- Checking whether C:/Program Files (x86)/IntelSWTools/compilers_and_libraries_2018/windows/bin/intel64/ifort.exe supports Fortran 90 -- yes
-- Performing Test COMPILER_SUPPORTS_CXX14
-- Performing Test COMPILER_SUPPORTS_CXX14 - Success
-- Detecting Fortran/C Interface
-- Detecting Fortran/C Interface - Found GLOBAL and MODULE mangling
-- Verifying Fortran/CXX Compiler Compatibility
-- Verifying Fortran/CXX Compiler Compatibility - Success
-- Found OpenMP_C: -openmp (found version "2.0")
-- Found OpenMP_CXX: -openmp (found version "2.0")
-- Found OpenMP_Fortran: -Qopenmp (found version "5.0")
-- Found OpenMP: TRUE (found version "2.0")
-- OpenMP specification date: 200203
-- Checking OpenMP task dependencies/priorities
-- Performing Test STRUMPACK_USE_OPENMP_TASK_DEPEND
-- Performing Test STRUMPACK_USE_OPENMP_TASK_DEPEND - Failed
-- Failed to compile code with OpenMP task dependencies/priorities. STRUMPACK will not use OpenMP tasks with dependencies/priorities.
-- Checking OpenMP taskloop
-- Performing Test STRUMPACK_USE_OPENMP_TASKLOOP
-- Performing Test STRUMPACK_USE_OPENMP_TASKLOOP - Failed
-- Failed to compile code with OpenMP taskloop. STRUMPACK will not use OpenMP taskloops.
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
CMake Warning at CMakeLists.txt:176 (message):
WARNING: Could not find a PTHREADS library, might be needed by Scotch !!!!

-- Performing Test STRUMPACK_ATOMICS_WITHOUT_LIB
-- Performing Test STRUMPACK_ATOMICS_WITHOUT_LIB - Success
-- Building STRUMPACK without PAPI support.
-- Found METIS: C:/Users/dklyuchi/Documents/metis-5.1.0/include
-- Found Metis library

-- Building STRUMPACK without Scotch/PTScotch support.
-- Linking with: C:/Program Files (x86)/IntelSWTools/compilers_and_libraries/windows/mkl/lib/intel64/libiomp5md.lib;C:/Program Files (x86)/IntelSWTools/compilers_and_libraries/windows/mkl/lib/intel64/libiomp5md.lib;C:/Users/dklyuchi/Documents/metis-5.1.0/libmetis.a
-- Implicit C libs:
-- Implicit CXX libs:
-- Implicit Fortran libs:
-- Found Doxygen: C:/Program Files/doxygen/bin/doxygen.exe (found version "1.8.14") found components: doxygen missing components: dot
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/dklyuchi/Documents/STRUMPACK-3.1.0/build_1

The first issue is that I can't switch a VS compiler to Intel C++ compiler, but the last is found in command line. Anyway, build has been done. Now, as I understand, I need to run VS project strumpack.sln.

The series of new problems have been encountered here. Some of them: all pragmas of OpenMP are unrecognized inside a project, <getopt.h> does not exist on Windows, std::max is not found, macros CUNGLQMOD is not found and so on...

Dmitriy

from strumpack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.