| 109 | | |
| 110 | | Remember to execute the command {{{source ~/.bashrc}}} after adding these lines. This re-executes the environment setup commands in {{{.bashrc}}} in the current terminal. |
| 111 | | |
| 112 | | 4. Create a new copy of the code in the directory {{{<current_path>/astrobear}}} by cloning the development repository: |
| 113 | | |
| 114 | | {{{ |
| 115 | | hg clone ssh://<username>@clover.pas.rochester.edu//data/repositories/scrambler_devel astrobear |
| 116 | | }}} |
| 117 | | [[CollapsibleEnd]] |
| 118 | | [[CollapsibleStart(Itasca build instructions)]] |
| | 119 | }}} |
| | 120 | |
| | 121 | 4. Execute the command |
| | 122 | {{{ |
| | 123 | source ~/.bashrc |
| | 124 | }}} |
| | 125 | after adding these lines. This re-executes the environment setup commands in {{{.bashrc}}} in the current terminal. |
| | 126 | |
| | 127 | 5. Create a new copy of the code in the directory {{{<current_path>/astrobear}}} by cloning the development repository: |
| | 128 | |
| | 129 | {{{ |
| | 130 | hg clone ssh://<username>@clover.pas.rochester.edu//data/repositories/scrambler_devel astrobear |
| | 131 | }}} |
| | 132 | [[CollapsibleEnd]] |
| | 133 | [[CollapsibleStart(Alfalfa build instructions)]] |
| | 134 | |
| | 135 | 1. Connect to {{{alfalfa}}} using SSH: |
| | 136 | {{{ |
| | 137 | ssh <username>@alfalfa.pas.rochester.edu |
| | 138 | }}} |
| | 139 | |
| | 140 | 2. To enable the use of {{{modules}}} in your environment, add the following lines to your {{{.bashrc}}} file: |
| | 141 | {{{ |
| | 142 | if [ -f /opt/Modules/current/init/bash ]; then |
| | 143 | . /opt/Modules/current/init/bash |
| | 144 | fi |
| | 145 | }}} |
| | 146 | |
| | 147 | 3. Add the following line to your {{{.bashrc}}} file, making sure to place it ''after'' the lines you added in Step 2: |
| | 148 | {{{ |
| | 149 | module load ifort openmpi hdf5 hypre |
| | 150 | }}} |
| | 151 | |
| | 152 | This this will automatically load the AstroBEAR's required modules whenever a new terminal is loaded. |
| | 153 | |
| | 154 | {{{ |
| | 155 | #!comment |
| | 156 | 3. Add the [https://computation.llnl.gov/casc/hypre/software.html hypre] path to your environment by adding the following line to your {{{.bashrc}}} file: |
| | 157 | {{{ |
| | 158 | export LD_LIBRARY_PATH=/home/bshroyer/local/hypre_ompi_opt/lib:$LD_LIBRARY_PATH |
| | 159 | }}} |
| | 160 | }}} |
| | 161 | |
| | 162 | 4. Execute the command |
| | 163 | {{{ |
| | 164 | source ~/.bashrc |
| | 165 | }}} |
| | 166 | after adding these lines. This re-executes the environment setup commands in {{{.bashrc}}} in the current terminal. |
| | 167 | |
| | 168 | 5. Create a new copy of the code in the directory {{{<current_path>/astrobear}}} by cloning the development repository: |
| | 169 | |
| | 170 | {{{ |
| | 171 | hg clone ssh://<username>@clover.pas.rochester.edu//data/repositories/scrambler_devel astrobear |
| | 172 | }}} |
| | 173 | [[CollapsibleEnd]][[CollapsibleStart(Itasca build instructions)]] |