Skip to content

pcxod/olex2

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

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •