SyneRBI / SIRF-SuperBuild

SIRF CMake SuperBuild
http://www.ccpsynerbi.ac.uk
Apache License 2.0
15 stars 18 forks source link

OpenMP flags #95

Closed rijobro closed 2 years ago

rijobro commented 6 years ago

When building STIR, the user can enable STIR_OpenMP, reconfigure and then if necessary, set OpenMP_CXX_FLAGS, OpenMP_C_FLAGS, OpenMP_CXX_LIB_NAMES and OpenMP_C_LIB_NAMES. These aren't exposed in the superbuild, and so compilation fails on my machine.

Could we also enable a travis test with openMP enabled for STIR?

KrisThielemans commented 6 years ago

aargh. macs....

It really shouldn't be necessary to have to set these flags, but indeed we struggled with it for STIR. Have a look there. Note the end statement "CMake doesn't support OpenMP with Apple's version of clang yet." (can't remember where I found that, but I believe it was in some CMake issue).

Can you add your observations on how you did get STIR-OPENMP to work on your system (os, xcode, compiler, cmake) to the STIR issue.

In STIR, we didn't manage to get openmp on Travis yet for OSX, so no point in enabling it for SIRF.(ok, we could do it for linux).

Having said all this, it would make sense to do a find(openmp) in SuperBuild.cmake and use mark_as_superbuild on the Openmp* variables (should only need CXX). feel free to generate a PR for this.

DANAJK commented 6 years ago

Is there a work around? A super build on my Mac currently fails with the error below. In cmake-gui, the BUILD_STIR_WITH_OPENMP is not checked (so it should build?)

CMake Error at /usr/local/Cellar/cmake/3.11.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES) Call Stack (most recent call first): /usr/local/Cellar/cmake/3.11.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) /usr/local/Cellar/cmake/3.11.0/share/cmake/Modules/FindOpenMP.cmake:451 (find_package_handle_standard_args) src/CMakeLists.txt:145 (find_package)

-- Configuring incomplete, errors occurred! See also "/Users/davidatkinson/devel/build/builds/STIR/build/CMakeFiles/CMakeOutput.log". make[2]: [builds/STIR/stamp/STIR-configure] Error 1 make[1]: [CMakeFiles/STIR.dir/all] Error 2 make: *** [all] Error 2

KrisThielemans commented 6 years ago

sorry. this is my update. Travis OSX was down, so I thought it'd work :-;

I don't understand what's going on though. I was specifically trying to avoid this issue by NOT enabling STIR_OPENMP on OSX. Can you attach the CMakeCache.txt of ~/devel/build/ and ~/devel/build/builds/STIR/build/?

As a work-around for now, you can edit your local SIRF-SuperBuild/SuperBuild.cmake, L116 back to

option(BUILD_STIR_WITH_OPENMP "Build STIR with OpenMP acceleration" OFF)

as that worked for you before. (you would have to delete your build directory, or create a new one such that we can debug the old one)

DANAJK commented 6 years ago

Files attached. I note their Date Modified were from yesterday so it looks like any changes I made in cmake-gui today did not affect these files.

