Here you can find Maple code and worksheets for computing:
Kostant partition functions in type A for subsets of positive type A roots,
Dynamic Kostant partition function in types C and D for subsets of positive roots.
Requirements:
Maple 7 or later
Setup:
save dynkostantAD (text file with code) and dynkostantptnfcn.mw (Maple worksheet) in the same folder
open worksheet dynkostantptnfcn.mw and run the commands and the examples.