CMake: CMake is a build tool that can be used instead of make. In principle it can also be used on Windows, however we do not currently aim to support this. We do try to support all linux flavours in addition to Mac OSX. Basic usage: Create a temporary folder and enter it in terminal. Write the command cmake You can then build mad-x with make If you wish, you can use "-j " to utilise several processors for faster compilation. If you wish, you can use "VERBOSE=yes" to see all commands that are used, e.g. for making sure you use the correct flags and compiler. If you want to see the commands without actually running them (dry-run), use "make -n". If you wish to edit something in your current build configuration, you can use the command ccmake . Inside there, you can toggle advanced mode with "t", edit an option with "c", and quit with "q" In order to use a different compiler, you can use instead of the first command cmake -DCMAKE_Fortran_COMPILER=ifort This is general for all options, -D