New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
WorkingGroups/TAM/InstallationsMacInstosh (diff) – NEMO

Changes between Version 11 and Version 12 of WorkingGroups/TAM/InstallationsMacInstosh


Ignore:
Timestamp:
2009-08-19T16:17:17+02:00 (15 years ago)
Author:
cdlod
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WorkingGroups/TAM/InstallationsMacInstosh

    v11 v12  
    1818 - Useful : the ROMS Mac [https://www.myroms.org/wiki/index.php/ROMS_Mac installation page] 
    1919 
    20  
    21 ---- 
    22 = Installation with g95 = 
    23  
    24 I (Arthur) installed the macport version of g95 on a Mac OSX 10.5.8 
    25  
    26 {{{ 
    27 $ g95 --v 
    28 Using built-in specs. 
    29 Target:  
    30 Configured with: ../configure --prefix=/opt/local/lib/gcc-lib/i386-apple-darwin9.0.0/4.0.3 --with-libiconv-prefix=/opt/local/include --enable-languages=c --with-as=/usr/bin/as --with-ld=/usr/bin/ld --with-nm=/usr/bin/nm --with-included-gettext 
    31 Thread model: posix 
    32 gcc version 4.0.3 (g95 0.90!) Jan 15 2008 
    33 }}} 
    34  
    35 === NETCDF compilation === 
    36 - download the 4.0.1 version of NETCDF from unidata and unzip the archive 
    37  
    38 {{{ 
    39 $ cd netcdf-4.0.1/ 
    40 $ F90=g95 F77=g95 ./configure --prefix=/usr/local 
    41 [...] 
    42 $ sudo make check install 
    43 }}} 
    44  
    45 === NEMOTAM and NEMOVAR compilation === 
    46  
    47 in $basepath/nemo/fcmconfig/bld/$compil_target/nemo.cfg 
    48 and $basepath/nemovar/fcmconfig/bld/$compil_target/nemo.cfg 
    49  
    50 edit the lines 
    51  
    52 {{{ 
    53 bld::tool::fc      g95 
    54 bld::tool::fflags  -c -O3 -r8 -ffree-line-length-huge 
    55 }}} 
    56 and 
    57 {{{ 
    58 %netcdf                 /usr/local 
    59 }}} 
    60  
    61 ----