Configure Does Not Seem to Work Correctly
Created by: nmhamster
@bartlettroscoe - getting the weirdness below. It looks like the directory check isn't correct?
$ ../../do-configure-devpack-intel-18.1.163.sh
rm: cannot remove ‘CMakeCache.txt’: No such file or directory
Configuring Trilinos build directory
CMake Error at cmake/tribits/core/package_arch/TribitsGlobalMacros.cmake:88 (MESSAGE):
ERROR!
CMAKE_CURRENT_SOURCE_DIR=/ascldap/users/sdhammo/git/trilinos-github-repo ==
CMAKE_CURRENT_BINARY_DIR=/ascldap/users/sdhammo/git/trilinos-github-repo
Trilinos does not support in source builds!
NOTE: You must now delete the CMakeCache.txt file and the CMakeFiles/
directory under the source directory for Trilinos or you will not be able
to configure Trilinos correctly!
You must now run something like:
$ rm -r CMakeCache.txt CMakeFiles/
Please create a different directory and configure Trilinos under that such
as:
$ mkdir MY_BUILD
$ cd MY_BUILD
$ cmake [OPTIONS] ..
Call Stack (most recent call first):
cmake/tribits/core/package_arch/TribitsProjectImpl.cmake:91 (TRIBITS_ASSERT_AND_SETUP_PROJECT_AND_STATIC_SYSTEM_VARS)
cmake/tribits/core/package_arch/TribitsProject.cmake:93 (TRIBITS_PROJECT_IMPL)
CMakeLists.txt:93 (TRIBITS_PROJECT)
-- Configuring incomplete, errors occurred!
See also "/ascldap/users/sdhammo/git/trilinos-github-repo/CMakeFiles/CMakeOutput.log".
-bash-4.2$ pwd
/ascldap/users/sdhammo/git/trilinos-github-repo/build-devpack-intel-181163-mini