Tuesday, February 28, 2012 11:07 PM
I have a Excel workbook VSTO application. I want to run this workbook in the HPC cluster. When I submit to HPC, the macro in the workbook is being called but call to .NET object within the macro is not happening. I would like to know if this is a supported scenario or not.
- Edited by I Love Burger Tuesday, February 28, 2012 11:07 PM
Wednesday, February 29, 2012 11:01 AMWe haven't tested this pattern but it should work. Did you install the VSTO on all compute nodes?
Wednesday, February 29, 2012 8:24 PM
I am testing this scenario with just one specific node (using a job template).
Yes, it has VSTO installed properly. I am able to run the workbook macro manually in that node successfully.
When the request goes from HPC the macro gets called but the .net object method calls are not going thru.
When I load the excel workbook manually in that machine, i see that excel process is consuming 180MB but when the process gets activated from HPC, the memory stops at 110 MB.
Since excel is running in the background, I am not able to debug the probelm. please advise.
Saturday, March 03, 2012 10:58 AM
how do I debug this problem? Is there are way to bring the background running excel to front so that I can see what is happening? please advise.
Monday, March 05, 2012 7:19 AMHi, to debug this problem, I think you could try using HPC_ATTACHTOSESSION=true and watching what is happening on the compute nodes. For more details, please see http://technet.microsoft.com/en-us/library/gg315415%28WS.10%29.aspx
- Edited by Mingqing WeiMicrosoft Employee Monday, March 05, 2012 7:21 AM
Monday, March 12, 2012 3:35 PM
Hi, setting this environment variable HPC_ATTACHTOSESSION=true helped me to see the excel application in the compute node.
I see that macro is called even before loading VSTO customizations. Can you please let me know how to prevent this?
I want the macro to be called only after the excel workbook is fully loaded with VSTO customization.