<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.myroms.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Talk%3AROMS_Cygwin</id>
	<title>Talk:ROMS Cygwin - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.myroms.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Talk%3AROMS_Cygwin"/>
	<link rel="alternate" type="text/html" href="https://www.myroms.org/wiki/index.php?title=Talk:ROMS_Cygwin&amp;action=history"/>
	<updated>2026-04-27T15:28:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://www.myroms.org/wiki/index.php?title=Talk:ROMS_Cygwin&amp;diff=3624&amp;oldid=prev</id>
		<title>Robertson at 13:28, 24 March 2009</title>
		<link rel="alternate" type="text/html" href="https://www.myroms.org/wiki/index.php?title=Talk:ROMS_Cygwin&amp;diff=3624&amp;oldid=prev"/>
		<updated>2009-03-24T13:28:25Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:28, 24 March 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Install g95 (deprecated)==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Install g95 (deprecated)==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This Fortran compiler works in cygwin/Windows. In theory, you should be able to install other Fortran compilers instead, but I just didn&#039;t have luck with the others I tried. If you don&#039;t know what compiling is, read [[#Compile ROMS|Compile ROMS]] below.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This Fortran compiler works in cygwin/Windows. In theory, you should be able to install other Fortran compilers instead, but I just didn&#039;t have luck with the others I tried. If you don&#039;t know what compiling is, read [[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ROMS_Cygwin&lt;/ins&gt;#Compile ROMS|Compile ROMS]] below.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Robertson</name></author>
	</entry>
	<entry>
		<id>https://www.myroms.org/wiki/index.php?title=Talk:ROMS_Cygwin&amp;diff=3623&amp;oldid=prev</id>
		<title>Robertson: New page: As noted on the main ROMS Cygwin tutorial page, these instructions are deprecated because Cygwin now has gfortran available. The relevant sections relating to g95 are given...</title>
		<link rel="alternate" type="text/html" href="https://www.myroms.org/wiki/index.php?title=Talk:ROMS_Cygwin&amp;diff=3623&amp;oldid=prev"/>
		<updated>2009-03-24T13:27:16Z</updated>

		<summary type="html">&lt;p&gt;New page: As noted on the main &lt;a href=&quot;/wiki/ROMS_Cygwin&quot; title=&quot;ROMS Cygwin&quot;&gt;ROMS Cygwin tutorial page&lt;/a&gt;, these instructions are deprecated because Cygwin now has gfortran available. The relevant sections relating to g95 are given...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;As noted on the main [[ROMS_Cygwin|ROMS Cygwin tutorial page]], these instructions are deprecated because Cygwin now has gfortran available. The relevant sections relating to g95 are given below.&lt;br /&gt;
