Changes between Version 6 and Version 7 of Win32


Ignore:
Timestamp:
05/24/07 21:02:45 (17 years ago)
Author:
csherwood
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Win32

    v6 v7  
    2626 * Type ./oceanS < ROMS/External/ocean_upwelling.in
    2727
     28'''Install and configure Cygwin'''
     29Get Cygwin from http://x.cygwin.com/
     30Install it by clicking on the Install Cygwin/X now icon.
     31At the step where you are asked to Setup
     32in your Cygwin home directory, you should have (or create) a file called {{{.bashrc}}}
     33Edit it to indicate where some key stuff resides. Mine looks like
     34{{{
     35export LIB="C:\Program Files\Intel\Compiler\Fortran\9.1\IA32\Bin;C:\Program Files\Intel\Compiler\Fortran\9.1\IA32\Lib;C:\Program Files\Microsoft Visual Studio\VC98\LIB;C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\;C:\Program Files\Microsoft Visual Studio\DF98\IMSL\LIB;C:\Program Files\Microsoft Visual Studio\DF98\LIB"
     36export NETCDF_INCDIR="/usr/local/include"
     37export NETCDF_LIBDIR="/usr/local/lib"
     38export UDUNITS_PATH="/usr/local/lib/udunits.dat"
     39# Ignore case while completing
     40set completion-ignore-case on
     41# Make Bash 8bit clean
     42set meta-flag on
     43set convert-meta off
     44set output-meta on
     45alias less='/bin/less -r'
     46# alias ls='/bin/ls -F --color=tty --show-control-chars'
     47alias cdroms='cd ~/src/roms_sed/branches/crs_branch'
     48}}}
     49
     50On a Windows desktop with a two single processors, and hyperthreading turned on, you can set:
     51{{{export OMP_NUM_THREADS = 4}}}
     52
     53Edit {{{makefile}}} to compile with
     54{{{
     55USE_OpenMP ?= on
     56...
     57FORT ?= ifort
     58}}}
    2859
    2960
     61Edit {{{./ROMS/External/ocean_upwelling.in}}} and set
     62{{{
     63NtileI == 2
     64NtileJ == 2
     65}}}
     66and then run {{{./oceanO < ROMS/External/ocean_upwelling.in }}}
    3067