Info | Message |
---|---|
1) Message boards : Server programs : Output file absent error on client
Message 19725 Posted 24 Aug 2008 by Aharon Levine |
Thanks so much! the <copy_file/> did the trick, all systems go now |
2) Message boards : Server programs : Output file absent error on client
Message 19662 Posted 21 Aug 2008 by Aharon Levine |
Thanks I tried that but I still have the same problem. Only now instead of the error message: 8/21/2008 2:56:06 PM|test_proj1|Output file logfile.txt for task uc_1219319569_46_1 absent I get the message: 8/21/2008 2:56:06 PM|test_proj1|Output file uc_1219319569_46_1_1 for task uc_1219319569_46_1 absent any other ideas? |
3) Message boards : Server programs : Output file absent error on client
Message 19658 Posted 21 Aug 2008 by Aharon Levine |
Hi I am running an application throught the wrapper class which receives two images and outputs one image + a text file. Now the client downloads the wu's and processes them and I know that the processing is successfull since I also write a log file to the c:/ drive on the client computer. However the results are not passed back to the server and I get this error on the client messages screen: 8/21/2008 2:56:02 PM|test_proj1|Starting uc_1219319569_46_1 8/21/2008 2:56:02 PM|test_proj1|Starting task uc_1219319569_46_1 using mdetect2 version 601 8/21/2008 2:56:06 PM|test_proj1|Computation for task uc_1219319569_46_1 finished 8/21/2008 2:56:06 PM|test_proj1|Output file resIm.jpg for task uc_1219319569_46_1 absent 8/21/2008 2:56:06 PM|test_proj1|Output file logfile.txt for task uc_1219319569_46_1 absent I guess this must be an error with my results template file however my template seems fine to me : <file_info> <name>resIm.jpg</name> <generated_locally/> <upload_when_present/> <max_nbytes>5000000</max_nbytes> <url><UPLOAD_URL/></url> </file_info> <file_info> <name>logfile.txt</name> <generated_locally/> <upload_when_present/> <max_nbytes>5000000</max_nbytes> <url><UPLOAD_URL/></url> </file_info> <result> <file_ref> <file_name>resIm.jpg</file_name> <open_name>resIm.jpg</open_name> </file_ref> <file_ref> <file_name>logfile.txt</file_name> <open_name>logfile.txt</open_name> </file_ref> </result> I have also tried using the line <file_name><OUTPUT_0/></file_name> but that doesn't help matters. Can anyone see where I've gone wrong? Thanks |
4) Message boards : Server programs : How to automatically create jobs with multiple input files
Message 19657 Posted 21 Aug 2008 by Aharon Levine |
Ok ,problem solved, I just had to set ninfiles to 2 instead of 1, in return create_work( wu, wu_template, "templates/worker_result", "../templates/worker_result", infiles, 1, config ); |
5) Message boards : Server programs : How to automatically create jobs with multiple input files
Message 19567 Posted 18 Aug 2008 by Aharon Levine |
Hi I have an application which receives two images and outputs one image. When I try running my project with the sample_work_generator deamon (which I have modified) The the deamon generates two work unit folders in my project dowmload folder, each one of these folders holds only one of the two images I need to send to the app. Also in the sample_work_generator log file I get this error: Too few input files given; need at least 2 Here is the function I use in sample_work_generator: int make_job() { DB_WORKUNIT wu; char name[256], path[256]; const char* infiles[2]; const char* commandLineArgs[2]; int retval; // make a unique name (for the job and its input file) // sprintf(name, "uc_%d_%d", start_time, seqno++); retval = config.download_path("im1.jpg", path); copyImageFile("../image_buffer/im1.jpg",myPath1); retval = config.download_path("im2.jpg", path); copyImageFile("../image_buffer/im2.jpg",myPath2); if (retval) return retval; // Fill in the job parameters // wu.clear(); wu.appid = app.id; strcpy(wu.name, name); wu.rsc_fpops_est = 1e12; wu.rsc_fpops_bound = 1e14; wu.rsc_memory_bound = 1e8; wu.rsc_disk_bound = 1e8; wu.delay_bound = 86400; wu.min_quorum = REPLICATION_FACTOR; wu.target_nresults = REPLICATION_FACTOR; wu.max_error_results = REPLICATION_FACTOR*4; wu.max_total_results = REPLICATION_FACTOR*8; wu.max_success_results = REPLICATION_FACTOR*4; infiles[0] = "im1.jpg"; infiles[1] = "im2.jpg"; //commandLineArgs[0] = im1; //commandLineArgs[1]; // Register the job with BOINC // return create_work( wu, wu_template, "templates/worker_result", "../templates/worker_result", infiles, 1, config ); } could somebody please help me with this, I've racking my brains for hours! thanks Aharon |
Copyright © 2025 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.