... | ... | @@ -7,27 +7,19 @@ |
|
|
|
|
|
* In bscearth000.int.bsc.es:
|
|
|
|
|
|
* ssh eadmin@bscearth000.int.bsc.es (contact Kim to add your public key)
|
|
|
* ssh eadmin@bscearth000.int.bsc.es (contact Albert to add your public key)
|
|
|
|
|
|
* cd /shared/earth/ComputationalES/eadmin/easybuild ( You should be there already)
|
|
|
* cd /shared/earth/ComputationalES/eadmin/easybuild ( You should be there already )
|
|
|
|
|
|
* cp autosubmit-3.13.0b-foss-2015a-Python-2.7.9.eb autosubmit-X.Y.Z-foss-2015a-Python-2.7.9.eb (replace X.Y.Z with the current version)
|
|
|
* ( AS 3 ) cp autosubmit-3.13.0b-foss-2015a-Python-2.7.9.eb autosubmit-X.Y.Z-foss-2015a-Python-2.7.9.eb (replace X.Y.Z with the current version)
|
|
|
|
|
|
* ( AS 4 )
|
|
|
* Change the **VERSION** in __prepare_autosubmit.sh__ and in __autosubmit-X.Y.Z-foss-2015a-Python-2.7.9.eb__
|
|
|
|
|
|
* ./prepare_autosubmit.sh
|
|
|
|
|
|
* module load autosubmit/X.Y.Z-foss-2015a-Python-2.7.9
|
|
|
|
|
|
**Update version**
|
|
|
|
|
|
* In gitlab:
|
|
|
|
|
|
* Delete the tag asociated to the version you want to update in https://earth.bsc.es/gitlab/es/autosubmit/-/tags-
|
|
|
|
|
|
* Tag a commit in https://earth.bsc.es/gitlab/es/autosubmit/-/tags with a version number (following vX.Y.Z).
|
|
|
|
|
|
|
|
|
* In bscearth000.int.bsc.es:
|
|
|
|
|
|
* ssh eadmin@bscearth000.int.bsc.es (contact Kim to add your public key)
|
... | ... | @@ -35,8 +27,59 @@ |
|
|
* cd /shared/earth/ComputationalES/eadmin/easybuild ( You should be there already)
|
|
|
|
|
|
* Change the **VERSION** in __prepare_autosubmit.sh__
|
|
|
* ./prepare_autosubmit.sh
|
|
|
* ./prepare_autosubmit4.sh
|
|
|
|
|
|
* module load autosubmit/X.Y.Z-foss-2015a-Python-2.7.9
|
|
|
|
|
|
|
|
|
* In climate-dt:
|
|
|
|
|
|
* ssh climate-dt # you must have access to the project and autosubmit_install perms.
|
|
|
|
|
|
* Upload this to the climate-dt ( change the AS_TAG according to the current version ):
|
|
|
|
|
|
```python
|
|
|
module purge
|
|
|
AS_TAG="4.1.9"
|
|
|
cd /appl/AS
|
|
|
python3.9 -m venv /appl/AS/$AS_TAG
|
|
|
cd $AS_TAG
|
|
|
git clone -b v$AS_TAG https://earth.bsc.es/gitlab/es/autosubmit.git $AS_TAG
|
|
|
source bin/activate
|
|
|
cd $AS_TAG
|
|
|
python setup.py install
|
|
|
## lua
|
|
|
cd /appl/AS/modules/autosubmit
|
|
|
cp default $AS_TAG.lua
|
|
|
rm latest
|
|
|
rm latest.lua
|
|
|
ln -s $AS_TAG.lua latest
|
|
|
pip install numpy==1.26.4
|
|
|
chmod 755 -R /appl/AS/$AS_TAG
|
|
|
chmod 755 -R /appl/AS/modules/autosubmit/$AS_TAG.lua
|
|
|
```
|
|
|
|
|
|
* Test that everything is okay with a dummy:
|
|
|
|
|
|
* autosubmit -v
|
|
|
|
|
|
* autosubmit expid -dm -H "local" -d "Test new version"
|
|
|
|
|
|
* autosubmit run $expid
|
|
|
|
|
|
* Make the default version:
|
|
|
|
|
|
* cd /appl/AS/modules/autosubmit
|
|
|
|
|
|
* rm default
|
|
|
|
|
|
* ln -s $AS_TAG.lua default
|
|
|
|
|
|
* module load autosubmit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\ No newline at end of file |