cluster:180
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| cluster:180 [2019/07/18 12:04] – hmeij07 | cluster:180 [2019/07/31 18:56] (current) – hmeij07 | ||
|---|---|---|---|
| Line 32: | Line 32: | ||
| -- Found FFTW: / | -- Found FFTW: / | ||
| -- Found TIFF: / | -- Found TIFF: / | ||
| + | |||
| + | |||
| + | |||
| + | # setup the environment | ||
| + | egrep ^export / | ||
| + | |||
| + | # invoke CLI | ||
| + | ost --help | ||
| + | Usage: | ||
| + | |||
| + | ost [ost options] [script to execute] [script parameters] | ||
| + | |||
| + | or | ||
| + | ost [action name] [action options] | ||
| + | |||
| </ | </ | ||
| + | |||
| ====== Compilations ====== | ====== Compilations ====== | ||
| - | Use '' | + | Use '' |
| < | < | ||
| Line 46: | Line 62: | ||
| export PATH=/ | export PATH=/ | ||
| - | tar zxvf ../ | + | tar zxvf ../ |
| cd Python-2.7.15/ | cd Python-2.7.15/ | ||
| - | ./configure --prefix=/ | + | ./configure --prefix=/ |
| export PATH=/ | export PATH=/ | ||
| export LD_LIBRARY_PATH=/ | export LD_LIBRARY_PATH=/ | ||
| - | python ../ | + | python ../ |
| pip install numpy scipy | pip install numpy scipy | ||
| - | wget https:// | + | wget https:// |
| + | tar zxvf boost_1_68_0.tar | ||
| + | cd boost_1_68_0.tar | ||
| ./ | ./ | ||
| --with-python=/ | --with-python=/ | ||
| Line 60: | Line 78: | ||
| ./b2 install | ./b2 install | ||
| export LD_LIBRARY_PATH=/ | export LD_LIBRARY_PATH=/ | ||
| + | |||
| + | # brute fix for boost to find libs | ||
| + | cp -p libboost_python27.a libboost_python.a | ||
| + | cp -p libboost_python27.so.1.68.0 libboost_python.so | ||
| wget http:// | wget http:// | ||
| Line 76: | Line 98: | ||
| cd fftw-3.3.8/ | cd fftw-3.3.8/ | ||
| mkdir -p / | mkdir -p / | ||
| - | ./configure --enable-shared | + | ./configure --enable-share --enable-single |
| + | --prefix=/ | ||
| make | make | ||
| make install | make install | ||
| Line 89: | Line 112: | ||
| export LD_LIBRARY_PATH=/ | export LD_LIBRARY_PATH=/ | ||
| - | tar -zxvf ../ | + | tar zxvf ../ |
| cd libpng-1.6.37/ | cd libpng-1.6.37/ | ||
| ./configure --prefix=/ | ./configure --prefix=/ | ||
| Line 105: | Line 128: | ||
| export LD_LIBRARY_PATH=/ | export LD_LIBRARY_PATH=/ | ||
| + | # openstructure | ||
| git clone https:// | git clone https:// | ||
| cd openstructure-1.9/ | cd openstructure-1.9/ | ||
| - | cd / | + | cd / |
| - | # fix for boost to find libs | + | |
| - | cp -p libboost_python27.a libboost_python.a | + | |
| - | cp -p libboost_python27.so.1.68.0 libboost_python.so | + | |
| rm -f cmakelog; cmake \ | rm -f cmakelog; cmake \ | ||
| Line 130: | Line 150: | ||
| -DUSE_NUMPY=ON -DENABLE_MM=OFF \ | -DUSE_NUMPY=ON -DENABLE_MM=OFF \ | ||
| -DENABLE_STATIC=OFF | tee cmake.log | -DENABLE_STATIC=OFF | tee cmake.log | ||
| - | |||
| make | make | ||
| make install | make install | ||
| + | |||
| # [100%] Built target actions | # [100%] Built target actions | ||
| + | |||
| export PATH=/ | export PATH=/ | ||
| export LD_LIBRARY_PATH=/ | export LD_LIBRARY_PATH=/ | ||
| + | |||
| </ | </ | ||
| + | Remarkably complex compilations. | ||
| + | Notes (from developers): | ||
| - | # setup the environment | + | With the 1.10 release, you won't need the "brute fix for boost to find libs anymore. This page instructions to be for 1.9 by either doing a "git checkout 1.9.0" after "cd openstructure-1.9" |
| - | egrep ^export | + | where " |
| - | ost --help | + | ====== cmake.log ====== |
| - | Usage: | + | |
| - | ost [ost options] [script to execute] [script parameters] | + | < |
| - | + | ||
| - | or | + | |
| - | ost [action name] [action options] | + | |
| + | -- The CXX compiler identification is GNU 4.8.4 | ||
| + | -- The C compiler identification is GNU 4.8.4 | ||
| + | -- Check for working CXX compiler: / | ||
| + | -- Check for working CXX compiler: / | ||
| + | -- Detecting CXX compiler ABI info | ||
| + | -- Detecting CXX compiler ABI info - done | ||
| + | -- Detecting CXX compile features | ||
| + | -- Detecting CXX compile features - done | ||
| + | -- Check for working C compiler: / | ||
| + | -- Check for working C compiler: / | ||
| + | -- Detecting C compiler ABI info | ||
| + | -- Detecting C compiler ABI info - done | ||
| + | -- Detecting C compile features | ||
| + | -- Detecting C compile features - done | ||
| + | -- Looking for sys/types.h | ||
| + | -- Looking for sys/types.h - found | ||
| + | -- Looking for stdint.h | ||
| + | -- Looking for stdint.h - found | ||
| + | -- Looking for stddef.h | ||
| + | -- Looking for stddef.h - found | ||
| + | -- Check size of void* | ||
| + | -- Check size of void* - done | ||
| + | -- Boost version: 1.68.0 | ||
| + | -- Found the following Boost libraries: | ||
| + | -- | ||
| + | -- Boost version: 1.68.0 | ||
| + | -- Found the following Boost libraries: | ||
| + | -- | ||
| + | -- Boost version: 1.68.0 | ||
| + | -- Found the following Boost libraries: | ||
| + | -- | ||
| + | -- | ||
| + | -- Boost version: 1.68.0 | ||
| + | -- Found the following Boost libraries: | ||
| + | -- | ||
| + | -- Boost version: 1.68.0 | ||
| + | -- Found the following Boost libraries: | ||
| + | -- | ||
| + | -- Boost version: 1.68.0 | ||
| + | -- Found the following Boost libraries: | ||
| + | -- regex | ||
| + | -- Boost version: 1.68.0 | ||
| + | -- Found the following Boost libraries: | ||
| + | -- | ||
| + | -- Found ZLIB: / | ||
| + | -- Found PNG: / | ||
| + | -- Found EIGEN: / | ||
| + | -- Numpy headers found | ||
| + | -- Found FFTW: / | ||
| + | -- Found TIFF: / | ||
| + | -- LSB-Release system information:: | ||
| + | LSB Distributor-ID: | ||
| + | LSB Release: 6.10 | ||
| + | LSB Codename: final | ||
| + | | ||
| + | -- OpenStructure will be built with the following options: | ||
| + | | ||
| + | RPath in install | ||
| + | Info support | ||
| + | | ||
| + | | ||
| + | | ||
| + | Image Processing support | ||
| + | | ||
| + | Numpy support | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | -- Configuring done | ||
| + | -- Generating done | ||
| + | -- Build files have been written to: / | ||
| </ | </ | ||
| - | Remarkably complex compilations. | + | \\ |
| + | **[[cluster: | ||
cluster/180.1563451463.txt.gz · Last modified: by hmeij07
