LSSTDESC / desc-help

DESC Computing Requests
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Including $FIRECROWN_EXAMPLES_DIR in Perlmutter TD setup script #96

Closed am610 closed 1 year ago

am610 commented 1 year ago

In /global/cfs/cdirs/lsst/groups/TD/setup_td_dev.sh, I would urge you to please define $FIRECROWN_EXAMPLES_DIR

Currently $FIRECROWN_DIR is only defined, as /global/common/software/lsst/cori-haswell-gcc/stack/td_env-dev/81491/firecrown

Similarly $FIRECROWN_EXAMPLES_DIR would be /global/common/software/lsst/cori-haswell-gcc/stack/td_env-dev/81491/firecrown/examples

Choose all applicable topics by placing an 'X' between the [ ]:

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots If applicable, add screenshots to help explain your problem.

heather999 commented 1 year ago

HI @am610 Thanks for reaching out! I have actually been wondering about how to handle $FIRECROWN_EXAMPLES_DIR. I was originally thinking people might want to set it themselves to point to their own local copy for firecrown and the examples. The issue is making sure folks download a compatible (or the same) version of firecrown so they don't experience any trouble if the API in firecrown changes that affect the examples.
We could set $FIRECROWN_EXAMPLES_DIR and point it to the copy included with the td_env installation. People can still choose to reset FIRECROWN_EXAMPLES_DIR and point to their own area. Does that sound ok?

heather999 commented 1 year ago

Hi @am610 td_env dev has been updated to define $FIRECROWN_EXAMPLES_DIR. You can try ths out by doing: source /global/cfs/cdirs/lsst/groups/TD/setup_td_dev.sh -c

Just let me know if you see any problems.