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

RADICAL base directory #320

Open
mtitov opened this issue Nov 19, 2021 · 0 comments
Open

RADICAL base directory #320

mtitov opened this issue Nov 19, 2021 · 0 comments

Comments

@mtitov
Copy link
Collaborator

mtitov commented Nov 19, 2021

User directory for configs is set by RADICAL_CONFIG_USER_DIR env variable here (by default $HOME dir is used) and has hierarchy which is similar to what method get_radical_base (RADICAL_BASE -> get_base) produces here.

Proposal to have one approach (a single method) for a base directory to keep temporary files (cache), configs, etc.

Base directory

  • client: local files and user configs
    • Follow XDG Base Directory specification
      • user-specific configs, default to $HOME/.config, e.g., $HOME/.config/radical/pilot/resource_ornl.json or $XDG_CONFIG_HOME/radical/pilot/resource_ornl.json ($XDG_CONFIG_HOME/resource_ornl.json?)
      • user-specific data, default to $HOME/.local, e.g., $HOME/.local/radical/saga/adaptors
  • pilot (remote)
    • currently: RADICAL_BASE contains resource sandbox path (…/radical.pilot.sandbox)
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

1 participant