def dist(a, b):
    return sum((i-j)**2 for i, j in zip(a, b))
def archlib(self):
        """Relative location of architecture-specific libraries"""
        return join_path('platforms', self.foam_arch, 'lib')