A nilmanifold admits an Anosov diffeomorphism if and only if its fundamenta
l group (which is finitely generated, torsion-free and nilpotent) supports
an automorphism having no eigenvalues of absolute value one. Here we concen
trate on nilpotency class 2 and fundamental groups whose commutator subgrou
p is of maximal torsion-free rank. We prove that the corresponding nilmanif
old admits an Anosov diffeomorphism if and only if the torsion-free rank of
the abelianization of its fundamental group is greater than or equal to 3.