A simple program that draws a triangle with 3 vertices in red over a white background using a simple one liner vshader and fshader that simply reads the 3 vertices and sets the color to red respectively runs as expected on a computer with an ATI card but crashes on a computer with GeForce 480X.
Upon examining the capabilities of the cards using GPU_CAPS I found that the shading language version for the NVIDIA card is suffixed by : via cg compiler while the ATI card does not have this suffix in the shading language version.
Older opengl programs 2.X not using shaders run fine on both.

I do not know what need to be done to get the opengl programs using glsl running on GeForce GTX 480? Any clues?