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.
arch-macport_osx_debug.fcm in trunk/NEMOGCM/ARCH – NEMO

source: trunk/NEMOGCM/ARCH/arch-macport_osx_debug.fcm @ 7881

Last change on this file since 7881 was 7646, checked in by timgraham, 7 years ago

Merge of dev_merge_2016 into trunk. UPDATE TO ARCHFILES NEEDED for XIOS2.
LIM_SRC_s/limrhg.F90 to follow in next commit due to change of kind (I'm unable to do it in this commit).
Merged using the following steps:

1) svn merge --reintegrate svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk .
2) Resolve minor conflicts in sette.sh and namelist_cfg for ORCA2LIM3 (due to a change in trunk after branch was created)
3) svn commit
4) svn switch svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk
5) svn merge svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/branches/2016/dev_merge_2016 .
6) At this stage I checked out a clean copy of the branch to compare against what is about to be committed to the trunk.
6) svn commit #Commit code to the trunk

In this commit I have also reverted a change to Fcheck_archfile.sh which was causing problems on the Paris machine.

File size: 3.0 KB
Line 
1# generic gfortran compiler options for OSX installed with macport, http://www.macports.org/
2#
3# port packages needed:
4#    sudo port install openmpi +gcc48
5#    sudo port install hdf5-18 +cxx +fortran +openmpi (I'am not sure cxx is needed)
6#    sudo port install netcdf         +openmpi
7#    sudo port install netcdf-fortran +openmpi
8#    sudo port install netcdf-cxx     +openmpi (I'am not sure it is needed)
9#    sudo port install p5-uri
10# add to your PATH /opt/local/lib/openmpi/bin so that mpif90 is properly known
11#
12# NCDF_HOME   root directory containing lib and include subdirectories for netcdf4
13# HDF5_HOME   root directory containing lib and include subdirectories for HDF5
14# XIOS_HOME   root directory containing lib for XIOS
15# OASIS_HOME  root directory containing lib for OASIS
16#
17# NCDF_INC    netcdf4 include file
18# NCDF_LIB    netcdf4 library
19# XIOS_INC    xios include file    (taken into accound only if key_iomput is activated)
20# XIOS_LIB    xios library         (taken into accound only if key_iomput is activated)
21# OASIS_INC   oasis include file   (taken into accound only if key_oasis3 is activated)
22# OASIS_LIB   oasis library        (taken into accound only if key_oasis3 is activated)
23#
24# FC          Fortran compiler command
25# FCFLAGS     Fortran compiler flags
26# FFLAGS      Fortran 77 compiler flags
27# LD          linker
28# LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries
29# FPPFLAGS    pre-processing flags
30# AR          assembler
31# ARFLAGS     assembler flags
32# MK          make
33# USER_INC    complete list of include files
34# USER_LIB    complete list of libraries to pass to the linker
35# CC          C compiler used to compile conv for AGRIF
36# CFLAGS      compiler flags used with CC
37#
38# Note that:
39#  - unix variables "$..." are accpeted and will be evaluated before calling fcm.
40#  - fcm variables are starting with a % (and not a $)
41#
42%NCDF_HOME           /opt/local
43%HDF5_HOME           /opt/local
44%XIOS_HOME           /Users/sflod/XIOS
45%OASIS_HOME          /not/defined
46
47%NCDF_INC            -I%NCDF_HOME/include -I%HDF5_HOME/include
48%NCDF_LIB            -L%NCDF_HOME/lib -lnetcdff -lnetcdf
49%XIOS_INC            -I%XIOS_HOME/inc
50%XIOS_LIB            -L%XIOS_HOME/lib -lxios
51%OASIS_INC           -I%OASIS_HOME/build/lib/mct -I%OASIS_HOME/build/lib/psmile.MPI1
52%OASIS_LIB           -L%OASIS_HOME/lib -lpsmile.MPI1 -lmct -lmpeu -lscrip
53
54%CPP               cpp-mp-4.9
55%FC                mpif90
56#%FCFLAGS             -fdefault-real-8 -O3 -funroll-all-loops -fcray-pointer -ffree-line-length-none -fbounds-check
57%FCFLAGS             -fdefault-real-8 -O3 -funroll-all-loops -fcray-pointer -ffree-line-length-none -fcheck=bounds -finit-real=nan
58%FFLAGS              %FCFLAGS
59%LD                  %FC
60%LDFLAGS             -lstdc++ -lmpi_cxx
61%FPPFLAGS            -P -C -traditional
62%AR                  ar
63%ARFLAGS             rs
64%MK                  make
65%USER_INC            %XIOS_INC %OASIS_INC %NCDF_INC
66%USER_LIB            %XIOS_LIB %OASIS_LIB %NCDF_LIB
67
68%CC                  cc
69%CFLAGS              -O0
Note: See TracBrowser for help on using the repository browser.