Bernd Machenschalk wrote on 26.02.16 07:00:
Speaking about wrapper: would it hurt anyone if the "macros" (NTHREADS, GPU_DEVICE and in particular PROJECT_DIR) would be replaced in the complete command-line passed to the worker _after_ the arguments to the wrapper have been added (<append_cmdline_args/>)? This way one could pass "resolved" file names to the "worker application". One possibly needs to circumvent the shell interpretation of '$', e.g. by using '%' ('"%PROJECT_DIR") on the command-line.
Thinking more about that I think it would even be better to have a possibility to boinc-resolve files in the command-line (or in an environment variable setting), in cases where the resolved name is not known when the command-line is built. Say a phrase like "boinc_resolve(<filename>)" on the command-line is replaced by the "boinc_resolve"d <filename>.
Currently you can only tell the wrapper to copy a input or output file, which is a bad choice for large files, or to pack/unpack it in a zip file, which unnecessarily complicates e.g. validation assimilation etc.
Best, Bernd _______________________________________________ boinc_dev mailing list [email protected] http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev To unsubscribe, visit the above URL and (near bottom of page) enter your email address.
