Closed iulian787 closed 7 years ago
I am trying to build oce with default options, on a ubuntu machine, using spack build manager
TKCAF is not built with default configuration, and I don't know why, even though it is using -DOCE_OCAF:BOOL=ON
https://github.com/LLNL/spack
it is using this configuration file
https://github.com/LLNL/spack/blob/87ebb0fc157731ac2a52aeb9ce09ad375ad8103d/var/spack/repos/builtin/packages/oce/package.py
the cmake command gets translated to this one:
`'cmake' '.' '-DCMAKE_INSTALL_PREFIX:PATH=/nfs2/iulian/source/spack/opt/spack/linux-ubuntu14-x86_64/gcc-4.8/oce-0.18.1-kocscwyyfvwaxnbt5jb3zlgyeoja2yrq' '-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo' '-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON' '-DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=FALSE' '-DCMAKE_INSTALL_RPATH:STRING=/nfs2/iulian/source/spack/opt/spack/linux-ubuntu14-x86_64/gcc-4.8/oce-0.18.1-kocscwyyfvwaxnbt5jb3zlgyeoja2yrq/lib:/nfs2/iulian/source/spack/opt/spack/linux-ubuntu14-x86_64/gcc-4.8/oce-0.18.1-kocscwyyfvwaxnbt5jb3zlgyeoja2yrq/lib64:/nfs2/iulian/source/spack/opt/spack/linux-ubuntu14-x86_64/gcc-4.8/tbb-2017.6-hziqurfzuewq35xuv4qyuvhpu2ua6oqw/lib' '-DOCE_INSTALL_PREFIX=/nfs2/iulian/source/spack/opt/spack/linux-ubuntu14-x86_64/gcc-4.8/oce-0.18.1-kocscwyyfvwaxnbt5jb3zlgyeoja2yrq' '-DOCE_BUILD_SHARED_LIB:BOOL=ON' '-DCMAKE_BUILD_TYPE:STRING=Release' '-DOCE_DATAEXCHANGE:BOOL=ON' '-DOCE_DISABLE_X11:BOOL=ON' '-DOCE_DRAW:BOOL=OFF' '-DOCE_MODEL:BOOL=ON' '-DOCE_MULTITHREAD_LIBRARY:STRING=TBB' '-DOCE_OCAF:BOOL=ON' '-DOCE_USE_TCL_TEST_FRAMEWORK:BOOL=OFF' '-DOCE_VISUALISATION:BOOL=OFF' '-DOCE_WITH_FREEIMAGE:BOOL=OFF' '-DOCE_WITH_GL2PS:BOOL=OFF' '-DOCE_WITH_OPENCL:BOOL=OFF' '-DCMAKE_INSTALL_NAME_DIR:PATH=/nfs2/iulian/source/spack/opt/spack/linux-ubuntu14-x86_64/gcc-4.8/oce-0.18.1-kocscwyyfvwaxnbt5jb3zlgyeoja2yrq/lib'
`
Any ideas what is going on? Or what options could I change on spack oce to have that built?
it seems to be -DOCE_DISABLE_X11:BOOL=ON ; if I turn off (default), so to not disable X11, TKCAF gets built
it is the -DOCE_DISABLE_X11:BOOL=ON, which is on by default (so no X11)
I am trying to build oce with default options, on a ubuntu machine, using spack build manager
TKCAF is not built with default configuration, and I don't know why, even though it is using -DOCE_OCAF:BOOL=ON
it is using this configuration file
https://github.com/LLNL/spack/blob/87ebb0fc157731ac2a52aeb9ce09ad375ad8103d/var/spack/repos/builtin/packages/oce/package.py
the cmake command gets translated to this one:
`'cmake' '.' '-DCMAKE_INSTALL_PREFIX:PATH=/nfs2/iulian/source/spack/opt/spack/linux-ubuntu14-x86_64/gcc-4.8/oce-0.18.1-kocscwyyfvwaxnbt5jb3zlgyeoja2yrq' '-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo' '-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON' '-DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=FALSE' '-DCMAKE_INSTALL_RPATH:STRING=/nfs2/iulian/source/spack/opt/spack/linux-ubuntu14-x86_64/gcc-4.8/oce-0.18.1-kocscwyyfvwaxnbt5jb3zlgyeoja2yrq/lib:/nfs2/iulian/source/spack/opt/spack/linux-ubuntu14-x86_64/gcc-4.8/oce-0.18.1-kocscwyyfvwaxnbt5jb3zlgyeoja2yrq/lib64:/nfs2/iulian/source/spack/opt/spack/linux-ubuntu14-x86_64/gcc-4.8/tbb-2017.6-hziqurfzuewq35xuv4qyuvhpu2ua6oqw/lib' '-DOCE_INSTALL_PREFIX=/nfs2/iulian/source/spack/opt/spack/linux-ubuntu14-x86_64/gcc-4.8/oce-0.18.1-kocscwyyfvwaxnbt5jb3zlgyeoja2yrq' '-DOCE_BUILD_SHARED_LIB:BOOL=ON' '-DCMAKE_BUILD_TYPE:STRING=Release' '-DOCE_DATAEXCHANGE:BOOL=ON' '-DOCE_DISABLE_X11:BOOL=ON' '-DOCE_DRAW:BOOL=OFF' '-DOCE_MODEL:BOOL=ON' '-DOCE_MULTITHREAD_LIBRARY:STRING=TBB' '-DOCE_OCAF:BOOL=ON' '-DOCE_USE_TCL_TEST_FRAMEWORK:BOOL=OFF' '-DOCE_VISUALISATION:BOOL=OFF' '-DOCE_WITH_FREEIMAGE:BOOL=OFF' '-DOCE_WITH_GL2PS:BOOL=OFF' '-DOCE_WITH_OPENCL:BOOL=OFF' '-DCMAKE_INSTALL_NAME_DIR:PATH=/nfs2/iulian/source/spack/opt/spack/linux-ubuntu14-x86_64/gcc-4.8/oce-0.18.1-kocscwyyfvwaxnbt5jb3zlgyeoja2yrq/lib'
`
Any ideas what is going on? Or what options could I change on spack oce to have that built?