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-osx_gfortran.fcm in utils/build/arch – NEMO

source: utils/build/arch/arch-osx_gfortran.fcm @ 12652

Last change on this file since 12652 was 12652, checked in by smasson, 4 years ago

update arch files

  • Property svn:mime-type set to text/x-perl
File size: 1.8 KB
RevLine 
[3922]1# generic gfortran compiler options for OSX installed with macport, http://www.macports.org/
[3303]2#
[12652]3#   Prerequisite softwares installed with MacPorts :
4#     gcc8 @8.4.0_0 (active)
5#     hdf5 @1.10.6_0+cxx+gcc8+hl+openmpi+szip (active)
6#     mpi_select @0.0_3 (active)
7#     netcdf @4.7.3_1+cdf5+dap+gcc8+netcdf4+openmpi (active)
8#     netcdf-fortran @4.5.2_0+gcc8+openmpi (active)
9#     openmpi @4.0.1_1 (active)
10#     openmpi-default @4.0.1_1+gcc8 (active)
11#     openmpi-gcc8 @4.0.1_1+fortran+valgrind (active)
[3303]12#
[12652]13#     $ port select --show mpi
14#     The currently selected version for 'mpi' is 'openmpi-gcc8-fortran'.
[3922]15#
16# Note that:
17#  - unix variables "$..." are accpeted and will be evaluated before calling fcm.
18#  - fcm variables are starting with a % (and not a $)
19#
20%NCDF_HOME           /opt/local
21%HDF5_HOME           /opt/local
[9852]22%XIOS_HOME           /Users/$( whoami )/xios-2.5
[3922]23%OASIS_HOME          /not/defined
[3303]24
[3922]25%NCDF_INC            -I%NCDF_HOME/include -I%HDF5_HOME/include
26%NCDF_LIB            -L%NCDF_HOME/lib -lnetcdff -lnetcdf
27%XIOS_INC            -I%XIOS_HOME/inc
[9852]28%XIOS_LIB            -L%XIOS_HOME/lib -lxios -lstdc++ 
[3922]29%OASIS_INC           -I%OASIS_HOME/build/lib/mct -I%OASIS_HOME/build/lib/psmile.MPI1
30%OASIS_LIB           -L%OASIS_HOME/lib -lpsmile.MPI1 -lmct -lmpeu -lscrip
[3303]31
[12652]32%CPP               cpp -Dkey_nosignedzero
[3303]33%FC                mpif90
[6387]34%FCFLAGS             -fdefault-real-8 -O3 -funroll-all-loops -fcray-pointer -ffree-line-length-none
[3303]35%FFLAGS              %FCFLAGS
36%LD                  %FC
[9852]37%LDFLAGS             
[3303]38%FPPFLAGS            -P -C -traditional
[3904]39%AR                  ar
40%ARFLAGS             rs
[3303]41%MK                  make
[3922]42%USER_INC            %XIOS_INC %OASIS_INC %NCDF_INC
43%USER_LIB            %XIOS_LIB %OASIS_LIB %NCDF_LIB
[5656]44
45%CC                  cc
46%CFLAGS              -O0
Note: See TracBrowser for help on using the repository browser.