Version 12 (modified by 17 years ago) ( diff ) | ,
---|
Windows machines
Single-processor machines need the following:
- Cygwin - ROMS_SED works fine on Windows-based machines, but it really helps to use Cygwin
- SVN client - You can use the command-line interface in Cygwin, or a GUI client like TortoiseSVN
- netCDF - Required.
If you want to do coupling (e.g., waves with SWAN), you also need
- MPICH
Also, you need a Fortran compiler. We have experience with
- gfortran (GNU fortran, a Fortran 95 compiler which is a part of GCC compiler)
- g95 Gnu Fortran (based on gcc compiler)
- df Compaq/Digital (no longer being distributed)
- ifort Intel
And a really handy tool is WinMerge
What you need to do
- Install and configure Cygwin
- Install svn
- Install netCDF libraries
- Get a copy of the code
- Edit the makefile
- Type make to compile
- Type ./oceanS < ROMS/External/ocean_upwelling.in
On a Windows desktop with a two single processors, and hyperthreading turned on, you can set:
export OMP_NUM_THREADS = 4
Edit makefile
to compile with
USE_OpenMP ?= on ... FORT ?= ifort
Edit ./ROMS/External/ocean_upwelling.in
and set
NtileI == 2 NtileJ == 2
and then run ./oceanO < ROMS/External/ocean_upwelling.in
But Rich says that it might be faster to set it as 1 x 4, or even 3 x 20 (because with OpenMP, the tiling is not limited to the actual number of processes.