User Tools

Site Tools


tips:howto_macosx

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
tips:howto_macosx [2015/04/20 10:45] – [Using Homebrew package manager] Marc Torrenttips:howto_macosx [2016/01/31 18:54] (current) – Update for Abinit 7.10.5 Marc Torrent
Line 9: Line 9:
 <HTML><br></HTML> <HTML><br></HTML>
  
-//A Homebrew formula for ABINIT has been released (authors: D. Davydov + M. Torrent).//+//A Homebrew formula for ABINIT is available (authors: D. Davydov + M. Torrent).//
 \\ \\ \\ \\
-//Available from ABINIT v7.10.2\\ +//Tested with mac OS X v10.(Mavericks)v10.10 (Yosemite), 10.11 (El Capitan).\\
-Tested with mac OS X v10.10 (Yosemite);\\ +
-Should be OK for v10.(Mountain Lion), v10.(Mavericks).\\+
 Homebrew is available at [[http://brew.sh|brew.sh]]// Homebrew is available at [[http://brew.sh|brew.sh]]//
  
Line 32: Line 30:
 ==== Comments ==== ==== Comments ====
  
-  * ''%%LibXC%%'', ''%%ETSF_IO%%'' and ''%%netCDF%%'' fallbacks (plugins) are used by default.\\ ''%%FoX%%'', ''%%Wannier90%%''''%%BigDFT%%'' and ''%%AtomPAW%%'' are not available in Homebrew.+  * At the first installation, this can take time, because of the required compilation of some dependencies (''%%netCDF%%'', ''%%fftw%%'' ...). 
 + 
 +  * ''%%LibXC%%'', ''%%ETSF_IO%%'' and ''%%netCDF%%'' fallbacks (plugins) are used by default.\\ ''%%FoX%%'', ''%%Wannier90%%'' and ''%%BigDFT%%'' are not available in Homebrew.\\ ''%%AtomPAW%%'' can be installed as a separate package (formula).
  
  
Line 41: Line 41:
     * ''%%--without-netcdf%%''\\ Build without netcdf support \\     * ''%%--without-netcdf%%''\\ Build without netcdf support \\
     * ''%%--without-fftw%%''\\ Build without fftw support \\     * ''%%--without-fftw%%''\\ Build without fftw support \\
-    * ''%%--without-gsl%%''\\ Build without gsl support+    * ''%%--without-gsl%%''\\ Build without gsl support \\ 
 +    * ''%%--without-scalapack%%'' \\ Build without scalapack support
  
  
Line 58: Line 59:
  
   * Some basic ports already installed:   * Some basic ports already installed:
-    * gcc with Fortran variant (Fortran compiler), +    * ''%%gcc%%'' (last version) with Fortran variant (Fortran compiler), 
-    * mpich or openmpi (MPI)+    * ''%%mpich%%'' or ''%%openmpi%%'' (MPI)
  
   * Before starting, it is preferable to update MacPorts system: <code>   * Before starting, it is preferable to update MacPorts system: <code>
Line 114: Line 115:
   * Linking ABINIT to ''%%FFTW3%%'' library:<code>   * Linking ABINIT to ''%%FFTW3%%'' library:<code>
 sudo port install abinit @X.Y.Z +fftw3</code> sudo port install abinit @X.Y.Z +fftw3</code>
 +
 +  * Linking ABINIT to parallel Linear Algebra ''%%ScaLapack%%'':<code>
 +sudo port install abinit @X.Y.Z +scalapack</code>
  
   * Installing a multi-threaded (''%%openMP%%'') version of ABINIT:<code>   * Installing a multi-threaded (''%%openMP%%'') version of ABINIT:<code>
Line 119: Line 123:
  
   * Installing ''%%atompaw%%'' PAW atomic dataset generator:<code>   * Installing ''%%atompaw%%'' PAW atomic dataset generator:<code>
-sudo port install abinit @X.Y.Z +atompaw</code>+sudo port install abinit @X.Y.Z +atompaw</code> or <code> 
 +sudo port install atompaw</code>
  
   * It is possible to mix all previous variants:<code>   * It is possible to mix all previous variants:<code>
-sudo port install abinit @X.Y.Z +fftw3+threads+atompaw</code>+sudo port install abinit @X.Y.Z +fftw3+scalapack+threads+atompaw</code>
  
   * Other options available by typing:<code>   * Other options available by typing:<code>
Line 151: Line 156:
     * ''%%openmpi%%'' from [[http://www.open-mpi.org|website]], or via a package manager     * ''%%openmpi%%'' from [[http://www.open-mpi.org|website]], or via a package manager
     * ...     * ...
 +
 +  * A Linear Algebra library installed.\\ By default the 'accelerate' Framework is installed on MacOSX and ABINIT build system should find it. \\ But you might want to install a parallel library: ''%%scalapack%%'', ''%%atlas%%'', ''%%mkl%%'', ...
  
 ==== Installing ABINIT ==== ==== Installing ABINIT ====
Line 179: Line 186:
 \\ \\ \\ \\
 <HTML><hr></HTML> <HTML><hr></HTML>
-//Author: M. Torrent, April 2015//+//Author: M. Torrent, April 2015, rev. Feb. 2016//
  
tips/howto_macosx.txt · Last modified: 2016/01/31 18:54 by Marc Torrent