nearest border is Carway which is around 3 hours (260 km) from Calgary.
As i read here the procedure that you cross the border , get tell the US officer that you come for PR landing, he will give u a paper (administrative refusal), you will return towards canada, tell the office that you come for PR landing, he will guide you to the office.