I tried to use WP_Query and it works fine.
<?php
$args = array('post_type' => 'institution');
$the_query = new WP_Query($args);
while ( $the_query->have_posts() ) : $the_query->next_post();
$id= $the_query->post->ID;
$location = get_post_meta($id, 'institution_location', true);
echo $location;
endwhile;
?>