[How To] upgrade code-aster
- Peter Halverson
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 45
- Thank you received: 0
14 years 6 months ago #5058
by Peter Halverson
[How To] upgrade code-aster was created by Peter Halverson
There have been several comments about how to upgrade Code-Aster. The current version of Code-Aster is 10.1 if you would like to upgrade:
As a general note # means do it as root
2. copy /opt/aster101/STA10.1 to /opt/aster101/NEW10
[code:1] # cp -ax /opt/aster101/STA10.1 /opt/aster101/NEW10 [/code:1]
3. search and replace STA10.1 to NEW10 in /opt/aster101/NEW10/
4. Upgrade to 10.1.x
[code:1] #cd /opt/aster101/NEW10/
#../bin/as_run --vers=NEW10 --auto_update --nolocal
[/code:1]
5. Download aster src aster-full-src-10.2.0-2.noarch.tar.gz Tix8.4.3-src.tar.gz
6. uncompress files
[code:1]
tar xfvz aster-full-src-10.2.0-2.noarch.tar.gz Tix8.4.3-src.tar.gz
cd aster-ful-src-10.2.0/SRC
tar xfvz homard-9.6-1.all.tar.gz
cd homard-9.6
#python setup_homard.py
[/code:1]
7. When prompted you should enter the path: /opt/aster101/NEW10/config.txt
8. Run tests to verify that we did everything correct
[code:1] #cd /opt/aster101/NEW10/
#../bin/as_run --vers=NEW10 astout.export
[/code:1]
9 Upgrade to 10.2.1
[code:1]
sudo ../bin/as_run --vers=NEW10 --auto_update --nolocal
[/code:1]
Repeat step 4-9
As a general note # means do it as root
2. copy /opt/aster101/STA10.1 to /opt/aster101/NEW10
[code:1] # cp -ax /opt/aster101/STA10.1 /opt/aster101/NEW10 [/code:1]
3. search and replace STA10.1 to NEW10 in /opt/aster101/NEW10/
4. Upgrade to 10.1.x
[code:1] #cd /opt/aster101/NEW10/
#../bin/as_run --vers=NEW10 --auto_update --nolocal
[/code:1]
5. Download aster src aster-full-src-10.2.0-2.noarch.tar.gz Tix8.4.3-src.tar.gz
6. uncompress files
[code:1]
tar xfvz aster-full-src-10.2.0-2.noarch.tar.gz Tix8.4.3-src.tar.gz
cd aster-ful-src-10.2.0/SRC
tar xfvz homard-9.6-1.all.tar.gz
cd homard-9.6
#python setup_homard.py
[/code:1]
7. When prompted you should enter the path: /opt/aster101/NEW10/config.txt
8. Run tests to verify that we did everything correct
[code:1] #cd /opt/aster101/NEW10/
#../bin/as_run --vers=NEW10 astout.export
[/code:1]
9 Upgrade to 10.2.1
[code:1]
sudo ../bin/as_run --vers=NEW10 --auto_update --nolocal
[/code:1]
Repeat step 4-9
Moderators: catux
Time to create page: 0.103 seconds