If you can swing it, Montserrat would be an incredible place to watch the eclipse. An easy train from Barcelona, I think it was an hour or so. Then take the cable car up, better view than the rack rail, and quicker.
https://www.montserrat-tourist-guide...ontserrat.html