Now we will pull together a couple of these pieces to build an app_info file that crunches multiple projects so you can see how it's done. It doesn't matter which apps / projects you want to mix and match it all works the same. I'll use Nvidia GPU because I happen to be running that on the rig I'm typing from now.
I'll put comments inside the code itself so hopefully it is easier to see how the pieces go together.
Code:
<app_info>
<app> - WE CALL THESE WCG PROJECTS (HCC1, CEP2, GFAM, ETC), EACH PROJECT HAS IT'S OWN <app>
<name>hcc1</name>
<user_friendly_name>XtremeSystems Crunches Cancer</user_friendly_name>
</app>
<app_version>
<app_name>hcc1</app_name> - SAME AS <app> SO IT KNOWS WHICH PIECES GO TOGETHER
<version_num>705</version_num>
<platform>windows_intelx86</platform>
<plan_class>nvidia_hcc1</plan_class>
<avg_ncpus>1.0</avg_ncpus>
<max_ncpus>1.0</max_ncpus>
<coproc>
<type>CUDA</type>
<count>.5</count>
</coproc>
<file_ref>
<file_name>wcg_hcc1_img_7.05_windows_intelx86__nvidia_hcc1</file_name>
<main_program/>
</file_ref>
<file_ref>
<file_name>hcckernel.cl.7.05</file_name>
<open_name>hcckernel.cl</open_name>
</file_ref>
</app_version>
<file_info> - YES - REPEAT FILES FOUND INSIDE THE APP_VERSION
<name>wcg_hcc1_img_7.05_windows_intelx86__nvidia_hcc1</name>
<executable/>
</file_info>
<file_info>
<name>hcckernel.cl.7.05</name>
<executable/>
</file_info>
</app_info>
Easy enough but now we want to add HCC1 CPU. We already have the WCG project name so we don't have to repeat that but we do need to add the relevant app_version and it's related file_info sections. I will highlight the original in blue and show the new pieces in black.
Code:
<app_info>'ORIGINAL
<app>
<name>hcc1</name>
<user_friendly_name>XtremeSystems Crunches Cancer</user_friendly_name>
</app>
<app_version>
<app_name>hcc1</app_name>
<version_num>705</version_num>
<platform>windows_intelx86</platform>
<plan_class>nvidia_hcc1</plan_class>
<avg_ncpus>1.0</avg_ncpus>
<max_ncpus>1.0</max_ncpus>
<coproc>
<type>CUDA</type>
<count>.5</count>
</coproc>
<file_ref>
<file_name>wcg_hcc1_img_7.05_windows_intelx86__nvidia_hcc1</file_name>
<main_program/>
</file_ref>
<file_ref>
<file_name>hcckernel.cl.7.05</file_name>
<open_name>hcckernel.cl</open_name>
</file_ref>
</app_version>
<file_info>
<name>wcg_hcc1_img_7.05_windows_intelx86__nvidia_hcc1</name>
<executable/>
</file_info>
<file_info>
<name>hcckernel.cl.7.05</name>
<executable/>
</file_info>
ADDED
<app_version>
<app_name>hcc1</app_name>
<version_num>705</version_num>
<platform>windows_intelx86</platform>
<avg_ncpus>1.000000</avg_ncpus>
<max_ncpus>1.000000</max_ncpus>
<flops>3231932486.733310</flops>
<api_version>6.13.0</api_version>
<file_ref>
<file_name>wcg_hcc1_img_7.05_windows_intelx86</file_name>
<main_program/>
</file_ref>
</app_version>
<file_info>
<name>wcg_hcc1_img_7.05_windows_intelx86</name>
<executable/>
</file_info>
</app_info>
Bookmarks