Added python-based deploy scripts
Added python-based deploy script that streamlines the deploy procedure somewhat. I left the cmake-based deploy in place for now.
Merge request reports
Activity
Normal usage
This is the usage information from the deploy script:
usage: deploy.py [-h] [-v VERSION] [-f] [-b BIND_PATHS] [-m MODULE_PATH] prefix positional arguments: prefix Install prefix. This is where the container will be deployed. optional arguments: -h, --help show this help message and exit -v VERSION, --version VERSION (opt.) project version. Default: current git branch/tag. -f, --force Force-overwrite already downloaded container -b BIND_PATHS, --bind-path BIND_PATHS (opt.) extra bind paths for singularity. -m MODULE_PATH, --module-path MODULE_PATH (opt.) Root module path where you want to install a modulefile. D: <prefix>/../../etc/modulefiles
A standard way to deploy the current git version to
$HOME/local/opt
would be:./deploy.py $HOME/local/opt/eic_container_master
In this case it will be deployed in the prefix, and the module file will be installed in
$HOME/local/etc/modulefiles
If we want to deploy a specific version, say 1.0.4, and we also want to add two extra bind paths (e.g.
/lcrc
and/scratch
) to the singularity launchers./deploy.py -v1.0.4 -b /lcrc -b /scratch $HOME/local/opt/eic_container_1.0.4
Other install tasks
We could absolutely suggest some additions to basic. What would you add to the bashrc? Ensure modules are loaded and a "module use/module load" or something more sophisticated?
mentioned in commit 60e2fe1f
Please register or sign in to reply