This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
scalability_with_autosubmit [2017/07/03 09:03] dmanuben |
scalability_with_autosubmit [2017/07/03 09:41] (current) adegimel [Autosubmit database setup and install] |
||
|---|---|---|---|
| Line 11: | Line 11: | ||
| All this was tested with version 3.2.0 of Autosubmit. With newer versions it could not work. For any problem or question, please contact me: xavier.yepes@bsc.es | All this was tested with version 3.2.0 of Autosubmit. With newer versions it could not work. For any problem or question, please contact me: xavier.yepes@bsc.es | ||
| - | =====Autosubmit setup===== | + | =====Autosubmit |
| It is recommended to perform this kind of scalability analysis using a separate database different than the one from production experiments, | It is recommended to perform this kind of scalability analysis using a separate database different than the one from production experiments, | ||
| Line 17: | Line 17: | ||
| To create an isolated environment and different database you have to follow next steps: | To create an isolated environment and different database you have to follow next steps: | ||
| - | 1. Create a directory in any place you like (e.g. your home dir): | + | 1- Create a new directory in any place you like (e.g. your $HOME dir): |
| - | mkdir ~/autosubmit_performance | + | |
| - | 2. Edit .autosubmitrc file, and change DATABASE, LOCAL and CONF paths to make them point to the directory created above: | + | 2- Edit .autosubmitrc file (located by default in your $HOME dir), and change DATABASE, LOCAL and CONF paths to make them point to the directory created above. You need to replace any path pointing to / |
| - | vi ~/ | + | If the file is not present, you can create it and fill in with the contents below, but changing the user name with yours: |
| - | | + | vi ~/.autosubmitrc |
| - | path = /home/ | + | |
| - | | + | |
| - | | + | [database] |
| - | path = / | + | path = / |
| + | filename = performance_autosubmit.db | ||
| + | |||
| + | | ||
| + | path = / | ||
| + | |||
| + | [conf] | ||
| + | jobs = / | ||
| + | platforms = / | ||
| + | |||
| + | 3- Create default directory for the default configuration files that wiil be used for any new experiment of the scalability analysis: | ||
| - | | + | mkdir ~/ |
| - | jobs = / | + | |
| - | | + | |
| - | 3. Execute | + | 4- Copy default jobs.conf and platforms.conf files from /esnas/autosubmit/default, or any other experiment you'd like, to the newly created directory: |
| - | | + | cp / |
| + | cp /esnas/autosubmit/ | ||
| + | 5- Execute autosubmit install command | ||
| + | |||
| + | autosubmit install | ||
| + | |||
| + | Then it is ready to be used. | ||