aamaricci / SciFortran

A library of fortran modules and routines for scientific calculations (*in a way* just like scipy for python)
GNU Lesser General Public License v3.0
159 stars 39 forks source link

What should I do with this cmake error? #18

Open qintaophy opened 1 year ago

qintaophy commented 1 year ago

-- 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 commented 1 year ago

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 commented 1 year ago

@qintaophy any update on this?