adios2-config error
Created by: jychoi-hpc
Just tried adios2-config on Titan but got the following error:
Traceback (most recent call last):
File "./adios2-config", line 231, in <module>
adios2_dir=opts.adios2_dir)
File "./adios2-config", line 121, in extract_adios2_flags
with tempdir() as workdir:
File "./adios2-config", line 104, in tempdir
if sys.version_info.major == 3:
AttributeError: 'tuple' object has no attribute 'major'
Also tried on my mac:
$ adios2-config
ADIOS2_DIR: /Users/jyc/sw/adios2/devel/clang
CMake Error at /opt/local/share/cmake-3.10/Modules/CMakeFindDependencyMacro.cmake:48 (find_package):
By not providing "FindLibFFI.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "LibFFI", but
CMake did not find one.
Could not find a package configuration file provided by "LibFFI" with any
of the following names:
LibFFIConfig.cmake
libffi-config.cmake
Add the installation prefix of "LibFFI" to CMAKE_PREFIX_PATH or set
"LibFFI_DIR" to a directory containing one of the above files. If "LibFFI"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
/Users/jyc/sw/adios2/devel/clang/lib/cmake/adios2/thirdparty/dill-config-common.cmake:18 (find_dependency)
/Users/jyc/sw/adios2/devel/clang/lib/cmake/adios2/thirdparty/dill-config.cmake:10 (include)
/opt/local/share/cmake-3.10/Modules/CMakeFindDependencyMacro.cmake:48 (find_package)
/Users/jyc/sw/adios2/devel/clang/lib/cmake/adios2/thirdparty/ffs-config.cmake:11 (find_dependency)
/opt/local/share/cmake-3.10/Modules/CMakeFindDependencyMacro.cmake:48 (find_package)
/Users/jyc/sw/adios2/devel/clang/lib/cmake/adios2/thirdparty/EVPathConfig.cmake:6 (find_dependency)
/opt/local/share/cmake-3.10/Modules/CMakeFindDependencyMacro.cmake:48 (find_package)
/Users/jyc/sw/adios2/devel/clang/lib/cmake/adios2/ADIOS2ConfigCommon.cmake:54 (find_dependency)
/Users/jyc/sw/adios2/devel/clang/lib/cmake/adios2/ADIOS2Config.cmake:26 (include)
CMakeLists.txt:9 (find_package)
Traceback (most recent call last):
File "/Users/jyc/sw/adios2/devel/clang/bin/adios2-config", line 231, in <module>
adios2_dir=opts.adios2_dir)
File "/Users/jyc/sw/adios2/devel/clang/bin/adios2-config", line 150, in extract_adios2_flags
stdout=stdout)
File "/anaconda3/lib/python3.7/subprocess.py", line 341, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '-GUnix Makefiles', '/var/folders/_q/nft8txwn3k72plcdbq8xh2kx_ynv93/T/tmp2ixt2mgr/src']' returned non-zero exit status 1.
It looks like there is some assumption in PATH or CMAKE_PREFIX but I don't know how to set them.