Hi Jiajia,
You could write an LK script to run a simulation for each location and write results to a CSV file.
For an introduction to LK scripting, see
sam.nrel.gov/lk-script.html.
This solar-resource-simulate-multiple-files.lk sample script shows how to run simulations for multiple weather files:
github.com/NREL/SAM/tree/develop/samples/LK%20Scripts%20for%20SAM
The readme at the bottom of the page has instructions for downloading the scripts.
Best regards,
Paul.