Open chrispbradley opened 6 years ago
Same problem with trying to build and intel config after a successful gnu build. Note that the problem file is
/data/OpenCMISS/install/x86_64_linux/gnu-C5.4-gnu-F5.4/no_mpi/cmake/csim-config.cmake
which shouldn't even be accessed as we are doing an intel build and so it shouldn't even be looking in a gnu archpath? More detailed output is
cbra009@BN356540 /data/OpenCMISS/build/manage/Linux/release: cmake -DOPENCMISS_TOOLCHAIN=intel -DOPENCMISS_MPI=intel -DOPENCMISS_BUILD_TYPE=debug .
... -- FindLibXml2 wrapper: System search enabled -- FindLibXml2 wrapper: Trying to find version 2.7.6 on system in MODULE mode -- FindLibXml2 wrapper: Found: /usr/lib/x86_64-linux-gnu/libxml2.so CMake Error at /data/OpenCMISS/install/x86_64_linux/gnu-C5.4-gnu-F5.4/no_mpi/cmake/csim-config.cmake:71 (message): The imported target "csim" references the file
"/lib/libcsim.a"
but this file does not exist. Possible reasons include:
The file was deleted, renamed, or moved to another location.
An install or uninstall procedure did not complete successfully.
The installation package was faulty and contained
"/data/OpenCMISS/install/x86_64_linux/gnu-C5.4-gnu-F5.4/no_mpi/cmake/csim-config.cmake"
but not all the files it references.
Call Stack (most recent call first): SharedModules/OCDetermineRequiredComponents.cmake:37 (find_package) CMakeLists.txt:219 (include)
-- Configuring incomplete, errors occurred! See also "/data/OpenCMISS/build/manage/Linux/release/CMakeFiles/CMakeOutput.log". See also "/data/OpenCMISS/build/manage/Linux/release/CMakeFiles/CMakeError.log".
Note also that for the intel build above the config
/data/OpenCMISS/build/manage/Linux/release/configs/x86_64_linux/intel-C18.0-intel-F18.0/intel_system/OpenCMISSLocalConfig.cmake
has USE_CSIM turned off so I don't know why it is even trying to get the csim config (from the wrong archpath)?
Renaming or deleting /data/OpenCMISS/install/x86_64_linux/gnu-C5.4-gnu-F5.4/no_mpi/cmake/csim-config.cmake allows you to configure.
After a successful build of a debug version on Ubuntu 16.04 a new release configuration fails i.e.
cbra009@BN356540 /data/OpenCMISS/build/manage/Linux/release: cmake -DOPENCMISS_TOOLCHAIN=gnu -DOPENCMISS_MPI=mpich -DOPENCMISS_BUILD_TYPE=debug .
......
[100%] No update step for 'OC_IRON' [100%] Performing configure step for 'OC_IRON' -- OC_IRON configure command succeeded. See also /data/OpenCMISS/build/x86_64_linux/gnu-C5.4-gnu-F5.4/mpich_release/iron/debug/extproj/stamp/OC_IRON-configure-.log [100%] Performing build step for 'OC_IRON' -- OC_IRON build command succeeded. See also /data/OpenCMISS/build/x86_64_linux/gnu-C5.4-gnu-F5.4/mpich_release/iron/debug/extproj/stamp/OC_IRON-build-.log [100%] Performing install step for 'OC_IRON' -- OC_IRON install command succeeded. See also /data/OpenCMISS/build/x86_64_linux/gnu-C5.4-gnu-F5.4/mpich_release/iron/debug/extproj/stamp/OC_IRON-install-*.log [100%] Completed 'OC_IRON' [100%] Built target OC_IRON Install the project... -- Install configuration: "debug" -- Installing: /data/OpenCMISS/install/./x86_64_linux/gnu-C5.4-gnu-F5.4/no_mpi/context.cmake -- Installing: /data/OpenCMISS/install/./x86_64_linux/gnu-C5.4-gnu-F5.4/no_mpi/context-mpi-mpich.cmake -- Installing: /data/OpenCMISS/install/./x86_64_linux/gnu-C5.4-gnu-F5.4/no_mpi/context-dependencies.cmake -- Installing: /data/OpenCMISS/install/./opencmisslibs-config.cmake -- Installing: /data/OpenCMISS/install/./opencmisslibs-config-version.cmake [100%] Completed 'manage_config' [100%] Built target manage_config Built target redo_config cbra009@BN356540 /data/OpenCMISS/build/manage/Linux/release: cmake -DOPENCMISS_TOOLCHAIN=gnu -DOPENCMISS_MPI=mpich -DOPENCMISS_BUILD_TYPE=release . -- Read options from: /data/OpenCMISS/build/manage/Linux/release/InstallationOptions.cmake -- Applying component Git settings at: /data/OpenCMISS/build/manage/Linux/release/Settings/OCComponentGitValues.cmake -- Applying component configuration at: /data/OpenCMISS/build/manage/Linux/release/SharedSettings/OCComponentConfig.cmake -- Applying component version settings from: OCComponentVersions -- Applying component branch settings from: /data/OpenCMISS/build/manage/Linux/release/Settings/OCComponentBranches.cmake -- Setting user specified MPI to TRUE -- Looking for 'mpich' MPI on local system. -- Looking for MPI: mpich specified by user. -- FindMPI wrapper: System search enabled -- FindMPI wrapper: Trying to find version on system in MODULE mode -- MPI is set to: mpich, and it is available -- FindLibXml2 wrapper: System search enabled -- FindLibXml2 wrapper: Trying to find version 2.7.6 on system in MODULE mode -- FindLibXml2 wrapper: Found at /data/OpenCMISS/install/x86_64_linux/gnu-C5.4-gnu-F5.4/no_mpi/cmake in CONFIG mode CMake Error at /data/OpenCMISS/install/x86_64_linux/gnu-C5.4-gnu-F5.4/no_mpi/cmake/csim-config.cmake:71 (message): The imported target "csim" references the file
but this file does not exist. Possible reasons include:
The file was deleted, renamed, or moved to another location.
An install or uninstall procedure did not complete successfully.
The installation package was faulty and contained
"/data/OpenCMISS/install/x86_64_linux/gnu-C5.4-gnu-F5.4/no_mpi/cmake/csim-config.cmake"
but not all the files it references.
Call Stack (most recent call first): SharedModules/OCDetermineRequiredComponents.cmake:37 (find_package) CMakeLists.txt:216 (include)
-- Configuring incomplete, errors occurred! See also "/data/OpenCMISS/build/manage/Linux/release/CMakeFiles/CMakeOutput.log". See also "/data/OpenCMISS/build/manage/Linux/release/CMakeFiles/CMakeError.log".