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.
The actual source code, along with resources and build tools, is stored in these repositories:
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. We're transitioning to CMake builds and will update instructions soon.
Repo states to check out for guaranteed compile:
On the Molflow repository, we use Git tags to mark commits that correspond to released versions. Check out these so they are guaranteed to build and run.
Tags on GitLab: https://gitlab.cern.ch/molflow_synrad/molflow_threaded/-/tags
Tags on GitHub: https://github.com/szakeetm/molflow_threaded/tags
Old release snapshots [for Synrad and older, 2.6.x Molflow versions only. For Molflow 2.7, use the repo cloning above]
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.
- 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 220.127.116.11)
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)