DUNE / dune-prod-utils

Scripts and config files for the DUNE Production Group.
0 stars 0 forks source link

submit_local_code.jobscript has errors that can cause issues on the grid #5

Closed calcuttj closed 2 months ago

calcuttj commented 4 months ago

https://github.com/DUNE/dune-prod-utils/blob/main/justIN-examples/submit_local_code.jobscript#L44-L48

This is the incorrect procedure for this type of workflow. sourcing local products is only intended for interactive work. The correct procedure is instead to

  1. export PRODUCTS=\<input_dir>:$PRODUCTS
  2. setup \<product>

Note, one should never mix sourcing local products & mrbslp with ups setup of a product in the local products. Especially not on the grid.

ahiguera-mx commented 2 months ago

@calcuttj Thanks for reporting this, I have pushed a fix, let me know if you find additional issues