Changes between Version 52 and Version 53 of BuildingAstroBear
- Timestamp:
- 01/10/13 16:33:54 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingAstroBear
v52 v53 20 20 * ''[https://computation.llnl.gov/casc/hypre/software.html hypre]:'' Elliptic and parabolic processes such as gravity and diffusion are handled by the hypre library of linear PDE solvers. AstroBEAR was developed using version 2.4.0, but it is possible that any revision from 2.0.0 on will work. 21 21 22 === Loading Modules === 23 24 Several of our group's clusters implement [AstroBear AstroBEAR's] libraries as modules. To load a module, enter the following command into the command line:25 26 {{{22 '''Loading Modules''' 23 24 Several of our group's clusters implement [AstroBear AstroBEAR's] libraries as modules. To load a module, enter the following command into the command line: 25 26 {{{ 27 27 module load <module1> [ <module2> ... <moduleN>] 28 28 }}} 29 29 30 For example, you would load the required modules on grass by entering:31 32 {{{30 For example, you would load the required modules on grass by entering: 31 32 {{{ 33 33 module load hdf5 ifort openmpi fftw 34 34 }}} 35 35 36 You can simplify the process by adding these {{{module load}}} commands to your {{{.bash_profile}}} or {{{.bashrc}}}. If you do this, you will need to wrap them in an {{{if}}} statement:37 38 {{{36 You can simplify the process by adding these {{{module load}}} commands to your {{{.bash_profile}}} or {{{.bashrc}}}. If you do this, you will need to wrap them in an {{{if}}} statement: 37 38 {{{ 39 39 if [ $TERM != "dumb" ] 40 40 then … … 42 42 fi 43 43 }}} 44 Otherwise the {{{modules}}} commands may conflict with remote SSH connections, resulting in a string of alarming (if harmless) error messages. Your bashrc file on grass is located at ~/.bashrc. To open it, you must incorporate the dot before the name, as it is a hidden file.45 46 === Mercurial === 47 The AstroBEAR source code is contained in a [http://mercurial.selenic.com/ Mercurial] repository on clover. Mercurial is a distributed version control system similar to {{{subversion}}}, and {{{subversion}}} users will find many of its options familiar. For more information on using Mercurial with AstroBEAR, see the [MercurialTutorial Mercurial Tutorial].48 49 Mercurial is available on the following machines:44 Otherwise the {{{modules}}} commands may conflict with remote SSH connections, resulting in a string of alarming (if harmless) error messages. Your bashrc file on grass is located at ~/.bashrc. To open it, you must incorporate the dot before the name, as it is a hidden file. 45 46 '''Mercurial''' 47 The AstroBEAR source code is contained in a [http://mercurial.selenic.com/ Mercurial] repository on clover. Mercurial is a distributed version control system similar to {{{subversion}}}, and {{{subversion}}} users will find many of its options familiar. For more information on using Mercurial with AstroBEAR, see the [MercurialTutorial Mercurial Tutorial]. 48 49 Mercurial is available on the following machines: 50 50 51 51 * {{{grass.pas.rochester.edu}}} … … 53 53 * {{{bluehive.rochester.edu}}} (exists as a module; use the {{{module load mercurial}}} command to make it available) 54 54 55 Regardless of which machine you use, you will want to create a {{{.hgrc}}} file in your home directory to set your global options. This is a global version of the {{{.hg/hgrc}}} file found in each Mercurial repository, and its contents affect all your Mercurial actions. Add the text below to your {{{.hgrc}}} file; this sets your default username and e-mail address. The {{{merge=internal:merge}}} keeps grass from popping up random {{{emacs}}} windows during merge conflicts, but may not be necessary on all machines.56 57 {{{55 Regardless of which machine you use, you will want to create a {{{.hgrc}}} file in your home directory to set your global options. This is a global version of the {{{.hg/hgrc}}} file found in each Mercurial repository, and its contents affect all your Mercurial actions. Add the text below to your {{{.hgrc}}} file; this sets your default username and e-mail address. The {{{merge=internal:merge}}} keeps grass from popping up random {{{emacs}}} windows during merge conflicts, but may not be necessary on all machines. 56 57 {{{ 58 58 [ui] 59 59 username = name <blah@blahblah.blah> … … 61 61 }}} 62 62 63 A sample {{{.hgrc}}} file is attached to this page.64 65 For more information about mercurial, consult Joel Spolsky's [http://mercurial.selenic.com/wiki/Tutorial mercurial tutorial]. Subversion users in particular will find the Subversion Reeducation page helpful.63 A sample {{{.hgrc}}} file is attached to this page. 64 65 For more information about mercurial, consult Joel Spolsky's [http://mercurial.selenic.com/wiki/Tutorial mercurial tutorial]. Subversion users in particular will find the Subversion Reeducation page helpful. 66 66 67 67