svn path=/trunk/boinc/; revision=22821

This commit is contained in:
David Anderson 2010-12-06 03:10:01 +00:00
parent ebe1256b58
commit a89ae6f3c6
1 changed files with 3 additions and 3 deletions

View File

@ -27,6 +27,7 @@
#include "wrappture.h"
int main(int argc, char * argv[]) {
char buf[256];
RpLibrary* lib = NULL;
@ -43,8 +44,8 @@ int main(int argc, char * argv[]) {
int err = 0;
// create a rappture library from the file filePath
lib = rpLibrary(argv[1]);
boinc_resolve_filename("driver.xml", buf, sizeof(buf));
lib = rpLibrary(buf);
if (lib == NULL) {
// cannot open file or out of memory
@ -93,7 +94,6 @@ int main(int argc, char * argv[]) {
RPLIB_OVERWRITE );
// Run core simulator
char buf[256];
sprintf(buf, "%g %g", T, Ef);
int retval = boinc_run_rappture_app("fermi", buf);
if (retval) {