wiki:GnuFortran

Version 5 (modified by skbhate, 17 years ago) ( diff )

--

Build ROMS using gfortran on Win32 Machine

Below is the step by step procedure for a successful compilation of ROMS3.0 on a win32 machine under Cygwin.

  • Cygwin setup for gfortran

In order for gfortran to work properly on Cygwin make sure you have math packages GMP and MPFR installed on your machine. Open a Cygwin shell and type the following commands to confirm you have GMP and MPFR packages.

$ cygcheck -c | grep gmp (If you see the what is shown below then you're ok)

gmp 4.2.1-1 OK

libgmp3 4.2.1-1 OK

$ cygcheck -c | grep mpfr (If you see the what is shown below then you're ok)

libmpfr1 2.2.1-1 OK

mpfr 2.2.1-1 OK

If cygcheck fails to report the GMP and MPFR package installations then install these packages using Cygwin Setup. These packages are found under 'Libs' in package installation list of cygwin setup.

  • Installing gfortran
  • Building Netcdf library with gfortran support

  • Building ROMS

Note: See TracWiki for help on using the wiki.