Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • autosubmit autosubmit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 338
    • Issues 338
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 21
    • Merge requests 21
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Earth SciencesEarth Sciences
  • autosubmitautosubmit
  • Wiki
  • Deployment

Deployment · Changes

Page history
Update Deployment authored Jul 16, 2024 by dbeltran's avatar dbeltran
Show whitespace changes
Inline Side-by-side
Deployment.md
View page @ 1e996f8e
...@@ -7,27 +7,19 @@ ...@@ -7,27 +7,19 @@
* In bscearth000.int.bsc.es: * 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__ * Change the **VERSION** in __prepare_autosubmit.sh__ and in __autosubmit-X.Y.Z-foss-2015a-Python-2.7.9.eb__
* ./prepare_autosubmit.sh * ./prepare_autosubmit.sh
* module load autosubmit/X.Y.Z-foss-2015a-Python-2.7.9 * 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: * 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 Kim to add your public key)
...@@ -35,8 +27,59 @@ ...@@ -35,8 +27,59 @@
* cd /shared/earth/ComputationalES/eadmin/easybuild ( You should be there already) * cd /shared/earth/ComputationalES/eadmin/easybuild ( You should be there already)
* Change the **VERSION** in __prepare_autosubmit.sh__ * 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 * 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
Clone repository
  • Code coverage
  • Deployment
  • Issues documenting different aspects
  • Leaflet
  • Possible Operational Problems and Solutions
  • Running Autosubmit in Earth Sciences
  • Testing_Suite
  • Updating ReadTheDocs Autosubmit documentation
  • Visual Identity
  • [DestinE] Autosubmit VM on Lumi
  • background
  • bibtex
  • databases
  • development
  • dissemination
View All Pages