CompliationOptions needs to be part of the call to Complie[], not do. Try something like this:
Do[
Compile[
{
{aFile[[i, 1]], _Real},
{aFile[[i, 2]], _Real},
{aFile[[i, 3]], _Real}
},
col1 = aFile[[i, 1]];
col2 = aFile[[i, 2]];
col3 = aFile[[i, 3]];
g1 = col1 col3;
g2 = col2 col3;
g3 = g1 g2^2;
, CompilationOptions -> {InlineExternalDefinitions -> True},
RuntimeOptions -> "Speed"
]
, {i, 100000}
];