&lt;br /&gt;
==Install g95 (deprecated)==&lt;br /&gt;
&lt;br /&gt;
This Fortran compiler works in cygwin/Windows. In theory, you should be able to install other Fortran compilers instead, but I just didn&amp;#039;t have luck with the others I tried. If you don&amp;#039;t know what compiling is, read [[#Compile ROMS|Compile ROMS]] below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:*Go to the [http://ftp.g95.org/ g95-project website] and download the G95 binaries. Or simply [http://ftp.g95.org/g95-x86-cygwin.tgz click here] to start the download.&lt;br /&gt;
:*Save it inside the cygwin folder (&amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;C:\cygwin&amp;lt;/span&amp;gt; in this tutorial).&lt;br /&gt;
:*Now you have to open cygwin and go to the place where you saved the &amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;g95-x86-cygwin.tgz&amp;lt;/span&amp;gt; file. Here you need to know that cygwin uses the folder &amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;C:\cygwin\cygdrive&amp;lt;/span&amp;gt; as a pseudo-drive. When cygwin starts, you will be able to see all your files and folders that you have in your Windows-user root (&amp;#039;&amp;#039;i.e.&amp;#039;&amp;#039; &amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;C:\Users\Administrator\&amp;lt;/span&amp;gt;), but they will appear to be in a different location (i.e. &amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;/cygwin/cygdrive/c/Users/Administrator/&amp;lt;/span&amp;gt; ). This is just cygwin&amp;#039;s way to emulate a Linux-type hard-drive inside Windows.&lt;br /&gt;
&lt;br /&gt;
{{warning}}&amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;IMPORTANT&amp;lt;/span&amp;gt; to keep in mind:&lt;br /&gt;
&lt;br /&gt;
:*Cygwin&amp;#039;s home directory, which is where cygwin opens by default is, in this example, &amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;/cygwin/cygdrive/c/Users/Administrator/&amp;lt;/span&amp;gt; but when in it, cygwin abbreviates it as &amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;~&amp;lt;/span&amp;gt;&lt;br /&gt;
:*Cygwin&amp;#039;s HOME directory (i.e. &amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;~&amp;lt;/span&amp;gt;) = &amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;C:\Users\Administrator\&amp;lt;/span&amp;gt; in Windows Explorer&lt;br /&gt;
:*Cygwin&amp;#039;s ROOT directory (i.e. &amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;/&amp;lt;/span&amp;gt;) = &amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;C:\cygwin\&amp;lt;/span&amp;gt; in Windows Explorer&lt;br /&gt;
&lt;br /&gt;
{{note}}&amp;#039;&amp;#039;&amp;#039;Useful Notes:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:*&amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;PASTE:&amp;lt;/span&amp;gt; To paste text in the cygwin window, right-click on the cygwin symbol on the left-upper corner of the window. Chose Edit &amp;gt; Paste.&lt;br /&gt;
:*Here are some websites where you can learn more Linux commands&lt;br /&gt;
:**[http://www.howtoforge.com/useful_linux_commands http://www.howtoforge.com/useful_linux_commands]&lt;br /&gt;
:**[http://www.tuxfiles.org/linuxhelp/cli.html http://www.tuxfiles.org/linuxhelp/cli.html]&lt;br /&gt;
&lt;br /&gt;
Open cygwin and go to the root directory. To do this type &amp;lt;span class=&amp;quot;forestGreen&amp;quot;&amp;gt;cd /&amp;lt;/span&amp;gt; (cd = command for: &amp;#039;change directory&amp;#039;). Now that you are in the root directory, type &amp;lt;span class=&amp;quot;forestGreen&amp;quot;&amp;gt;ls&amp;lt;/span&amp;gt; (command for: &amp;quot;show contents of this directory&amp;quot;), you should see our recently downloaded &amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;g95-x86-cygwin.tgz&amp;lt;/span&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
:*Extract (or unzip) &amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;g95-x86-cygwin.tgz&amp;lt;/span&amp;gt; by typing:&lt;br /&gt;
::&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;forestGreen&amp;quot;&amp;gt;tar -xvzf g95-x86-cygwin.tgz&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*Move &amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;g95-x86-cygwin.tgz&amp;lt;/span&amp;gt; to a safe location:&lt;br /&gt;
::&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;forestGreen&amp;quot;&amp;gt;cd ~&amp;lt;br /&amp;gt;mkdir software&amp;lt;br /&amp;gt;mv /g95-x86-cygwin.tgz software/&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
{{warning}}&amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;IMPORTANT:&amp;lt;/span&amp;gt; It is essential that you run the above command from the root ( &amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;/&amp;lt;/span&amp;gt; ) directory. Otherwise g95 will not be installed where you expect it to be.&lt;br /&gt;
&lt;br /&gt;
:*This should install g95 in &amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;/usr/local/bin&amp;lt;/span&amp;gt; and its documentation in &amp;lt;span &lt;br /&gt;
class=&amp;quot;red&amp;quot;&amp;gt;/usr/local/doc/g95&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install NetCDF (Deprecated configure line)==&lt;br /&gt;
:&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;forestGreen&amp;quot;&amp;gt;CC=gcc FC=g95 F77=g95 CPPFLAGS=&amp;#039;-DNDEBUG -DpgiFortran&amp;#039; \&amp;lt;br&amp;gt;FFLAGS=-fno-second-underscore FCFLAGS=-fno-second-underscore ./configure&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Customizing the [[build Script|Build Script]] (Deprecated section)==&lt;br /&gt;
&lt;br /&gt;
:*We are compiling in serial using the &amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;g95&amp;lt;/span&amp;gt; compiler so make your &amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;build.bash&amp;lt;/span&amp;gt; match the following:&lt;br /&gt;
::&amp;lt;div class=&amp;quot;box&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;blue&amp;quot;&amp;gt;export&amp;lt;/span&amp;gt;            &amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;USE_MPI&amp;lt;/span&amp;gt;=&amp;lt;br /&amp;gt;&amp;lt;span class=&amp;quot;blue&amp;quot;&amp;gt;export&amp;lt;/span&amp;gt;         &amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;USE_MPIF90&amp;lt;/span&amp;gt;=&amp;lt;br /&amp;gt;&amp;lt;span class=&amp;quot;blue&amp;quot;&amp;gt;export&amp;lt;/span&amp;gt;               &amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;FORT&amp;lt;/span&amp;gt;=g95&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Robertson</name></author>
	</entry>
</feed>