Git Product home page Git Product logo

pomerol2dcore's People

Stargazers

Li Huang avatar  avatar

Watchers

Hiroshi Shinaoka avatar Junya Otsuki avatar

Forkers

shinaoka

pomerol2dcore's Issues

pomerol linking error: cannot compile

Dear developers, I am trying to compile your package to test out the pomerol solver in dcore. Unfortunately, I am not able to compile it on the supercluster I am working on. Here are my steps:

  1. compile libcommute. Everything runs fine and I use compilers (gcc 9.3.0) with openmpi (4.0.3) and eigen (3.3.7) compiled on my cluster.
    1. download: git clone https://github.com/krivenko/libcommute.git libcommute.src
    2. create build/install directories: mkdir libcommute.ins && mkdir libcommute.build && cd libcommute.build
    3. configure: CC=mpicc CXX=mpic++ cmake ../libcommute.src/ -DCMAKE_INSTALL_PREFIX=../libcommute.ins/ -DEXAMPLES=ON -DTESTS=ON
    4. make/test/install: make && make test && make install
  2. compile pomerol and link it with libcommute (ok). I used boost with mpi compilers (1.72.0):
    1. download: git clone https://github.com/aeantipov/pomerol.git pomerol.src
    2. create build/install directories: mkdir pomerol.ins && mkdir pomerol.build && cd pomerol.build
    3. configure: CC=mpicc CXX=mpic++ cmake ../pomerol.src/ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../pomerol.ins/ -Dlibcommute_DIR=../libcommute.ins/lib/cmake/
    4. make/test/install: make && make doc && make test && make install
  3. compile pomerol2dcore.
    1. download: git clone https://github.com/j-otsuki/pomerol2dcore.git pomerol2dcore.src
    2. create build/installation directories: mkdir pomerol2dcore.ins && mkdir pomerol2dcore.build && cd pomerol2dcore.build
    3. Configure: CC=mpicc CXX=mpic++ cmake ../pomerol2dcore.src/ -DCMAKE_INSTALL_PREFIX=../pomerol2dcore.ins/ -Dpomerol_DIR=../pomerol.ins/
      • Configure runs ok but does not seem to be able to find the pomerol package even though no errors are thrown. Here is the configure log:
-- The CXX compiler identification is GNU 9.3.0
-- Check for working CXX compiler: /cvmfs/soft.computecanada.ca/easybuild/software/2020/avx512/Compiler/gcc9/openmpi/4.0.3/bin/mpic++
-- Check for working CXX compiler: /cvmfs/soft.computecanada.ca/easybuild/software/2020/avx512/Compiler/gcc9/openmpi/4.0.3/bin/mpic++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- pomerol2dcore version 1.6
-- Pomerol includes : 
-- Pomerol libraries : 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/fgoudrea/Workspace/triqs/pomerol2dcore.build
4. `make`:
    - Compiling stops quickly with this error message:
Scanning dependencies of target pomerol2dcore
[ 20%] Building CXX object CMakeFiles/pomerol2dcore.dir/src/pomerol2dcore.cpp.o
/home/fgoudrea/Workspace/triqs/pomerol2dcore.src/src/pomerol2dcore.cpp:7:10: fatal error: pomerol.h: No such file or directory
    7 | #include <pomerol.h>
      |          ^~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/pomerol2dcore.dir/build.make:63: CMakeFiles/pomerol2dcore.dir/src/pomerol2dcore.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/pomerol2dcore.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

If you have any insight for this I'd be glad. Thanks!

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.