Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

pcxod/olex2

Open more actions menu

Repository files navigation

Olex2: Crystallography at your fingertip!

This is the repository for Olex2. The HTML GUI is kept at a different Subversion repository. There are some binaries in the software that are present in the GUI. It is recommended to download the official Olex2 distribution and replace the Olex2 and Unirun binaries that this code generates if you want to modify it.

Building with CMakeLists on Linux

Bellow are build instructions on Linux using CMAKE. You will need Python 3.8. It is recommended to use a virtual environment, like conda, available at Miniforge3.

Remember to replace everything between <> with the equivalent names for your environment and conda location

mkdir build && cd build
cmake .. -GNinja \
          -DPython_EXECUTABLE=<conda_home>/envs/<python3.8_environment>/bin/python

If everything goes right, you can build it:

ninja -j

If you want to test your modifications with every build, you can use:

cmake .. -GNinja \
          -DPython_EXECUTABLE=<conda_home>/envs/<python3.8_environment>/bin/python
          -DCOPY_GUI_FILES=ON \
          -DOLEX2_GUI_DIRECTORY=<YOUR_OLEX2_GUI_DIRECTORY>

This way, everything will be copied, but the built files will not be overwritten.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.