<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>KenMankoff &#187; Greenland</title>
	<atom:link href="http://kenmankoff.com/tag/greenland/feed" rel="self" type="application/rss+xml" />
	<link>http://kenmankoff.com</link>
	<description>Antarctica, My PhD, Life, Stuff, etc.</description>
	<lastBuildDate>Tue, 01 May 2012 23:10:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>GLIMMER Ice Shelf Modeling (OS X HowTo)</title>
		<link>http://kenmankoff.com/2010/05/14/glimmer-ice-shelf-modeling-os-x-howto</link>
		<comments>http://kenmankoff.com/2010/05/14/glimmer-ice-shelf-modeling-os-x-howto#comments</comments>
		<pubDate>Sat, 15 May 2010 01:17:15 +0000</pubDate>
		<dc:creator>Ken Mankoff</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Antarctica]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[Greenland]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[ice]]></category>
		<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://kenmankoff.com/?p=3898</guid>
		<description><![CDATA[A new beta version of the Community Ice Sheet Model, Glimmer-CISM, has been released. Below are instructions to compile and run it on OS X. # build NetCDF export CFLAGS=-m32 export FFLAGS=-m32 ./configure --prefix=/Users/mankoff/local/netcdf-4.1.1 \ --disable-cxx --disable-curl --disable-dap make &#038;&#038; make install say netCDF done # build GLIMMER cd ~/local/src/ wget http://download.berlios.de/glimmer-cism/glimmer-1.7.0.tar.gz tar zxvf glimmer-1.7.0.tar.gz [...]]]></description>
			<content:encoded><![CDATA[<p>A new beta version of <a href="http://lists.cryolist.org/pipermail/cryolist-cryolist.org/2010-April/000056.html">the Community Ice Sheet Model, Glimmer-CISM, has been released</a>. Below are instructions to compile and run it on OS X.</p>
<pre>
# build NetCDF
export CFLAGS=-m32
export FFLAGS=-m32
./configure --prefix=/Users/mankoff/local/netcdf-4.1.1 \
          --disable-cxx --disable-curl  --disable-dap
make &#038;&#038; make install
say netCDF done

# build GLIMMER
cd ~/local/src/
wget http://download.berlios.de/glimmer-cism/glimmer-1.7.0.tar.gz
tar zxvf glimmer-1.7.0.tar.gz
cd glimmer-1.7.0/

# OS X has issues with 32 and 64 bit libraries.
# The -m32 flag forces 32 bit compilation.
# The following should be one long line:
./configure --prefix=/Users/mankoff/local/glimmer-1.7.0 \
     --with-netcdf=/Users/mankoff/local/netcdf-4.0.1 \
     FC=gfortran F77=gfortran CFLAGS=-m32

make
make install
say GLIMMER done
</pre>
<p>There are a few ways to test the installation. The source folder provides a test folder:</p>
<pre>
export PATH=/Users/mankoff/local/glimmer-1.7.0/bin:$PATH
cd ~/local/src/glimmer-1.7.0/tests/shelf
python circular-shelf.py circular-shelf.PP.config
python confined-shelf.py confined-shelf.PP.config
say GLIMMER Test Done # Takes a while. Turn up your volume
</pre>
<p>Running the above command will result in NetCDF files being created in the output/ subdirectory. You can view the contents of example.nc with most any generic NetCDF viewer. While theses tests run over a given period of time, the output only has one time stored. If you want to see an evolution of the ice shelf, older test suites available from the previous code repository site should be used:</p>
<pre>
cd ~/tmp/
wget http://forge.nesc.ac.uk/download.php/200/glimmer-example-0.6.tar.gz
tar zxvf glimmer-example-0.6.tar.gz
cd glimmer-example-0.6/
~/local/glimmer-1.7.0/bin/glide_launch.py ./example.config
say done
</pre>
<p>Examine the output file example.nc to see ice sheet evolution over time. Basal melt is shown below:</p>
<p><center><br />
<img src="http://kenmankoff.com/wordpress/wp-content/plugins/flash-video-player/default_video_player.gif" /></center></p>
<pre>
@article{Rutt:2009,
  Author = {Ian C. Rutt and Nicholas R. J. Hulton and Antony J. Payne},
  Title = {{The Glimmer community ice sheet model}},
  Year = {2009}}
  Journal = {J. Geophys. Res.},
  Volume = {114},
  Number = {F2},
</pre>
]]></content:encoded>
			<wfw:commentRss>http://kenmankoff.com/2010/05/14/glimmer-ice-shelf-modeling-os-x-howto/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

