We have computed the O-17 NMR parameters of an amorphous calcium aluminosilicate (CAS) from first-principles. The atomic coordinates of a CAS glass of composition (CaO)(0.21)(Al2O3)(0.12)(SiO2)(0.67) were obtained by quenching a liquid to room temperature by the means of ab initio molecular-dynamics simulations of the Car-Parrinello type. The structure of the glass is found to be overall in good agreement with diffraction experiments. Some excess nonbridging O (NBO) atoms are found and are compensated by tricluster O atoms, i.e., by 3-fold coordinated O atoms to 4-fold coordinated Al or Si atoms. The glass coordinates were used to compute the 17 0 NMR parameters using GGA-DFT and a correction of the Ca 3d orbital energy. The chemical shifts...