Hi, Christophe!
Thanks for the answer.
I've been using the approach you suggested for quite a while now. I've adopted this MO when I need to run 'full' models with many different parameters.
However, I just thought I could save myself some time if I could just run one single model and still be able to produce the entire grid I'm interested in (which is different from the analysis of 'full' model results).
Anyway, the way I worked this around was by adding the -r flag to the variable 'to_run' located at the end of the file 'cloudy_model.py'.
In summary, I have changed the original code from this:
-> to_run = 'cd {0} ; {1} {2}'.format(dir_, precom, cloudy_exe)
to this:
-> to_run = 'cd {0} ; {1} {2} -r {3}'.format(dir_, precom, cloudy_exe, model_name.split('/')[-1])
Also, I'm not using the Makefile when I run grids (calling 'run_cloudy' with use_make=False).
Now using pyCloudy to run Cloudy won't cause it to complain about the missing -r flag when running a model with the grid parameter.
m.