The best way is to look for a hotel on the website:
And add a filter of neighborhoods: Ipanema, Leblon, Copacabana.
Also, there is one hotel in Botafogo: Ibis Rio de Janeiro Botafogo.
          The best way to come to IMPA is by cab or uber. 
IMPA is located in the yellow circle and hotels in the red circle. (