Changes between Version 42 and Version 43 of BuildingAstroBear


Ignore:
Timestamp:
07/12/11 14:28:41 (14 years ago)
Author:
Brandon Shroyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • BuildingAstroBear

    v42 v43  
    3333if [ $TERM != "dumb" ]
    3434  then
    35     module load ifort visit hdf5 fftw openmpi pgplot
     35    module load ifort visit hdf5 fftw openmpi pgplot hypre
    3636fi
    3737}}}
     
    9797}}}
    9898
    99 2. Run the following command, or else make sure that it is in your {{{.bashrc}}}:
     992.  To enable the use of {{{modules}}} in your environment, add the following lines to your {{{.bashrc}}} file:
     100{{{
     101if [ -f /opt/Modules/current/init/bash ]; then
     102    . /opt/Modules/current/init/bash
     103fi
     104}}}
     105
     1063. Add the following line to your {{{.bashrc}}} file, making sure to place it ''after'' the lines you added in Step 2:
    100107 {{{
    101 module load ifort openmpi hdf5
     108module load ifort openmpi hdf5 hypre
    102109 }}}
    103110
     111 This this will automatically load the AstroBEAR's required modules whenever a new terminal is loaded.
     112
     113{{{
     114#!comment
    1041153. Add the [https://computation.llnl.gov/casc/hypre/software.html hypre] path to your environment by adding the following line to your {{{.bashrc}}} file:
    105 
    106116{{{
    107117export LD_LIBRARY_PATH=/home/bshroyer/local/hypre_ompi_opt/lib:$LD_LIBRARY_PATH
    108118}}}
    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
     1214. Execute the command
     122{{{
     123source ~/.bashrc
     124}}}
     125 after adding these lines.  This re-executes the environment setup commands in {{{.bashrc}}} in the current terminal.
     126
     1275. Create a new copy of the code in the directory {{{<current_path>/astrobear}}} by cloning the development repository:
     128
     129{{{
     130hg clone ssh://<username>@clover.pas.rochester.edu//data/repositories/scrambler_devel astrobear
     131}}}
     132[[CollapsibleEnd]]
     133[[CollapsibleStart(Alfalfa build instructions)]]
     134
     1351. Connect to {{{alfalfa}}} using SSH:
     136{{{
     137ssh <username>@alfalfa.pas.rochester.edu
     138}}}
     139
     1402.  To enable the use of {{{modules}}} in your environment, add the following lines to your {{{.bashrc}}} file:
     141{{{
     142if [ -f /opt/Modules/current/init/bash ]; then
     143    . /opt/Modules/current/init/bash
     144fi
     145}}}
     146
     1473. Add the following line to your {{{.bashrc}}} file, making sure to place it ''after'' the lines you added in Step 2:
     148 {{{
     149module 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
     1563. 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{{{
     158export LD_LIBRARY_PATH=/home/bshroyer/local/hypre_ompi_opt/lib:$LD_LIBRARY_PATH
     159}}}
     160}}}
     161
     1624. Execute the command
     163{{{
     164source ~/.bashrc
     165}}}
     166 after adding these lines.  This re-executes the environment setup commands in {{{.bashrc}}} in the current terminal.
     167
     1685. Create a new copy of the code in the directory {{{<current_path>/astrobear}}} by cloning the development repository:
     169
     170{{{
     171hg clone ssh://<username>@clover.pas.rochester.edu//data/repositories/scrambler_devel astrobear
     172}}}
     173[[CollapsibleEnd]][[CollapsibleStart(Itasca build instructions)]]
    119174
    1201751. Connect to {{{itasca}}} using SSH: