Confusing Output Paths: HDAProcessor and RopGeometry. __PDG_DIR__ is not replaced correctly due to missing environment variable.

   1874   1   2
User Avatar
Member
10 posts
Joined: Nov. 2014
Offline
I just started to experiment with PDG and tried to convert the pdg_foundation_tutorial2.pdf to HQueue.

HDAProcessor works well once the File Dependencies have been added. Output path of $PDG_DIR gets converted to __PDG_DIR__ which gets replaced on the local client machine to the correct shared directory set up in the hqueue_scheduler node.

However, ROP Geometry Output does not work that way. The HQClient does not have the __PDG_DIR__ environment variable and instead the output path needs to be $HIP/geo/something.`@pdg_index`.bgeo.sc. This is quite confusing. Screenshots to illustrate this:



which results in the following client error message:



I presume it should be fairly straight forward to set the environment variable or at least provide some debug output in pdgcmd.py that the environment variable is not set.
Edited by Niels Provos - Aug. 1, 2019 23:33:15

Attachments:
ROPGeometry.JPG (59.8 KB)
OutputLog.JPG (52.6 KB)

User Avatar
Member
603 posts
Joined: Sept. 2016
Offline
Yes, it is certainly confusing and it's something we'd like to improve. There's an existing RFE for this which we hope to address soon.
  • Quick Links