From: Kris Thielemans notifications@github.com Reply-To: CCPPETMR/SIRF-SuperBuild reply@reply.github.com Date: Saturday, 12 May 2018 at 10:14 To: CCPPETMR/SIRF-SuperBuild SIRF-SuperBuild@noreply.github.com Cc: David Atkinson d.atkinson@ucl.ac.uk, Comment comment@noreply.github.com Subject: Re: [CCPPETMR/SIRF-SuperBuild] OpenMP flags (#95) Resent-From: David Atkinson D.Atkinson@ucl.ac.uk

sorry. this is my update. Travis OSX was down, so I thought it'd work :-;

I don't understand what's going on though. I was specifically trying to avoid this issue by NOT enabling STIR_OPENMP on OSX. Can you attach the CMakeCache.txt of ~/devel/build/ and ~/devel/build/builds/STIR/build/?

As a work-around for now, you can edit your local SIRF-SuperBuild/SuperBuild.cmake, L116 back to

option(BUILD_STIR_WITH_OPENMP "Build STIR with OpenMP acceleration" OFF)

as that worked for you before. (you would have to delete your build directory, or create a new one such that we can debug the old one)

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/CCPPETMR/SIRF-SuperBuild/issues/95#issuecomment-388541987, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AF2bnw-lgOVsGNZCeZrYy6oPDIgFzFLlks5txqf6gaJpZM4SW1_c.

This is the CMakeCache file.

For build in directory: /Users/davidatkinson/devel/build

It was generated by CMake: /usr/local/Cellar/cmake/3.11.0/bin/cmake

You can edit this file to change values found and used by cmake.

If you do not want to change any of the values, simply exit the editor.

If you do want to change a value, simply edit, save, and exit the editor.

The syntax for the file is as follows:

KEY:TYPE=VALUE

KEY is the name of a variable in the cache.

TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.

VALUE is the current value for the KEY.

########################

EXTERNAL cache entries

########################

//Build Gadgetron BUILD_GADGETRON:BOOL=ON

//Build Gadgetron MATLAB gadgets (not required for SIRF) BUILD_GADGETRON_NATIVE_MATLAB_SUPPORT:BOOL=OFF

//Build all STIR executables BUILD_STIR_EXECUTABLES:BOOL=OFF

//Build STIR Python interface BUILD_STIR_SWIG_PYTHON:BOOL=OFF

//Build STIR with OpenMP acceleration BUILD_STIR_WITH_OPENMP:BOOL=ON

//Build petmr_rd_tools BUILD_petmr_rd_tools:BOOL=OFF

//Build siemens_to_ismrmrd BUILD_siemens_to_ismrmrd:BOOL=OFF

//The directory containing a CMake configuration file for Boost. Boost_DIR:PATH=Boost_DIR-NOTFOUND

//Path to a file. Boost_INCLUDE_DIR:PATH=/usr/local/include

//Build CCPPETMR and the projects it depends on via SuperBuild.cmake. CCPPETMR_SUPERBUILD:BOOL=ON

//Path to a program. CMAKE_AR:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar

//Choose the type of build, options are: None Debug Release RelWithDebInfo // MinSizeRel ... CMAKE_BUILD_TYPE:STRING=

//Enable/Disable color output during build. CMAKE_COLOR_MAKEFILE:BOOL=ON

//CXX compiler CMAKE_CXX_COMPILER:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++

//Flags used by the CXX compiler during all build types. CMAKE_CXX_FLAGS:STRING=

//Flags used by the CXX compiler during DEBUG builds. CMAKE_CXX_FLAGS_DEBUG:STRING=-g

//Flags used by the CXX compiler during MINSIZEREL builds. CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

//Flags used by the CXX compiler during RELEASE builds. CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

//Flags used by the CXX compiler during RELWITHDEBINFO builds. CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG

//C compiler CMAKE_C_COMPILER:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc

//Flags used by the C compiler during all build types. CMAKE_C_FLAGS:STRING=

//Flags used by the C compiler during DEBUG builds. CMAKE_C_FLAGS_DEBUG:STRING=-g

//Flags used by the C compiler during MINSIZEREL builds. CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

//Flags used by the C compiler during RELEASE builds. CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

//Flags used by the C compiler during RELWITHDEBINFO builds. CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG

//Flags used by the linker during all build types. CMAKE_EXE_LINKER_FLAGS:STRING=

//Flags used by the linker during DEBUG builds. CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during MINSIZEREL builds. CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during RELEASE builds. CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during RELWITHDEBINFO builds. CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Enable/Disable output of compile commands during generation. CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF

//Path to a program. CMAKE_INSTALL_NAME_TOOL:FILEPATH=/usr/bin/install_name_tool

//Prefix for path for installation CMAKE_INSTALL_PREFIX:PATH=/Users/davidatkinson/devel/build/INSTALL

//Path to a program. CMAKE_LINKER:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld

//Path to a program. CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make

//Flags used by the linker during the creation of modules during // all build types. CMAKE_MODULE_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of modules during // DEBUG builds. CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of modules during // MINSIZEREL builds. CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of modules during // RELEASE builds. CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of modules during // RELWITHDEBINFO builds. CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Path to a program. CMAKE_NM:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm

//Path to a program. CMAKE_OBJCOPY:FILEPATH=CMAKE_OBJCOPY-NOTFOUND

//Path to a program. CMAKE_OBJDUMP:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump

//Build architectures for OSX CMAKE_OSX_ARCHITECTURES:STRING=

//Minimum OS X version to target for deployment (at runtime); newer // APIs weak linked. Set to empty string for default value. CMAKE_OSX_DEPLOYMENT_TARGET:STRING=

//The product will be built against the headers and libraries located // inside the indicated SDK. CMAKE_OSX_SYSROOT:STRING=

//Value Computed by CMake CMAKE_PROJECT_NAME:STATIC=SuperBuild_CCPPETMR

//Path to a program. CMAKE_RANLIB:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib

//Flags used by the linker during the creation of shared libraries // during all build types. CMAKE_SHARED_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of shared libraries // during DEBUG builds. CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of shared libraries // during MINSIZEREL builds. CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of shared libraries // during RELEASE builds. CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of shared libraries // during RELWITHDEBINFO builds. CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//If set, runtime paths are not added when installing shared libraries, // but are added when building. CMAKE_SKIP_INSTALL_RPATH:BOOL=NO

//If set, runtime paths are not added when using shared libraries. CMAKE_SKIP_RPATH:BOOL=NO

//Flags used by the linker during the creation of static libraries // during all build types. CMAKE_STATIC_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of static libraries // during DEBUG builds. CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of static libraries // during MINSIZEREL builds. CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of static libraries // during RELEASE builds. CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of static libraries // during RELWITHDEBINFO builds. CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Path to a program. CMAKE_STRIP:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip

//If this value is on, makefiles will be generated without the // .SILENT directive, and all commands will be echoed to the console // during the make. This is useful for debugging only. With Visual // Studio IDE projects all commands are done without /nologo. CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE

//Developer Build DEVEL_BUILD:BOOL=OFF

//Git command line client GIT_EXECUTABLE:FILEPATH=/usr/bin/git

//ON Gadgetron_TAG:STRING=e7eb430673eb3272e8a821b51750c0a2a96dafed

//ON Gadgetron_URL:STRING=https://github.com/gadgetron/gadgetron

//ON ISMRMRD_TAG:STRING=42d93137cc16c270c8ba065edd2496483161bd21

//ON ISMRMRD_URL:STRING=https://github.com/ismrmrd/ismrmrd

//Directory of the SIRF Matlab libraries MATLAB_DEST_DIR:PATH=

//The directory containing a CMake configuration file for MKL. MKL_DIR:PATH=MKL_DIR-NOTFOUND

//Path to a file. Matlab_INCLUDE_DIRS:PATH=/Applications/MATLAB_R2017b.app/extern/include

//Matlab main program Matlab_MAIN_PROGRAM:FILEPATH=/Applications/MATLAB_R2017b.app/bin/matlab

//Extensions for the mex targets (automatically given by Matlab) Matlab_MEX_EXTENSION:STRING=mexmaci64

//Path to a library. Matlab_MEX_LIBRARY:FILEPATH=/Applications/MATLAB_R2017b.app/bin/maci64/libmex.dylib

//Matlab installation root path Matlab_ROOT_DIR:PATH=/Applications/MATLAB_R2017b.app

//Directory of the SIRF Python modules PYTHON_DEST_DIR:PATH=

//Path to a program. PYTHON_EXECUTABLE:FILEPATH=/usr/local/bin/python

//Path to a file. PYTHON_INCLUDE_DIR:PATH=/usr/include/python2.7

//Path to a library. PYTHON_LIBRARY:FILEPATH=/usr/lib/libpython2.7.dylib

//Path to a library. PYTHON_LIBRARY_DEBUG:FILEPATH=PYTHON_LIBRARY_DEBUG-NOTFOUND

// PYTHONPATH: prefix PYTHONPATH //\n SETUP_PY: execute /usr/local/bin/python setup.py install // //\n CONDA: do nothing PYTHON_STRATEGY:STRING=PYTHONPATH

//Python version PYVER:STRING=0

//Force shared libraries to be installed with absolute paths (as // opposed to rpaths) SHARED_LIBS_ABS_PATH:BOOL=ON

//ON SIRF_TAG:STRING=v1.1.0-rc.1

//ON SIRF_URL:STRING=https://github.com/CCPPETMR/SIRF

//blabla SOURCE_ROOT_DIR:PATH=/Users/davidatkinson/devel/build/sources

//ON STIR_TAG:STRING=cc7c16451abe1af7d0c02cc790f5d0752c2a7b68

//ON STIR_URL:STRING=https://github.com/UCL/STIR

//The path for downloading external source directories SUPERBUILD_WORK_DIR:PATH=/Users/davidatkinson/devel/build

//Value Computed by CMake SuperBuild_CCPPETMR_BINARY_DIR:STATIC=/Users/davidatkinson/devel/build

//Value Computed by CMake SuperBuild_CCPPETMR_SOURCE_DIR:STATIC=/Users/davidatkinson/devel/SIRF-SuperBuild

//Use ITK USE_ITK:BOOL=OFF

//Build using an external version of Armadillo USE_SYSTEM_Armadillo:BOOL=OFF

//Build using an external version of Boost USE_SYSTEM_Boost:BOOL=ON

//Build using an external version of fftw USE_SYSTEM_FFTW3:BOOL=OFF

//Build using an external version of GTest USE_SYSTEM_GTest:BOOL=OFF

//Build using an external version of HDF5 USE_SYSTEM_HDF5:BOOL=OFF

//Build using an external version of ISMRMRD USE_SYSTEM_ISMRMRD:BOOL=OFF

//Build using an external version of SIRF USE_SYSTEM_SIRF:BOOL=OFF

//Build using an external version of STIR USE_SYSTEM_STIR:BOOL=OFF

//Build using an external version of SWIG USE_SYSTEM_SWIG:BOOL=OFF

//Build using an external version of siemens_to_ismrmrd USE_SYSTEM_siemens_to_ismrmrd:BOOL=OFF

//ON glog_TAG:STRING=v035

//ON glog_URL:STRING=https://github.com/google/glog

//ON petmr_rd_tools_TAG:STRING=b88281f79e8c4a3781ebda7663f1ce7f5cab6e68

//ON petmr_rd_tools_URL:STRING=https://github.com/UCL/petmr-rd-tools

//ON siemens_to_ismrmrd_TAG:STRING=ba4773f9cf4bba5f3ccd19930e3548d8273fee01

//ON siemens_to_ismrmrd_URL:STRING=https://github.com/ismrmrd/siemens_to_ismrmrd

########################

INTERNAL cache entries

########################

//ADVANCED property for variable: Boost_DIR Boost_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: Boost_INCLUDE_DIR Boost_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_AR CMAKE_AR-ADVANCED:INTERNAL=1 //This is the directory where this CMakeCache.txt was created CMAKE_CACHEFILE_DIR:INTERNAL=/Users/davidatkinson/devel/build //Major version of cmake used to create the current loaded cache CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 //Minor version of cmake used to create the current loaded cache CMAKE_CACHE_MINOR_VERSION:INTERNAL=11 //Patch version of cmake used to create the current loaded cache CMAKE_CACHE_PATCH_VERSION:INTERNAL=0 //ADVANCED property for variable: CMAKE_COLOR_MAKEFILE CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1 //Path to CMake executable. CMAKE_COMMAND:INTERNAL=/usr/local/Cellar/cmake/3.11.0/bin/cmake //Path to cpack program executable. CMAKE_CPACK_COMMAND:INTERNAL=/usr/local/Cellar/cmake/3.11.0/bin/cpack //Path to ctest program executable. CMAKE_CTEST_COMMAND:INTERNAL=/usr/local/Cellar/cmake/3.11.0/bin/ctest //ADVANCED property for variable: CMAKE_CXX_COMPILER CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_COMPILER CMAKE_C_COMPILER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS CMAKE_C_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //Path to cache edit program executable. CMAKE_EDIT_COMMAND:INTERNAL=/usr/local/Cellar/cmake/3.11.0/bin/ccmake //Executable file format CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1 //Name of external makefile project generator. CMAKE_EXTRA_GENERATOR:INTERNAL= //Name of generator. CMAKE_GENERATOR:INTERNAL=Unix Makefiles //Generator instance identifier. CMAKE_GENERATOR_INSTANCE:INTERNAL= //Name of generator platform. CMAKE_GENERATOR_PLATFORM:INTERNAL= //Name of generator toolset. CMAKE_GENERATOR_TOOLSET:INTERNAL= //Source directory with the top level CMakeLists.txt file for this // project CMAKE_HOME_DIRECTORY:INTERNAL=/Users/davidatkinson/devel/SIRF-SuperBuild //ADVANCED property for variable: CMAKE_INSTALL_NAME_TOOL CMAKE_INSTALL_NAME_TOOL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_LINKER CMAKE_LINKER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MAKE_PROGRAM CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_NM CMAKE_NM-ADVANCED:INTERNAL=1 //number of local generators CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1 //ADVANCED property for variable: CMAKE_OBJCOPY CMAKE_OBJCOPY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_OBJDUMP CMAKE_OBJDUMP-ADVANCED:INTERNAL=1 //Platform information initialized CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1 //ADVANCED property for variable: CMAKE_RANLIB CMAKE_RANLIB-ADVANCED:INTERNAL=1 //Path to CMake installation. CMAKE_ROOT:INTERNAL=/usr/local/Cellar/cmake/3.11.0/share/cmake //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SKIP_RPATH CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STRIP CMAKE_STRIP-ADVANCED:INTERNAL=1 //uname command CMAKE_UNAME:INTERNAL=/usr/bin/uname //ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: DEVEL_BUILD DEVEL_BUILD-ADVANCED:INTERNAL=1 //Default build type for support libraries EXTERNAL_PROJECT_BUILD_TYPE:INTERNAL= //Details about finding Matlab FIND_PACKAGE_MESSAGE_DETAILS_Matlab:INTERNAL=[/Applications/MATLAB_R2017b.app/extern/include][/Applications/MATLAB_R2017b.app/bin/maci64/libmex.dylib][mexmaci64][/Applications/MATLAB_R2017b.app][cfound components: MAIN_PROGRAM ][v9.3()] //Details about finding PythonInterp FIND_PACKAGE_MESSAGE_DETAILS_PythonInterp:INTERNAL=[/usr/local/bin/python][v2.7.14()] //Details about finding PythonLibs FIND_PACKAGE_MESSAGE_DETAILS_PythonLibs:INTERNAL=[/usr/lib/libpython2.7.dylib][/usr/include/python2.7][v2.7.10()] //ADVANCED property for variable: GIT_EXECUTABLE GIT_EXECUTABLE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: Gadgetron_TAG Gadgetron_TAG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: Gadgetron_URL Gadgetron_URL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: ISMRMRD_TAG ISMRMRD_TAG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: ISMRMRD_URL ISMRMRD_URL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: Matlab_INCLUDE_DIRS Matlab_INCLUDE_DIRS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: Matlab_MAIN_PROGRAM Matlab_MAIN_PROGRAM-ADVANCED:INTERNAL=1 //ADVANCED property for variable: Matlab_MEX_EXTENSION Matlab_MEX_EXTENSION-ADVANCED:INTERNAL=1 //ADVANCED property for variable: Matlab_MEX_LIBRARY Matlab_MEX_LIBRARY-ADVANCED:INTERNAL=1 //internal matlab location for the discovered version Matlab_PROG_VERSION_STRING_AUTO_DETECT:INTERNAL=/Applications/MATLAB_R2017b.app/bin/matlab //last Matlab root dir location Matlab_ROOT_DIR_LAST_CACHED:INTERNAL=/Applications/MATLAB_R2017b.app //Matlab version (automatically determined) Matlab_VERSION_STRING_INTERNAL:INTERNAL=9.3 //ADVANCED property for variable: PYTHON_EXECUTABLE PYTHON_EXECUTABLE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_INCLUDE_DIR PYTHON_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_LIBRARY PYTHON_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_LIBRARY_DEBUG PYTHON_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //STRINGS property for variable: PYTHON_STRATEGY PYTHON_STRATEGY-STRINGS:INTERNAL=PYTHONPATH;SETUP_PY;CONDA //ADVANCED property for variable: SHARED_LIBS_ABS_PATH SHARED_LIBS_ABS_PATH-ADVANCED:INTERNAL=1 //ADVANCED property for variable: SIRF_TAG SIRF_TAG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: SIRF_URL SIRF_URL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: STIR_TAG STIR_TAG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: STIR_URL STIR_URL-ADVANCED:INTERNAL=1 //Components requested for this build tree. _Boost_COMPONENTS_SEARCHED:INTERNAL= //Last used Boost_INCLUDE_DIR value. _Boost_INCLUDE_DIR_LAST:INTERNAL=/usr/local/include //Last used Boost_NAMESPACE value. _Boost_NAMESPACE_LAST:INTERNAL=boost //Last used Boost_USE_MULTITHREADED value. _Boost_USE_MULTITHREADED_LAST:INTERNAL=TRUE //ADVANCED property for variable: glog_TAG glog_TAG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: glog_URL glog_URL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: petmr_rd_tools_TAG petmr_rd_tools_TAG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: petmr_rd_tools_URL petmr_rd_tools_URL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: siemens_to_ismrmrd_TAG siemens_to_ismrmrd_TAG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: siemens_to_ismrmrd_URL siemens_to_ismrmrd_URL-ADVANCED:INTERNAL=1

This is the CMakeCache file.

For build in directory: /Users/davidatkinson/devel/build/builds/STIR/build

It was generated by CMake: /usr/local/Cellar/cmake/3.11.0/bin/cmake

You can edit this file to change values found and used by cmake.

If you do not want to change any of the values, simply exit the editor.

If you do want to change a value, simply edit, save, and exit the editor.

The syntax for the file is as follows:

KEY:TYPE=VALUE

KEY is the name of a variable in the cache.

TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.

VALUE is the current value for the KEY.

########################

EXTERNAL cache entries

########################

//location of AVW include files AVW_INCLUDE_DIRS:PATH=AVW_INCLUDE_DIRS-NOTFOUND

//location of AVW library AVW_LIBRARIES:FILEPATH=AVW_LIBRARIES-NOTFOUND

//root of AVW, normally found from the AVW environment variable AVW_ROOT_DIR:PATH=

//root of Boost BOOST_ROOT:PATH=

//No help, variable specified on the command line. BUILD_DOCUMENTATION:UNINITIALIZED=OFF

//Build executables BUILD_EXECUTABLES:BOOL=OFF

//Use shared libraries BUILD_SHARED_LIBS:BOOL=OFF

//Use SWIG to generate matlab bindings for STIR (experimental) BUILD_SWIG_MATLAB:BOOL=OFF

//Use SWIG to generate octave bindings for STIR (experimental) BUILD_SWIG_OCTAVE:BOOL=OFF

//Use SWIG to generate python bindings for STIR (experimental) BUILD_SWIG_PYTHON:BOOL=OFF

//Build test programs BUILD_TESTING:BOOL=OFF

//The directory containing a CMake configuration file for Boost. Boost_DIR:PATH=Boost_DIR-NOTFOUND

//Path to a file. Boost_INCLUDE_DIR:PATH=/usr/local/include

//Path to a program. CCACHE_PROGRAM:FILEPATH=CCACHE_PROGRAM-NOTFOUND

//Path to a program. CMAKE_AR:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar

//type of build: Debug Release RelWithDebInfo MinSizeRel. CMAKE_BUILD_TYPE:STRING=Release

//Enable/Disable color output during build. CMAKE_COLOR_MAKEFILE:BOOL=ON

//Initial cache CMAKE_CXX_COMPILER:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++

//Flags used by the CXX compiler during all build types. CMAKE_CXX_FLAGS:STRING=

//Flags used by the CXX compiler during DEBUG builds. CMAKE_CXX_FLAGS_DEBUG:STRING=-g

//Flags used by the CXX compiler during MINSIZEREL builds. CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

//Flags used by the CXX compiler during RELEASE builds. CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

//Flags used by the CXX compiler during RELWITHDEBINFO builds. CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG

//No help, variable specified on the command line. CMAKE_CXX_STANDARD:UNINITIALIZED=11

//Initial cache CMAKE_C_COMPILER:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc

//Flags used by the C compiler during all build types. CMAKE_C_FLAGS:STRING=

//Flags used by the C compiler during DEBUG builds. CMAKE_C_FLAGS_DEBUG:STRING=-g

//Flags used by the C compiler during MINSIZEREL builds. CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

//Flags used by the C compiler during RELEASE builds. CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

//Flags used by the C compiler during RELWITHDEBINFO builds. CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG

//Flags used by the linker during all build types. CMAKE_EXE_LINKER_FLAGS:STRING=

//Flags used by the linker during DEBUG builds. CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during MINSIZEREL builds. CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during RELEASE builds. CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during RELWITHDEBINFO builds. CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Enable/Disable output of compile commands during generation. CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF

//Initial cache CMAKE_GENERATOR:STRING=Unix Makefiles

//Initial cache CMAKE_GENERATOR_PLATFORM:STRING=

//Initial cache CMAKE_GENERATOR_TOOLSET:STRING=

//Initial cache CMAKE_INSTALL_NAME_DIR:PATH=/Users/davidatkinson/devel/build/INSTALL/lib

//Path to a program. CMAKE_INSTALL_NAME_TOOL:FILEPATH=/usr/bin/install_name_tool

//Initial cache CMAKE_INSTALL_PREFIX:PATH=/Users/davidatkinson/devel/build/INSTALL

//Path to a program. CMAKE_LINKER:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld

//Path to a program. CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make

//Flags used by the linker during the creation of modules during // all build types. CMAKE_MODULE_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of modules during // DEBUG builds. CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of modules during // MINSIZEREL builds. CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of modules during // RELEASE builds. CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of modules during // RELWITHDEBINFO builds. CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Path to a program. CMAKE_NM:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm

//Path to a program. CMAKE_OBJCOPY:FILEPATH=CMAKE_OBJCOPY-NOTFOUND

//Path to a program. CMAKE_OBJDUMP:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump

//Build architectures for OSX CMAKE_OSX_ARCHITECTURES:STRING=

//Minimum OS X version to target for deployment (at runtime); newer // APIs weak linked. Set to empty string for default value. CMAKE_OSX_DEPLOYMENT_TARGET:STRING=

//The product will be built against the headers and libraries located // inside the indicated SDK. CMAKE_OSX_SYSROOT:STRING=

//No help, variable specified on the command line. CMAKE_POSITION_INDEPENDENT_CODE:UNINITIALIZED=ON

//Value Computed by CMake CMAKE_PROJECT_NAME:STATIC=STIR

//Path to a program. CMAKE_RANLIB:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib

//Flags used by the linker during the creation of shared libraries // during all build types. CMAKE_SHARED_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of shared libraries // during DEBUG builds. CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of shared libraries // during MINSIZEREL builds. CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of shared libraries // during RELEASE builds. CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of shared libraries // during RELWITHDEBINFO builds. CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//If set, runtime paths are not added when installing shared libraries, // but are added when building. CMAKE_SKIP_INSTALL_RPATH:BOOL=NO

//If set, runtime paths are not added when using shared libraries. CMAKE_SKIP_RPATH:BOOL=NO

//Flags used by the linker during the creation of static libraries // during all build types. CMAKE_STATIC_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of static libraries // during DEBUG builds. CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of static libraries // during MINSIZEREL builds. CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of static libraries // during RELEASE builds. CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of static libraries // during RELWITHDEBINFO builds. CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Path to a program. CMAKE_STRIP:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip

//If this value is on, makefiles will be generated without the // .SILENT directive, and all commands will be echoed to the console // during the make. This is useful for debugging only. With Visual // Studio IDE projects all commands are done without /nologo. CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE

//disable use of AVW library DISABLE_AVW:BOOL=OFF

//No help, variable specified on the command line. DISABLE_CERN_ROOT:UNINITIALIZED=ON

//disable use of Cern ROOT libraries DISABLE_CERN_ROOT_SUPPORT:BOOL=ON

//disable use of ITK library DISABLE_ITK:BOOL=OFF

//disable use of LLN library DISABLE_LLN_MATRIX:BOOL=OFF

//disable use of GE RDF library DISABLE_RDF:BOOL=OFF

//disable use of LOCAL extensions to STIR DISABLE_STIR_LOCAL:BOOL=OFF

//No help, variable specified on the command line. GRAPHICS:UNINITIALIZED=None

//The directory containing a CMake configuration file for ITK. ITK_DIR:PATH=ITK_DIR-NOTFOUND

//location of LLN include files LLN_INCLUDE_DIRS:PATH=LLN_INCLUDE_DIRS-NOTFOUND

//location of LLN library LLN_LIBRARIES:FILEPATH=LLN_LIBRARIES-NOTFOUND

//CXX compiler flags for OpenMP parallelization OpenMP_CXX_FLAGS:STRING=NOTFOUND

//CXX compiler libraries for OpenMP parallelization OpenMP_CXX_LIB_NAMES:STRING=NOTFOUND

//C compiler flags for OpenMP parallelization OpenMP_C_FLAGS:STRING=NOTFOUND

//C compiler libraries for OpenMP parallelization OpenMP_C_LIB_NAMES:STRING=NOTFOUND

//location of RDF include files RDF_INCLUDE_DIRS:PATH=RDF_INCLUDE_DIRS-NOTFOUND

//location of RDF library RDF_LIBRARIES:FILEPATH=RDF_LIBRARIES-NOTFOUND

//Value Computed by CMake STIR_BINARY_DIR:STATIC=/Users/davidatkinson/devel/build/builds/STIR/build

//Use same default projectors as STIR 1.x and 2.x (not recommended) STIR_DEFAULT_PROJECTOR_AS_V2:BOOL=OFF

//Compile with MPI STIR_MPI:BOOL=OFF

//Compile with OpenMP STIR_OPENMP:BOOL=ON

//Value Computed by CMake STIR_SOURCE_DIR:STATIC=/Users/davidatkinson/devel/build/sources/STIR

//Project version number. VERSION:STRING=030100

//Project major version number. VERSION_MAJOR:STRING=3

//Project minor version number. VERSION_MINOR:STRING=1

//Project patch version number. VERSION_PATCH:STRING=0

########################

INTERNAL cache entries

########################

//ADVANCED property for variable: AVW_INCLUDE_DIRS AVW_INCLUDE_DIRS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: AVW_LIBRARIES AVW_LIBRARIES-ADVANCED:INTERNAL=1 //ADVANCED property for variable: BOOST_ROOT BOOST_ROOT-ADVANCED:INTERNAL=1 //ADVANCED property for variable: BUILD_SWIG_OCTAVE BUILD_SWIG_OCTAVE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: Boost_DIR Boost_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: Boost_INCLUDE_DIR Boost_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_AR CMAKE_AR-ADVANCED:INTERNAL=1 //This is the directory where this CMakeCache.txt was created CMAKE_CACHEFILE_DIR:INTERNAL=/Users/davidatkinson/devel/build/builds/STIR/build //Major version of cmake used to create the current loaded cache CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 //Minor version of cmake used to create the current loaded cache CMAKE_CACHE_MINOR_VERSION:INTERNAL=11 //Patch version of cmake used to create the current loaded cache CMAKE_CACHE_PATCH_VERSION:INTERNAL=0 //ADVANCED property for variable: CMAKE_COLOR_MAKEFILE CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1 //Path to CMake executable. CMAKE_COMMAND:INTERNAL=/usr/local/Cellar/cmake/3.11.0/bin/cmake //Path to cpack program executable. CMAKE_CPACK_COMMAND:INTERNAL=/usr/local/Cellar/cmake/3.11.0/bin/cpack //Path to ctest program executable. CMAKE_CTEST_COMMAND:INTERNAL=/usr/local/Cellar/cmake/3.11.0/bin/ctest //ADVANCED property for variable: CMAKE_CXX_COMPILER CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_COMPILER CMAKE_C_COMPILER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS CMAKE_C_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //Path to cache edit program executable. CMAKE_EDIT_COMMAND:INTERNAL=/usr/local/Cellar/cmake/3.11.0/bin/ccmake //Executable file format CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1 //Generator instance identifier. CMAKE_GENERATOR_INSTANCE:INTERNAL= //Source directory with the top level CMakeLists.txt file for this // project CMAKE_HOME_DIRECTORY:INTERNAL=/Users/davidatkinson/devel/build/sources/STIR //ADVANCED property for variable: CMAKE_INSTALL_NAME_TOOL CMAKE_INSTALL_NAME_TOOL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_LINKER CMAKE_LINKER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MAKE_PROGRAM CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_NM CMAKE_NM-ADVANCED:INTERNAL=1 //number of local generators CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=2 //ADVANCED property for variable: CMAKE_OBJCOPY CMAKE_OBJCOPY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_OBJDUMP CMAKE_OBJDUMP-ADVANCED:INTERNAL=1 //Platform information initialized CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1 //ADVANCED property for variable: CMAKE_RANLIB CMAKE_RANLIB-ADVANCED:INTERNAL=1 //Path to CMake installation. CMAKE_ROOT:INTERNAL=/usr/local/Cellar/cmake/3.11.0/share/cmake //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SKIP_RPATH CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STRIP CMAKE_STRIP-ADVANCED:INTERNAL=1 //uname command CMAKE_UNAME:INTERNAL=/usr/bin/uname //ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 //Result of TRY_COMPILE OpenMP_COMPILE_RESULT_CXX_fopenmp:INTERNAL=FALSE //Result of TRY_COMPILE OpenMP_COMPILE_RESULT_CXX_fopenmplibiomp5:INTERNAL=FALSE //Result of TRY_COMPILE OpenMP_COMPILE_RESULT_CXX_fopenmplibomp:INTERNAL=FALSE //Result of TRY_COMPILE OpenMP_COMPILE_RESULT_C_fopenmp:INTERNAL=FALSE //Result of TRY_COMPILE OpenMP_COMPILE_RESULT_C_fopenmplibiomp5:INTERNAL=FALSE //Result of TRY_COMPILE OpenMP_COMPILE_RESULT_C_fopenmplibomp:INTERNAL=FALSE //ADVANCED property for variable: OpenMP_CXX_FLAGS OpenMP_CXX_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: OpenMP_CXX_LIB_NAMES OpenMP_CXX_LIB_NAMES-ADVANCED:INTERNAL=1 //ADVANCED property for variable: OpenMP_C_FLAGS OpenMP_C_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: OpenMP_C_LIB_NAMES OpenMP_C_LIB_NAMES-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VERSION VERSION-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VERSION_MAJOR VERSION_MAJOR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VERSION_MINOR VERSION_MINOR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VERSION_PATCH VERSION_PATCH-ADVANCED:INTERNAL=1 //Last used BOOST_ROOT value. _BOOST_ROOT_LAST:INTERNAL= //Components requested for this build tree. _Boost_COMPONENTS_SEARCHED:INTERNAL= //Last used Boost_INCLUDE_DIR value. _Boost_INCLUDE_DIR_LAST:INTERNAL=/usr/local/include //Last used Boost_NAMESPACE value. _Boost_NAMESPACE_LAST:INTERNAL=boost //Last used Boost_USE_MULTITHREADED value. _Boost_USE_MULTITHREADED_LAST:INTERNAL=TRUE

DANAJK commented 6 years ago

With the workaround applied, make now finishes, but on trying to start gadgetron:

500:~$ gadgetron

dyld: Library not loaded: @rpath/libgadgetron_gadgetbase.3.14.dylib

Referenced from: /usr/local/bin/gadgetron

Reason: image not found

Abort trap: 6

501:~$

From: Kris Thielemans notifications@github.com Reply-To: CCPPETMR/SIRF-SuperBuild reply@reply.github.com Date: Saturday, 12 May 2018 at 10:14 To: CCPPETMR/SIRF-SuperBuild SIRF-SuperBuild@noreply.github.com Cc: David Atkinson d.atkinson@ucl.ac.uk, Comment comment@noreply.github.com Subject: Re: [CCPPETMR/SIRF-SuperBuild] OpenMP flags (#95) Resent-From: David Atkinson D.Atkinson@ucl.ac.uk

sorry. this is my update. Travis OSX was down, so I thought it'd work :-;

I don't understand what's going on though. I was specifically trying to avoid this issue by NOT enabling STIR_OPENMP on OSX. Can you attach the CMakeCache.txt of ~/devel/build/ and ~/devel/build/builds/STIR/build/?

As a work-around for now, you can edit your local SIRF-SuperBuild/SuperBuild.cmake, L116 back to

option(BUILD_STIR_WITH_OPENMP "Build STIR with OpenMP acceleration" OFF)

as that worked for you before. (you would have to delete your build directory, or create a new one such that we can debug the old one)

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/CCPPETMR/SIRF-SuperBuild/issues/95#issuecomment-388541987, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AF2bnw-lgOVsGNZCeZrYy6oPDIgFzFLlks5txqf6gaJpZM4SW1_c.

KrisThielemans commented 6 years ago

unless you changed CMAKE_INSTALL_PREFIX this is another version of gadgetron. Try executing the one in .../INSTALL/bin.

we currently append our directory to the PATH in env_ccppetmr.sh. maybe that's a bad idea (i.e. we should prepend)

KrisThielemans commented 6 years ago

The SuperBuild CMake should now default to false for STIR-OPENMP for OSX. My mistake was that UNIX is also true on OSX.

By the way @DANAJK, the only way I can see that setting BUILD_STIR_WITH_OPENMP to OFF on your cmake-gui didn't end up in the CMakeCache.txt is if you forgot to press configure again.

Let us know about gadgetron (and if you think we should put our INSTALL/bin first in the path, which would prevent people using other stuff by mistake).

KrisThielemans commented 6 years ago

@rijobro, regarding your original observation, could you maybe check at some point what Gadgetron does for OPENMP on OSX, as we don't have that problem there.

DANAJK commented 6 years ago

Gadgetron in ../INSTALL/bin started OK. However, there were subsequent problems that stopped after I put the SIRF stuff first on my path. This would suggest the order should be reversed, but I have many other problems so I can't be sure about cause and effect.

rijobro commented 5 years ago

Sorry, just revisiting this and I can't remember what I need to test. On OSX, BUILD_STIR_WITH_OPENMP defaults to OFF and that works just fine.

Does that mean this issue is resolved?

KrisThielemans commented 5 years ago

At some point, we have to get OpenMP support on working on Macs. We might then have to pass the flags through that you mentioned in your first comment. Let's leave this for later though, so I'll reassign to 2.1.

KrisThielemans commented 4 years ago

@rijobro says this should now all work with Python and C++, but not with MATLAB.

KrisThielemans commented 3 years ago

see also #502

KrisThielemans commented 2 years ago

we won't support MATLAB anymore in the future, so we close this.