*Are you using the default run_cmake script? *
yes
*Can you copy and paste the exact error message?*
-- Fixing Miniconda script shebangs
CMake Error at
/home/pbarletta/amber20_src/cmake/FixCondaShebang/FixCondaShebang.cmake:26
(file):
file failed to open for reading (No such file or directory):
/home/pbarletta/amber20//bin/amber.pip
*can you provide the result of "tail -20 cmake/UseMiniconda.cmake"*
install(DIRECTORY ${MINICONDA_INSTALL_DIR}/ DESTINATION
${CMAKE_INSTALL_POSTFIX}miniconda COMPONENT Python USE_SOURCE_PERMISSIONS)
# create "amber.*" symlinks
if((HOST_OSX OR HOST_LINUX) AND (TARGET_OSX OR TARGET_LINUX))
# make sure bin directory exists at this point in the install
install(CODE "file(MAKE_DIRECTORY
\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_POSTFIX}bin)"
COMPONENT Python)
installtime_create_symlink(${CMAKE_INSTALL_POSTFIX}miniconda/bin/python
${BINDIR}/amber.python Python)
installtime_create_symlink(${CMAKE_INSTALL_POSTFIX}miniconda/bin/conda
${BINDIR}/amber.conda Python)
installtime_create_symlink(${CMAKE_INSTALL_POSTFIX}miniconda/bin/ipython
${BINDIR}/amber.ipython Python)
installtime_create_symlink(${CMAKE_INSTALL_POSTFIX}miniconda/bin/jupyter
${BINDIR}/amber.jupyter Python)
# Some users don't seem to end up with a miniconda/bin/pip file:
if(EXISTS "${CMAKE_INSTALL_POSTFIX}miniconda/bin/pip")
installtime_create_symlink(${CMAKE_INSTALL_POSTFIX}miniconda/bin/pip
${BINDIR}/amber.pip Python)
endif()
endif()
add_subdirectory(${CMAKE_SOURCE_DIR}/cmake/FixCondaShebang)
endfunction(install_miniconda)
Cheers,
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Oct 14 2021 - 01:00:02 PDT