Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

permission denied on folder for minitest-20.12 #37

Open
segasai opened this issue Jan 25, 2021 · 2 comments
Open

permission denied on folder for minitest-20.12 #37

segasai opened this issue Jan 25, 2021 · 2 comments

Comments

@segasai
Copy link

segasai commented Jan 25, 2021

Hi,

The folder mentioned here
https://github.com/desihub/desitest/blob/20.12/mini/minitest.ipynb
doesn't seem to have the read permissions on NERSC:

ls /global/cscratch1/sd/sjbailey/minitest-20.12-test
ls: cannot open directory '/global/cscratch1/sd/sjbailey/minitest-20.12-test': Permission denied

 S
@sbailey
Copy link
Collaborator

sbailey commented Jan 25, 2021

Ah. /global/cscratch1/sd/sjbailey/minitest-20.12-test is where it was originally run, but the final archival location which should be visible to all DESI collaborators is at

/global/cfs/cdirs/desi/datachallenge/reference_runs/20.12/setup.sh

To do:

  • update notebook instructions for where the final archival directory is likely to be found even if the pre-release testing was run in $SCRATCH
  • update all references to /project/projectdirs/ -> /global/cfs/cdirs/
  • within setup.sh, use logic like desi/spectro/redux/mini/setup.sh to support moving the script without having to edit it, e.g. modifying this:
# Support the ability to move the production
#   - get abspath to directory where this script is located
#   - unpack proddir=$DESI_SPECTRO_REDUX/$SPECPROD

proddir=$(cd $(dirname "$BASH_SOURCE"); pwd)
export DESI_SPECTRO_REDUX=$(dirname $proddir)
export SPECPROD=$(basename $proddir)

@segasai
Copy link
Author

segasai commented Jan 25, 2021

Ah, thanks.I was looking for some simulated files for the last run, and stumbled on the permission denied error and didn't look further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants