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:
- 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.
- download:
git clone https://github.com/krivenko/libcommute.git libcommute.src
- create build/install directories:
mkdir libcommute.ins && mkdir libcommute.build && cd libcommute.build
- configure:
CC=mpicc CXX=mpic++ cmake ../libcommute.src/ -DCMAKE_INSTALL_PREFIX=../libcommute.ins/ -DEXAMPLES=ON -DTESTS=ON
- make/test/install:
make && make test && make install
- compile
pomerol and link it with libcommute (ok). I used boost with mpi compilers (1.72.0):
- download:
git clone https://github.com/aeantipov/pomerol.git pomerol.src
- create build/install directories:
mkdir pomerol.ins && mkdir pomerol.build && cd pomerol.build
- configure:
CC=mpicc CXX=mpic++ cmake ../pomerol.src/ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../pomerol.ins/ -Dlibcommute_DIR=../libcommute.ins/lib/cmake/
- make/test/install:
make && make doc && make test && make install
- compile pomerol2dcore.
- download:
git clone https://github.com/j-otsuki/pomerol2dcore.git pomerol2dcore.src
- create build/installation directories:
mkdir pomerol2dcore.ins && mkdir pomerol2dcore.build && cd pomerol2dcore.build
- 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!
Dear developers, I am trying to compile your package to test out the
pomerolsolver indcore. Unfortunately, I am not able to compile it on the supercluster I am working on. Here are my steps: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.git clone https://github.com/krivenko/libcommute.git libcommute.srcmkdir libcommute.ins && mkdir libcommute.build && cd libcommute.buildCC=mpicc CXX=mpic++ cmake ../libcommute.src/ -DCMAKE_INSTALL_PREFIX=../libcommute.ins/ -DEXAMPLES=ON -DTESTS=ONmake && make test && make installpomeroland link it with libcommute (ok). I used boost with mpi compilers (1.72.0):git clone https://github.com/aeantipov/pomerol.git pomerol.srcmkdir pomerol.ins && mkdir pomerol.build && cd pomerol.buildCC=mpicc CXX=mpic++ cmake ../pomerol.src/ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../pomerol.ins/ -Dlibcommute_DIR=../libcommute.ins/lib/cmake/make && make doc && make test && make installgit clone https://github.com/j-otsuki/pomerol2dcore.git pomerol2dcore.srcmkdir pomerol2dcore.ins && mkdir pomerol2dcore.build && cd pomerol2dcore.buildCC=mpicc CXX=mpic++ cmake ../pomerol2dcore.src/ -DCMAKE_INSTALL_PREFIX=../pomerol2dcore.ins/ -Dpomerol_DIR=../pomerol.ins/If you have any insight for this I'd be glad. Thanks!