@@ -67,7 +67,7 @@ int main(int argc, char** argv) {
67
67
68
68
// Set defaults for input arguments
69
69
std::string OIFS_EXPID; // model experiment id, must match string in filenames
70
- std::string NAMELIST =" fort.4" ; // NAMELIST file, this name is fixed
70
+ std::string namelist =" fort.4" ; // namelist file, this name is fixed
71
71
72
72
// Initialise BOINC
73
73
boinc_init ();
@@ -242,13 +242,13 @@ int main(int argc, char** argv) {
242
242
243
243
244
244
// Parse the fort.4 namelist for the filenames and variables
245
- std::string namelist_file = slot_path + std::string (" /" ) + NAMELIST ;
245
+ std::string namelist_file = slot_path + std::string (" /" ) + namelist ;
246
246
std::string namelist_line=" " ,nss=" " ,delimiter=" =" ;
247
247
std::ifstream namelist_filestream;
248
248
249
249
// Check for the existence of the namelist
250
250
if ( !file_exists (namelist_file) ) {
251
- fprintf (stderr," ..The namelist file %s does not exist\n " ,NAMELIST .c_str ());
251
+ fprintf (stderr," ..The namelist file %s does not exist\n " ,namelist .c_str ());
252
252
return 1 ; // should terminate, the model won't run.
253
253
}
254
254
@@ -325,11 +325,11 @@ int main(int argc, char** argv) {
325
325
326
326
327
327
// Process the ic_ancil_file:
328
- std::string ic_ancil_zip = slot_path + std::string (" /" ) + IC_ANCIL_FILE + std::string (" .zip" );
328
+ std::string ic_ancil_zip = slot_path + std::string (" /" ) + ic_ancil_file + std::string (" .zip" );
329
329
330
330
// For transfer downloading, BOINC renames download files to jf_HEXADECIMAL-NUMBER, these files
331
331
// need to be renamed back to the original name
332
- // Get the name of the 'jf_' filename from a link within the IC_ANCIL_FILE
332
+ // Get the name of the 'jf_' filename from a link within the ic_ancil_file
333
333
std::string ic_ancil_source = getTag (ic_ancil_zip);
334
334
335
335
// Copy the IC ancils to working directory
0 commit comments