Installation from a pkg  file is standard,


Remark on version 10.10, 10.9 and 10.8 to authorise the install from everywhere (see System Preferences > Security & Privacy > General > Allow applications dow nloaded from > Anywhere)

Take the file from and download

  • MacOS 10.12 (with openmpi,petc), ifort MKL : FreeFem++-3.51-MacOS_10.12.pkg ( 314.8 Mb, Jan 30, 2017 17:19:07.)   
  • MacOS 10.11 (with openmpi,petc), ifort MKL : FreeFem++-3.51-4-MacOS_10.11.pkg ( 341.2 Mb, Apr 10, 2017 09:08:10.)   
  • MacOS 10.10 (with openmpi,petc), ifort MKL : FreeFem++-3.51-MacOS_10.10.pkg ( 314.8 Mb, Jan 30, 2017 17:19:07.)   
  • MacOS 10.9 (with mpich), ifort MKL : FreeFem++-3.41-MacOS_10.9.pkg ( 0 Mb, Oct 09, 2015 12:02:24.)   
  • MacOS 10.8: FreeFem++-3.41-MacOS_10.8-mpi.pkg ( 0 Mb, Oct 13, 2015 14:14:39.)   
  • MacOS 10.7: FreeFem++-3.41-MacOS_10.7-mpi.pkg ( 0 Mb, Oct 13, 2015 14:14:39.)   
  • MacOS 10.6: FreeFem++-3.41-MacOS_10.6-mpi.pkg ( 89.4 Mb, Oct 13, 2015 14:12:58.)   
  • MacOS 10.4: FreeFem++-3.18-10.4-Universal.pkg ( 33.1 Mb, Jan 24, 2012 17:53:38.)   

  • The textmate 2 editor is a good editor for Mac 10.7 or better, download from macromates.com and install it, when get the textmate freefem++ syntax from www.freefem.org/ff++/textmate2.zip unzip textmate2.zip and follow the explanation given in file \texttt{How\_To.rtf}.


    Please read the README_MAC form the distribution for the full infomation

    Take the file from and download 


    Just follow the install, openmpi or mpich  is in the package for version 10.6 and 10.7 the version is compile with g++ v 4.9 (http://prdownloads.sourceforge.net/hpc/gfortran-4.9-bin.tar.gz?download)

    take hpc.sourceforge.net remarkversion. 

    to install do: 

     

     # sudo tar zxvf gfortran-4.9-bin.tar.gz -C /


    remark,  all examples and documentation are in the directory

     file:///usr/local/share/freefem++

    the library install file are in 

    file:///usr/local/lib/ff++



    To compile a full version of FreeFem++ under MacOS 

    ---------------------------------------------------------------------------

    First download the tar.gz file contening source from 

    or you can get the latest source from an anonymous Mercurial SCM copy with the following unix shell commands :

    # hg clone http://www.freefem.org/ff++/ff++ 

    Under Mavericks or better  (10.9,10.10)  2015 ( xcode 6.1.1  form scratch)

    -------------------------------------------------

     remark: All line beginning by # are  shell command in terminal. 

     


     1) install xcode 6.1.1 , 


     2) to install  the xcode command line tools  


    #  gcc 

    answer to the dialogue  box

    to check after

    # gcc -v

    Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1

    Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)

    Target: x86_64-apple-darwin14.1.0

    Thread model: posix


      4) install  gcc-4.9 form http://hpc.sourceforge.net


      # curl -O http://prdownloads.sourceforge.net/hpc/gfortran-4.9-bin.tar.gz?download

     # sudo tar zxvf gfortran-4.9-bin.tar.gz -C /


     5) install tex  from  ctan 

       http://mirrors.ctan.org/systems/mac/mactex/MacTeX.pkg


     6) install mpich or openmpi  form the source 

     

    get :

      http://www.mpich.org/static/downloads/3.1.3/mpich-3.1.3.tar.gz

    or 

      http://www.open-mpi.org/software/ompi/v1.6/downloads/openmpi-1.6.5.tar.bz2

    un tar and: 

      #  ./configure 'F77=gfortran' 'FC=gfortran' 'CC=clang' 'CXX=clang++'

      # make 

      # sudo make install

    remark: you can no use precompile version because the fortran in not correct.

     7) install gsl 

       use homebrew (http://brew.sh ) or do:


      # curl -O http://ftp.gnu.org/gnu/gsl/gsl-1.16.tar.gz

      # tar zxvf gsl-1.16.tar.gz

      # cd gsl-1.16.

      #./configure CC=clang

      # make

      # sudo make install 


     6) Install mercurial from the web http://mercurial.selenic.com

        

     7)  Download freefem++  


      # hg clone  http://www.freefem.org/ff++/ff++


      9) install autoconf and automake now not in xcode


       I use the macport   distribution form http://www.macports.org

        or the home brew distribution from http://brew.sh

       # sudo port install  autoconf

       # sudo port install  automake

      and to build  the file  ./configure with automake/autoconf  do 

      # cd ff++

     # autoreconf  


      9bis) Or  untar AutoGeneratedFile.tar.gz


     # cd ff++

      # tar zxvf AutoGeneratedFile.tar.gz 


     10)  compilation of freefem++ 


      # cd ff++

      #  ./configure -—enable-download 

      # make

      # sudo make install



    Under Mavericks (10.9)  2012 ( xcode 5.0.2 form scratch)

    -------------------------------------------------

     remark: All line beginning by # are  shell command in terminal. 

     


     1) install xcode 5.0.2 , and the xcode command line tools  

        xcode 

        install Auxiliary Tools for Xcode (for PackageMaker)

     2) to install command line tools  do

          xcode click Xcode>Open Developer Tool>More Developer Tools.

     2) install  gcc-4.9 form http://hpc.sourceforge.net

      # curl -O http://prdownloads.sourceforge.net/hpc/gfortran-4.9-bin.tar.gz?download

      # sudo tar zxvf gfortran-4.9-bin.tar.gz -C /

     3) autoconf and automake now not in xcode

       I use the macport distribution form http://www.macports.org

      # sudo port install  autoconfo

      # sudo port install  automake

      Or with  brew tool ... 

     4) install tex  from  ctan 

       http://mirrors.ctan.org/systems/mac/mactex/MacTeX.pkg

     5) install openmpi form the source 

     http://www.open-mpi.org/software/ompi/v1.6/downloads/openmpi-1.6.5.tar.bz2

      #  ./configure CC=/usr/local/bin/gcc CXX=/usr/local/bin/g++ F77=/usr/local/bin/gfortran FC=/usr/local/bin/gfortran

      # make 

      # sudo make install

     6) install gsl 

      # curl -O http://ftp.gnu.org/gnu/gsl/gsl-1.15.tar.gz

      # tar zxvf gsl-1.15.tar.gz

      # cd gsl-1.15.

      #./configure CC=/usr/local/bin/gcc

      # make

      # sudo make install 

     7) install mecurial from the web http://mercurial.selenic.com

        

     8)  downlaod  

      # hg clone  http://www.freefem.org/ff++/ff++

     9)  compilation of freefem++ 

      # cd ff++

      # ./configure '-with-suffix=macos-10.8' '-without-fltk' '--enable-download' '--enable-optim' 'MPIRUN=/usr/local/bin/mpirun' '--enable-m64' '--without-x' 'CC=clang -isysroot /Applications/Xcode.app//Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk' 'CFLAGS=-mmacosx-version-min=10.8' 'CXXFLAGS=-mmacosx-version-min=10.8 -std=c++11' 'CXX=clang++ -isysroot /Applications/Xcode.app//Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk' 'F77=/usr/local/bin/gfortran' 'FC=/usr/local/bin/gfortran' 'MPICXX=/usr/local/bin/mpic++' 'MPICC=/usr/local/bin/mpicc' 'MPIFC=/usr/local/bin/mpif90' 'MPIF77=/usr/local/bin/mpif90' '--enable-maintainer-mode'


      # make

      # make

      # make 

      # sudo make install


    Under Lion August 2012 ( xcode 4.4 form scratch)

    -------------------------------------------------

     remark: All line beginning by # are  shell command in terminal. 

     


     1) install xcode 4.5.1  , and the xcode command line tools  

        xcode 

          menu preferences -> Downloads -> Components -> Command Line Tools 

            install

        install Auxiliary Tools for Xcode (for PackageMaker)

     2) install  gcc-4.8 form http://hpc.sourceforge.net

      # curl -O http://prdownloads.sourceforge.net/hpc/gcc-lion.tar.gz?download

      # sudo tar zxvf gcc-lion.tar.gz -C /

     3) autoconf and automake now not in xcode

       I use the macport distribution form http://www.macports.org

      # sudo port install  autoconfo

      # sudo port install  automake

     4) install tex  from  ctan 

       http://mirrors.ctan.org/systems/mac/mactex/MacTeX.pkg

     5) install openmpi form the source 

       http://www.open-mpi.org/software/ompi/v1.6/downloads/openmpi-1.6.tar.bz2

      #  ./configure CC=/usr/local/bin/gcc CXX=/usr/local/bin/g++ F77=/usr/local/bin/gfortran FC=/usr/local/bin/gfortran

      # make 

      # sudo make install

     6) install gsl 

      # curl -O http://ftp.gnu.org/gnu/gsl/gsl-1.15.tar.gz

      # tar zxvf gsl-1.15.tar.gz

      # cd gsl-1.15.

      #./configure CC=/usr/local/bin/gcc

      # make

      # sudo make install 

     7) install mecurial from the web http://mercurial.selenic.com

        

     8)  download  

      # hg clone  http://www.freefem.org/ff++/ff++

     9)  compilation of freefem++ 

      # cd ff++

      # ./configure '-with-suffix=lion' '-without-fltk' '--enable-download' '--enable-optim' 'MPIRUN=/usr/local/bin/mpirun' '--enable-m64' '--without-x' 'CC=/usr/local/bin/gcc' 'CXX=/usr/local/bin/g++' 'F77=/usr/local/bin/gfortran' 'FC=/usr/local/bin/gfortran'  

      # make

      # make

      # make 

      # sudo make install 

    ------------