Difference between revisions of "Using GLIMMER"

From SourceWiki
Jump to navigation Jump to search
Line 7: Line 7:
 
* Run configure with the appropriate arguments.  For example:
 
* Run configure with the appropriate arguments.  For example:
 
<pre>
 
<pre>
/configure --prefix=/home/ggdagw/glimmer-1.0.4 FC=ifort --with-netcdf=/opt/local/intel_fc_81
+
./configure --prefix=/home/ggdagw/glimmer-1.0.4 FC=ifort --with-netcdf=/opt/local/intel_fc_81
 +
</pre>
 +
* You will need to build GLIMMER separately from GENIE:
 +
<pre>
 +
make
 +
</pre>
 +
* GENIE builds will expect to find the GLIMMER libraries and modules in particular locations. Invoke the <tt>install</tt> target to install GLIMMER:
 +
<pre>
 +
make install
 
</pre>
 
</pre>
  
 
GENIE is expecting to find glimmer in the dir '''~/glimmer_genie_version''', so you can either edit this in '''genie-main/user.mak''' or create a symbolic link in your home directory with the name 'glimmer_genie_version' to point to your most recently downloaded version of GLIMMER.
 
GENIE is expecting to find glimmer in the dir '''~/glimmer_genie_version''', so you can either edit this in '''genie-main/user.mak''' or create a symbolic link in your home directory with the name 'glimmer_genie_version' to point to your most recently downloaded version of GLIMMER.

Revision as of 08:59, 20 June 2007

GLIMMER is available from the | GLIMMER project page.

When you build GLIMMER for use with GENIE, be sure to:

  • Set FCFLAGS to -DGLIMMER_SP. For example if you use BASH or KSH:
export FCFLAGS="-DGLIMMER_SP"
  • Run configure with the appropriate arguments. For example:
./configure --prefix=/home/ggdagw/glimmer-1.0.4 FC=ifort --with-netcdf=/opt/local/intel_fc_81
  • You will need to build GLIMMER separately from GENIE:
make
  • GENIE builds will expect to find the GLIMMER libraries and modules in particular locations. Invoke the install target to install GLIMMER:
make install

GENIE is expecting to find glimmer in the dir ~/glimmer_genie_version, so you can either edit this in genie-main/user.mak or create a symbolic link in your home directory with the name 'glimmer_genie_version' to point to your most recently downloaded version of GLIMMER.