| 515 | | fprintf( ioQQQ, "\nAlthough there may be other reasons you have received this error,\n"); |
| 516 | | fprintf( ioQQQ, "the most likely are that you mistyped the file name, or that you\n"); |
| 517 | | fprintf( ioQQQ, "are running Cloudy in the wrong directory. If you are running a\n"); |
| 518 | | fprintf( ioQQQ, "COMPILE command, this needs to be done in the data directory.\n\n"); |
| 519 | | fprintf( ioQQQ, "Otherwise, please have a look at the file path.h in the source\n"); |
| 520 | | fprintf( ioQQQ, "directory to check how the variable CLOUDY_DATA_PATH is set - \n"); |
| 521 | | fprintf( ioQQQ, "it should give the location of the data files I need.\n"); |
| 522 | | fprintf( ioQQQ, "These are the files in the data download from the web site.\n\n"); |
| 523 | | fprintf( ioQQQ, "Recompile the code with the correct data path set in path.h\n"); |
| 524 | | fprintf( ioQQQ, "or use the shell command \"export CLOUDY_DATA_PATH=path\" to set the\n"); |
| 525 | | fprintf( ioQQQ, "path from a bash command prompt.\n\n"); |
| | 521 | // AS_DATA_OPTIONAL files should provide their own message (currently only stellar grids) |
| | 522 | if( scheme != AS_DATA_OPTIONAL ) |
| | 523 | { |
| | 524 | fprintf( ioQQQ, "\nAlthough there may be other reasons you have received this error,\n"); |
| | 525 | fprintf( ioQQQ, "the most likely are that you mistyped the file name, or that you\n"); |
| | 526 | fprintf( ioQQQ, "are running Cloudy in the wrong directory. If you are running a\n"); |
| | 527 | fprintf( ioQQQ, "COMPILE command, this needs to be done in the data directory.\n\n"); |
| | 528 | fprintf( ioQQQ, "Otherwise, please have a look at the file path.h in the source\n"); |
| | 529 | fprintf( ioQQQ, "directory to check how the variable CLOUDY_DATA_PATH is set - \n"); |
| | 530 | fprintf( ioQQQ, "it should give the location of the data files I need.\n"); |
| | 531 | fprintf( ioQQQ, "These are the files in the data download from the web site.\n\n"); |
| | 532 | fprintf( ioQQQ, "Recompile the code with the correct data path set in path.h\n"); |
| | 533 | fprintf( ioQQQ, "or use the shell command \"export CLOUDY_DATA_PATH=path\" to set the\n"); |
| | 534 | fprintf( ioQQQ, "path from a bash command prompt.\n\n"); |
| | 535 | } |