CERN Accelerating science

You are here

Developers

Please read the license information before copying the source code. The GNU v2 license requires, among others, any derivative work to be distributed as open-source. 

Repositories

The actual source code, along with resources and build tools, is stored in these repositories:

CERN Gitlab (primary)

GitHub mirror (for convenience)

To build on Windows: Install Visual Studio Community with C++ development enabled in the installation option. Clone or download to a local folder, open the included Visual Studio solution and compile.

On Linux and Mac, you find the compile and link scripts in the linux_build and mac_build directories (for the moment no Makefiles, sorry).

Release snapshots

Some commits in the above repositories are intermediary, and break the build process. To make sure that you start from one of the complete, ready-to-compile repo versions (usually corersponding to published Molflow versions), at each new version a snapshot is made of the repository. Downloading the latest snapshot makes sure that you won't run into build errors.

The snapshots are tested to work with Visual Studio 2017.

Instructions:

  • Install Visual Studio Community 2017 with C++ development enabled in the installation options
  • Download and extract one of the snapshots below
  • Open molflow.sln or synrad.sln (versions 2.7+: molflow_win.sln in the Visual Studio folder)
  • In Visual Studio, choose x64 as platform (until version until 2.6.72, the default was Win32 which will fail due to supplied dlls being 64-bit)
  • You should be able to build the solution and run it

Git repo, including VS solution 2018-10-24 (Molflow 2.7.0.1)
Visual studio solution 2018-09-03 (Moflow 2.6.72, compatible Synrad coming soon)
Visual studio solution 2018-08-16 (Moflow 2.6.71, compatible Synrad coming soon)
Visual studio solution 2018-07-06 (Moflow 2.6.70, compatible Synrad coming soon)
Visual studio solution 2018-05-24 (Moflow 2.6.69 and Synrad 1.4.23)

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer