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

source: trunk/NEMOGCM/ARCH/CNRS/arch-macport_osx.fcm @ 3319

Last change on this file since 3319 was 3303, checked in by smasson, 12 years ago

add new arch files

File size: 1.2 KB
Line 
1# generic gfortran compiler options for OSX installed with macport
2#
3# port packages needed:
4#    sudo port install netcdf +gcc45 +openmpi
5#    sudo port install p5-uri
6# add to your PATH /opt/local/lib/openmpi/bin
7#
8# NCDF_INC    netcdf include file
9# NCDF_LIB    netcdf library
10# FC          Fortran compiler command
11# FCFLAGS     Fortran compiler flags
12# FFLAGS      Fortran 77 compiler flags
13# LD          linker
14# LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
15# FPPFLAGS    pre-processing flags
16# AR          assembler
17# ARFLAGS     assembler flags
18# MK          make
19# USER_INC    additional include files for the compiler,  e.g. -I<include dir>
20# USER_LIB    additional libraries to pass to the linker, e.g. -l<library>
21
22
23%NCDF_INC            -I/opt/local/include
24%NCDF_LIB            -L/opt/local/lib -lnetcdf -lnetcdff
25%FC                mpif90
26%FCFLAGS             -fdefault-real-8 -O3 -funroll-all-loops -fcray-pointer
27%FFLAGS              %FCFLAGS
28%LD                  %FC
29%LDFLAGS
30%FPPFLAGS            -P -C -traditional
31%AR                  libtool
32%ARFLAGS             -c -s -o
33%MK                  make
34%USER_INC            %NCDF_INC
35%USER_LIB            %NCDF_LIB
36
Note: See TracBrowser for help on using the repository browser.