I notice in some thread discussions, warming up is said to be needed for greeks calculation. I'm not able to understand why this is the case. Can someone help me out?

My understanding is that for example Black–Scholes model, we need risk free rate, implied vol, strike price, the market price of underlying, and maturity to calculate option price. The only things that need to be calculated are rate(from yield curve) and vol, however, these are calibrated from the current market. To calculate greeks, what we need to do is just bump each corresponding input by 1 unit amount and apply the bs model again, I cannot see where we need more than the amount of data already available in the market at the current time point to calculate greeks.

Also, can someone point me to the code where the yield curve and vol surface is calibrated? I was told in another thread that these are done using quantlib.

Author