From M-theory compactifications on Calabi-Yau threefolds, I will describe the Coulomb branch of the 5d N=1 theories. Non-abelian gauge theories are encoded geometrically via elliptic fibrations on M-theory, that has an F-theory dual. I will discuss the spectra of the resulting 5d theories with various semi-simple gauge groups and their 6d uplifts. I will further discuss the anomalies of the uplifted theory using the Green-Schwarz mechanism.