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.
Changeset 3728 for branches – NEMO

Changeset 3728 for branches


Ignore:
Timestamp:
2012-12-11T11:28:19+01:00 (11 years ago)
Author:
smasson
Message:

dev_MERGE_2012: macport + XIOS compilation options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2012/dev_MERGE_2012/NEMOGCM/ARCH/CNRS/arch-macport_osx.fcm

    r3303 r3728  
    22# 
    33# port packages needed: 
     4#    sudo port install openmpi +gcc45 
    45#    sudo port install netcdf +gcc45 +openmpi 
     6#    sudo port install netcdf-fortran +gcc45 +openmpi 
     7#    sudo port install netcdf-cxx +gcc45 +openmpi (I'am not sure it is needed) 
    58#    sudo port install p5-uri 
    6 # add to your PATH /opt/local/lib/openmpi/bin 
     9# add to your PATH /opt/local/lib/openmpi/bin so that mpif90 is properly known 
    710# 
    811# NCDF_INC    netcdf include file 
     
    2326%NCDF_INC            -I/opt/local/include 
    2427%NCDF_LIB            -L/opt/local/lib -lnetcdf -lnetcdff 
     28%XIOS_ROOT           /Users/smasson/XIOS 
    2529%FC                mpif90  
    2630%FCFLAGS             -fdefault-real-8 -O3 -funroll-all-loops -fcray-pointer  
    2731%FFLAGS              %FCFLAGS 
    2832%LD                  %FC 
    29 %LDFLAGS 
     33%LDFLAGS             -lstdc++ -lmpi_cxx 
    3034%FPPFLAGS            -P -C -traditional 
    3135%AR                  libtool 
    3236%ARFLAGS             -c -s -o 
    3337%MK                  make 
    34 %USER_INC            %NCDF_INC 
    35 %USER_LIB            %NCDF_LIB 
     38%USER_INC            %NCDF_INC -I%XIOS_ROOT/inc 
     39%USER_LIB            -L%XIOS_ROOT/lib -lxios %NCDF_LIB 
    3640 
Note: See TracChangeset for help on using the changeset viewer.