cmake -mcmodel=medium for gfortran wham and cluster_wham