Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What should I do with this cmake error? #18

Open
qintaophy opened this issue Oct 15, 2022 · 2 comments
Open

What should I do with this cmake error? #18

qintaophy opened this issue Oct 15, 2022 · 2 comments

Comments

@qintaophy
Copy link

-- The Fortran compiler identification is Intel 14.0.2.20140120
-- Check for working Fortran compiler: /opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/ifort
-- Check for working Fortran compiler: /opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/ifort -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/ifort supports Fortran 90
-- Checking whether /opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/ifort supports Fortran 90 -- yes
-- OS: Linux 5.4.0-125-generic
-- BUILD_TYPE=RELEASE
-- Found MPI_Fortran: /home/user01/anaconda3/envs/triqs_env/lib/libmpifort.so (found version "4.0")
-- Found MPI: TRUE (found version "4.0")
-- Set Fortran compiler FC to /home/user01/anaconda3/envs/triqs_env/bin/mpif90, ID=Intel
-- MKL found at: /opt/intel/composer_xe_2013_sp1.2.144/mkl
-- MKL supports Scalapack+Blacs
-- Fortran Compiler id = Intel
-- Fortran Compiler ver. = 14.0.2.20140120
-- Fortran Compiler options = -fpp -O3 -ftz
-- Testing P-ARPACK patch: zdotc.patch
-- Patch applied: zdotc.patch
CMake Error at cmake/BuildPkgConfigFile.cmake:6 (LIST):
LIST sub-command REMOVE_DUPLICATES requires list to be present.
Call Stack (most recent call first):
CMakeLists.txt:292 (BUILD_PKCONFIG)

-- Version file: /home/user01/ncainstall/SciFortran-master/build/etc/modules/scifor/intel/.version
-- Module file: scifor/intel/
-- Library version:
-- Library will be installed in: /home/user01/opt/scifor/intel/

TO CONCLUDE INSTALLATION <<
Compile with:
$ make
Install with:
$ make install

Uninstall with:

@aamaricci
Copy link
Owner

This is an error coming from the string manipulation part of a Cmake macro in the cmake directory, i.e. BuildPkgConfigFile.cmake, which expects a string list. The list is probably empty in your system so it raises an error.
Anyway this should rather be considered a warning because it should not affect the remaining part of the setup.
Can you still compile?

@beddalumia
Copy link
Contributor

@qintaophy any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants