# How to specify SM libraries for MOOG

I am running MOOG on OS X Yosemite and with $MOOG running the abfind driver I can force fit elemental abundances with an appropriate input line list and model atmosphere. MOOG crashes, however, when I try to use it to generate plots, even though I know I have SuperMONGO (sm) installed on my computer because $sm works fine. In particular, MOOG will crash with the following errors:

*******************************************************************************
MOOG IS CONTROLLED BY DRIVER abfind
*******************************************************************************

wav. correl.:  slope =  -7.791E-07  intercept =   7.505  corr. coeff. =  -0.122

MOOG will search for the libraries through a .sm file. To solve this error, download an example sm file like this one, and specify where your libraries are in this file. Then use mv .sm ~/.sm to place this in your home folder, then MOOG should be able to create plots with SM.