Basic triangle runs successfully in linux