Hi All,
I recently followed the instructions for building from source on Ubuntu 20.04.
Unfortunately I have found that the $BUILD_DIR/lib directory is not populated. When I’ve installed this on 18.x before, this was where the simpleapi module was stored.
Can someone give me a hint as to whether this has been moved / I’m not using the right options when running cmake / it has been missed out of the make file?
Thanks,
Andrew
Some information:
Version:
alister@SCLT118:/opt/Mantid$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
History:
2105 cd /opt/Mantid/
2106 ls ~/mantid/
2107 apt-get install -y git g++ clang-format-6.0 cmake dvipng doxygen libtbb-dev libgoogle-perftools-dev libboost-all-dev libpoco-dev libnexus-dev libhdf5-dev libhdf4-dev libjemalloc-dev libgsl-dev liboce-visualization-dev libmuparser-dev libssl-dev libjsoncpp-dev librdkafka-dev qtbase5-dev qttools5-dev qttools5-dev-tools libqt5webkit5-dev libqt5x11extras5-dev libqt5opengl5-dev libqscintilla2-qt5-dev libpython3-dev ninja-build python3-setuptools python3-sip-dev python3-pyqt5 pyqt5-dev pyqt5-dev-tools python3-qtpy python3-numpy python3-scipy python3-sphinx python3-sphinx-bootstrap-theme python3-pycifrw python3-dateutil python3-matplotlib python3-qtconsole python3-h5py python3-mock python3-psutil python3-requests python3-toml python3-yaml
2108 sudo apt-get install -y git g++ clang-format-6.0 cmake dvipng doxygen libtbb-dev libgoogle-perftools-dev libboost-all-dev libpoco-dev libnexus-dev libhdf5-dev libhdf4-dev libjemalloc-dev libgsl-dev liboce-visualization-dev libmuparser-dev libssl-dev libjsoncpp-dev librdkafka-dev qtbase5-dev qttools5-dev qttools5-dev-tools libqt5webkit5-dev libqt5x11extras5-dev libqt5opengl5-dev libqscintilla2-qt5-dev libpython3-dev ninja-build python3-setuptools python3-sip-dev python3-pyqt5 pyqt5-dev pyqt5-dev-tools python3-qtpy python3-numpy python3-scipy python3-sphinx python3-sphinx-bootstrap-theme python3-pycifrw python3-dateutil python3-matplotlib python3-qtconsole python3-h5py python3-mock python3-psutil python3-requests python3-toml python3-yaml
2109 export QT_API=pyqt5
2110 sudo apt install ccache
2111 ccache --max-size=20G
2112 cmake ~/mantid/ -DENABLE_MANTIDPLOT=OFF
2113 sudo chown alister /opt/Mantid
2114 cmake ~/mantid/ -DENABLE_MANTIDPLOT=OFF
Out of source build dir:
alister@SCLT118:/opt/Mantid$ ls -l
total 272
-rw-r--r-- 1 alister alister 58168 Feb 2 17:46 CMakeCache.txt
-rw-r--r-- 1 alister alister 14305 Feb 2 17:45 CMakeDoxyfile.in
-rw-r--r-- 1 alister alister 19712 Feb 2 17:45 CMakeDoxygenDefaults.cmake
drwxr-xr-x 13 alister alister 4096 Feb 2 17:46 CMakeFiles
-rw-r--r-- 1 alister alister 468 Feb 2 17:46 CTestTestfile.cmake
drwxr-xr-x 32 alister alister 4096 Feb 2 17:46 Framework
-rw-r--r-- 1 alister alister 67437 Feb 2 17:46 Makefile
drwxr-xr-x 4 alister alister 4096 Feb 2 17:46 PyStoG-download
-rw-r--r-- 1 alister alister 480 Feb 2 17:45 StandardTestData_config.cmake
-rw-r--r-- 1 alister alister 480 Feb 2 17:45 SystemTestData_config.cmake
drwxr-xr-x 3 alister alister 4096 Feb 2 17:46 Testing
drwxr-xr-x 8 alister alister 4096 Feb 2 17:45 _deps
drwxr-xr-x 3 alister alister 4096 Feb 2 17:46 bin
-rw-r--r-- 1 alister alister 4909 Feb 2 17:46 cmake_install.cmake
drwxr-xr-x 3 alister alister 4096 Feb 2 17:46 dev-docs
drwxr-xr-x 3 alister alister 4096 Feb 2 17:46 docs
drwxr-xr-x 7 alister alister 4096 Feb 2 17:45 extern-eigen
-rw-r--r-- 1 alister alister 2032 Feb 2 17:45 launch_mantidworkbench.sh.install
drwxr-xr-x 2 alister alister 4096 Feb 2 17:46 lib
-rw-r--r-- 1 alister alister 57 Feb 2 17:45 mantid.csh
-rw-r--r-- 1 alister alister 48 Feb 2 17:45 mantid.pth.install
-rw-r--r-- 1 alister alister 57 Feb 2 17:45 mantid.sh
-rwxr-xr-x 1 alister alister 1716 Feb 2 17:45 mantidpython.install
-rw-r--r-- 1 alister alister 350 Feb 2 17:46 mantidworkbenchunstable.desktop.install
-rw-r--r-- 1 alister alister 1865 Feb 2 17:45 postinst
-rw-r--r-- 1 alister alister 1281 Feb 2 17:45 preinst
-rw-r--r-- 1 alister alister 1418 Feb 2 17:45 prerm
drwxr-xr-x 8 alister alister 4096 Feb 2 17:46 qt
drwxr-xr-x 9 alister alister 4096 Feb 2 17:46 scripts
-rwxr-xr-x 1 alister alister 2394 Feb 2 17:46 systemtest
alister@SCLT118:/opt/Mantid$ ls -l bin lib
bin:
total 32
-rwxr-xr-x 1 alister alister 2863 Feb 2 17:45 AddPythonPath.py
-rw-r--r-- 1 alister alister 12382 Feb 2 17:46 Mantid.properties
drwxr-xr-x 2 alister alister 4096 Feb 2 17:45 Testing
-rwxr-xr-x 1 alister alister 2021 Feb 2 17:45 launch_mantidworkbench.sh
-rwxr-xr-x 1 alister alister 1763 Feb 2 17:45 mantidpython
lib:
total 0