You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With HPC sites starting to use package managers like Spack or EasyBuild to provide codes, the paths to the executables become more cryptic. In many cases one also has to do a module load ... to enable the complete runtime required by codes, hence the requirement for the path to a remotely installed code being an absolute one becomes more a of a nuisance rather than actually providing more info and security (and since old versions of an installed code often do not run anymore or are removed after a system upgrade it becomes essentially meaningless).
Furthermore, the current implementation of the types.AbsolutePathParamType being used does local expansion of ~ according to
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
With HPC sites starting to use package managers like Spack or EasyBuild to provide codes, the paths to the executables become more cryptic. In many cases one also has to do a
module load ...
to enable the complete runtime required by codes, hence the requirement for the path to a remotely installed code being an absolute one becomes more a of a nuisance rather than actually providing more info and security (and since old versions of an installed code often do not run anymore or are removed after a system upgrade it becomes essentially meaningless).Furthermore, the current implementation of the
types.AbsolutePathParamType
being used does local expansion of~
according toaiida-core/aiida/cmdline/params/types/path.py
Lines 41 to 46 in 7cea5be
which seems to be wrong due to the path being a remote path.
So, my suggestion would be to drop the requirement of the remote path.
Beta Was this translation helpful? Give feedback.
All reactions