https://github.com/cedadev/jaspy-manager
Please look there for more info.
Conda environments for JASMIN (and beyond)
License: BSD 3-Clause "New" or "Revised" License
https://github.com/cedadev/jaspy-manager
Please look there for more info.
User should not need to run:
install-miniconda.sh
install-jaspy-env.sh
The running of (2) should automatically include (1) if not already up-to-date.
Add $SCRIPTDIR to all scripts and get python to work with this. - DONE
Create script: create-blank-env.sh - DONE
See /doc/README.md for JASMIN docs
Move to Cedadev and move issues across
Review issues
Script: write-env-docs.sh <env_dir> <env_dir> <env_dir>
Started with common.cfg.
More to do:
bin_dir=${JASPY_BASE_DIR}/jaspy/bin
bin_dir=${JASPY_BASE_DIR}/jaspy/miniconda_envs/jas${path_comps}/bin
bin_dir=${JASPY_BASE_DIR}/jaspy/miniconda_envs/jas${path_comps}/bin
bin_dir=${JASPY_BASE_DIR}/jaspy/miniconda_envs/jas${path_comps}/bin
bin_dir=${JASPY_BASE_DIR}/jaspy/miniconda_envs/jas${path_comps}/bin
bin_dir=${JASPY_BASE_DIR}/jaspy/miniconda_envs/${path_comps}/bin
bin_dir=${miniconda_env_dir}/bin
for binary in $(cat ${channel_urls_path} | grep http | sed 's|.*/||g'); do
for binary in $(cat ${channel_urls_path} | grep http | sed 's|.*/||g'); do
jaspy_version=$(echo $env_name | cut -d\- -f1)
jaspy_version=$(echo $env_name | cut -d\- -f1)
miniconda_env_dir=${JASPY_BASE_DIR}/jaspy/miniconda_envs/jas${path_comps}
miniconda_env_dir=${JASPY_BASE_DIR}/jaspy/miniconda_envs/${jaspy_version}/${miniconda_version}
miniconda_version=$(echo $env_name | cut -d\- -f2-3)
miniconda_version=$(echo $env_name | cut -d\- -f2-3)
path_comps=$(echo $channel_path | rev | cut -d/ -f1-2 | rev)
path_comps=$(echo $env_path | rev | cut -d/ -f2-3 | rev)
path_comps=$(echo $spec_dir | rev | cut -d/ -f2-3 | rev)
path_comps=$(echo $spec_dir | rev | cut -d/ -f2-3 | rev)
path_comps=$(echo $spec_dir | rev | cut -d/ -f2-3 | rev)
path_comps=$(echo $spec_file_dir | rev | cut -d/ -f2-3 | rev)
path_comps=$(echo $yaml_path | rev | cut -d/ -f2-3 | rev)
PLATFORM="linux-64"
PLATFORM=linux-64
To automate, could do:
env
before activatingsource activate <conda-env>
env
after activatingenvs
envs
into the ModuleFile directly (so that activation is not necessary).Just do:
conda-env update -f ../environment.yml
See:
/apps/contrib/jaspy/channels/jaspy3.6/m3-4.5.4/linux-64/.about.json
Fixed in: d9e86b8
Need to modify workflow to:
<env_name>-initial.yml
conda list --explicit | conda list --explicit | grep '^http'
<env_name>-spec.yml
To create an alias env:
cd .../envs/
ln -s my-env-r20181022 my-env-current
Then we will set up a separate ModuleFile
for each:
/apps/modulefiles/my-env/r20181022
/apps/modulefiles/my-env/current
This means that "current" will be loaded by default if you do:
module load my-env
But you can specify a particular env with, e.g.:
module load my-env/r20181022
module load my-env/current
len("(jaspy3.6-m3-4.5.4-r20180816) [astephen@jasmin-cylc ~]$ ")
56
Gws/cedaproc/jaspy/channels
Examples of a simple module files:
$ cat /apps/modulefiles/jaspy2.7/tiny
#%Module -*- tcl -*-
##
## modulefile
##
proc ModulesHelp { } {
puts stderr "\tAdds JASMIN Conda tools to your environment variables,"
}
module-whatis " Adds JASMIN Conda tools to your environment variables"
puts "source /apps/contrib/jaspy/bin/activate-this-env.sh jaspy2.7/tiny"
and
$ cat /apps/modulefiles/jaspy3.6/m3-4.5.4-r20180816
#%Module -*- tcl -*-
##
## modulefile
##
proc ModulesHelp { } {
puts stderr "\tAdds JASMIN Conda tools to your environment variables,"
}
module-whatis " Adds JASMIN Conda tools to your environment variables"
puts "source /apps/contrib/jaspy/bin/activate-this-env.sh jaspy3.6/m3-4.5.4-r20180816"
And these use a script created from:
$ cat /vagrant-share/repos/jaspy/src/templates/activate-this-env.sh.tmpl
# Run with: source <activate-location> <env>
env_code=$1
env_search=$(echo $env_code | sed 's/\//\*/')
env_dir=$(find __JASPY_BASE_DIR__/jaspy/miniconda_envs/jaspy* -name "${env_search}")
env_name=$(basename $env_dir)
bin_dir=$(echo $env_dir | cut -d/ -f1-7)/bin
source ${bin_dir}/activate ${env_name}
See details in: https://github.com/agstephens/jaspy/blob/master/doc/README.md
opshome - dist - htdocs
AI can setup apache config file.
Otherwise there will be parsing issues due to different indentation decisions.
...it might fork or reuse this:
I suppose they can be...in that you can point to them as a single YAML file in a directory.
See this HTML page:
http://dist.ceda.ac.uk/jaspy/jaspy3.7/m3-4.5.11/
E.g.
<tr>
<td class="packagename"><a href="https://palletsprojects.com/p/click" alt="click">click</a></td>
<td class="version">7.0</td>
<td><a href="https://click.palletsprojects.com">doc</a></td>
<td><a href="https://github.com/pallets/click">dev</a></td>
<td class="tight">BSD-3-Clause</td>
<td>X</td><td></td> <td class="summary">Python composable command line interface toolkit</td>
</tr>
jaspy3.6-m3-4.5.4-r20180816
jaspy3.6-v0.1.0
jaspy3.6-m3-4.5.4-r20180816-ncl
with alias: jaspy3.6-v0.1.0-ncl
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.