VIP Documentation Release 0.8.1

Total Page:16

File Type:pdf, Size:1020Kb

VIP Documentation Release 0.8.1 VIP Documentation Release 0.8.1 Carlos Gomez Gonzalez, Olivier Wertz & VORTEX team Nov 17, 2017 Contents 1 Attribution 3 2 Introduction 5 3 Jupyter notebook tutorial 7 4 Mailing list 9 5 Quick Setup Guide 11 6 Installation and dependencies 13 6.1 Installation and dependencies...................................... 13 6.2 Loading VIP............................................... 14 7 Frequently asked questions 15 7.1 FAQ.................................................... 15 8 Package structure 17 8.1 vip package................................................ 19 9 API 21 i ii VIP Documentation, Release 0.8.1 Contents 1 VIP Documentation, Release 0.8.1 2 Contents CHAPTER 1 Attribution Please cite Gomez Gonzalez et al. 2016 (submitted) whenever you publish data reduced with VIP. Astrophysics Source Code Library reference [ascl:1603.003] 3 VIP Documentation, Release 0.8.1 4 Chapter 1. Attribution CHAPTER 2 Introduction VIP is an open source package/pipeline for angular, reference star and spectral differential imaging for exoplanet/disk detection through high-contrast imaging. VIP is being developed by the VORTEX team and collaborators. You can check on github the direct contributions to the code (tab contributors). Most of VIP‘s functionalities are mature but it doesn’t mean it’s free from bugs. The code will continue evolving and therefore all the feedback and contributions will be greatly appreciated. If you want to report a bug, suggest or add a functionality please create an issue or send a pull request on the github repository. The goal of VIP is to incorporate robust, efficient, easy-to-use, well-documented and open source implementations of high-contrast image processing algorithms to the interested scientific community. The main repository of VIP resides on Github, the standard for scientific open source code distribution, using Git as a version control system. Github is a repository hosting service with an amazing web front-end for source-code management and collaboration. It provides features such as access control, bug tracking, feature requests, task management, and wikis for every project. VIP is being developed in Python 2.7, a modern open source high-level programming language, able to express a large amount of functionality per line of code. Python has a vast ecosystem of scientific open source libraries/packages (e.g. numpy, scipy, astropy, scikit-learn, scikit-image) and many well-known libraries have python bindings as well (e.g. opencv). On top of that exist a great tool, the Jupyter (né IPython) notebook. A notebook file is simple a JSON document, containing text, source code, rich media output, and metadata. It allows to combine data analysis and visualization into an easily sharable format. 5 VIP Documentation, Release 0.8.1 6 Chapter 2. Introduction CHAPTER 3 Jupyter notebook tutorial VIP tutorial (Jupyter notebook) is available in this repository and can be visualized online here. 7 VIP Documentation, Release 0.8.1 8 Chapter 3. Jupyter notebook tutorial CHAPTER 4 Mailing list You can subscribe to our mailing list if you want to be informed of the latest developments of the VIP package (new versions and/or updates). 9 VIP Documentation, Release 0.8.1 10 Chapter 4. Mailing list CHAPTER 5 Quick Setup Guide TL;DR: $ pip install git+https://github.com/vortex-exoplanet/VIP.git 11 VIP Documentation, Release 0.8.1 12 Chapter 5. Quick Setup Guide CHAPTER 6 Installation and dependencies Here you can find a more detailed description of VIP‘s dependencies, how to clone the repository and install Opencv (optional). 6.1 Installation and dependencies The benefits of a python package manager or distribution, such as Anaconda or Canoy, are multiple. Mainly it brings easy and robust package management and avoids messing up with your system’s default python. An alternative is to use package managers like apt-get for Ubuntu or Homebrew/MacPorts/Fink for OSX. I personally recommend using Miniconda which you can find here: https://conda.io/miniconda.html. VIP depends on existing packages from the Python ecosystem, such as numpy, scipy, matplotlib, pandas, astropy, scikit-learn, scikit-image, photutils and emcee. There are different ways of installing VIP suitable for different scenarios. 6.1.1 Using PIP The easiest way is to install it from the Python Package Index, aka Pypi, with the package manager pip: $ pip install vip_hci With pip you can easily uninstall VIP or install specific version of it. Alternatively, you could run pip install and point to the Github repository: $ pip install git+https://github.com/vortex-exoplanet/VIP.git 6.1.2 Using the setup.py file You can download VIP from its Github repository as a zip file. A setup.py file (Setuptools Python package) is included in the root folder of VIP. Enter the root folder and run: 13 VIP Documentation, Release 0.8.1 $ python setup.py install 6.1.3 Using GIT If you want to use the git functionalities, you need to clone the repository (make sure your system has git installed): $ git clone https://github.com/vortex-exoplanet/VIP.git Then you need to install the package by following the previous steps, using the setup.py file. 6.1.4 Other dependencies Opencv (Open source Computer Vision) provides fast c++ image processing operations and is used by VIP for basic image transformations (starting from version 0.5.2 of VIP the dependency on opencv is optional). If you don’t have/want the opencv python bindings, VIP will use the much slower ndimage/scikit-image libraries transparently. Installing opencv library is nowadays and easy process that is done automatically with the VIP installation. Alternatively, you could use conda: $ conda install opencv VIP ships a stripped-down version of RO.DS9 (by Russell Owen) for convenient xpaset/xpaget based interaction with DS9. VIP contains a class vipDS9 that works on top of RO.DS9 containing several useful methods for DS9 control such as displaying arrays, manipulating regions, controlling the display options, etc. VipDS9 functionality will only be available if you have DS9 and XPA installed on your system PATH. Also, optionally you can install the Intel Math Kernel Library (MKL) optimizations provided that you have Ana- conda(>v2.5) and conda on your system. This is recommended along with Opencv for maximum speed on VIP computations. Run: $ conda install mkl Starting from version 0.8.0 VIP offers the possibility of computing SVDs on GPU by using cupy. This remains an optional requirement, to be installed by the user, as it requires having and actual GPU card and a proper CUDA environment. 6.2 Loading VIP Start Python (or IPython or a Jupyter notebook if you prefer) and check that you are able to import VIP: import vip_hci as vip If everything went fine with the installation, you will see a welcome message. Now you can start finding exoplanets! 14 Chapter 6. Installation and dependencies CHAPTER 7 Frequently asked questions Check out this questions if you find problems when installing or running VIP for the first time. 7.1 FAQ First things first. Please make sure you have the latest version of VIP. Please go and check the repository now! • On linux, why do I get a matplotlib related error when importing VIP? ImportError: Matplotlib qt-based backends require an external PyQt4, PyQt5, or PySide package to be installed, but it was not found. You may need to change the matplotlib backend. Find your matplotlibrc configuration file and change the backend from WXAgg to TkAgg (or the appropriate backend for your sytem). More info here: http: //matplotlib.org/faq/usage_faq.html#what-is-a-backend. On linux the matplotlibrc file is located in: $HOME/.config/matplotlib/matplotlibrc • Why do I get, in OSX, the following RuntimeError? Python is not installed as a framework. The Mac OS X backend will not be able to function correctly if Python is not installed as a framework. See the Python documentation for more information on installing Python as a framework on Mac OS X. Please either reinstall Python as a framework, or try one of the other backends. Again, this is a matplotlib- backend related issue. Read the link in the previous answer. It can be solved setting the backend to WXAgg or TkAgg. Optionally, you can change your matplotlib backend before importing VIP: import matplotlib as mpl mpl.use('TkAgg') import vip • The VIP setup.py script doesn’t finish the job, it seems to be stuck. What to do? This is very unlikely to happen with the latest versions of pip, setuptools and VIP‘s setup script. If you en- counter this situation just kill the process (Ctrl + C) and start it again by re-running the setup command. A workaround is to install the problematic dependency before executing VIP setup: 15 VIP Documentation, Release 0.8.1 $ pip install <problematic_dependency> • Why the setup fails complaining about the lack of a Fortran compiler? Fortran compilers are apparently needed for compiling Scipy from source. Make sure there is a Fortran compiler in your system. A workaround is to install Scipy through conda before running the setup script: $ conda install scipy • Why do I get and error related to importing cv2 package when importing VIP? cv2 is the name of Opencv bindings for python. This library is needed for fast image transformations, it is the default library used although it is optional. You can install it with conda: $ conda install opencv • Why do I get a warning related to DS9/XPA when importing VIP? Please make sure you have DS9 and XPA in your system path. Try installing them using your system’s package management tool. • Why Python crashes when using some of the parallel functions, e.g. pca_adi_annular and run_mcmc_astrometry? These functions require running SVD on several processes and this can be problematic depending on the linear algebra libraries on your machine.
Recommended publications
  • Opensource Software in Mac OS X V. Zhhuta
    Foss Lviv 2013 191 - Linux VM з Wordpress на Azure під’єднано до SQL-бази в приватному центрі обробки даних. Як бачимо, бізнес Microsoft вже дуже сильно зав'язаний на Open Source! Далі в доповіді будуть розглянуті подробиці інтероперабельності платформ з Linux Server, Apache Hadoop, Java, PHP, Node.JS, MongoDb, і наостанок дізнаємося про цікаві Open Source-розробки Microsoft Research. OpenSource Software in Mac OS X V. Zhhuta UK2 LImIted t/a VPS.NET, [email protected] Max OS X stem from Unix: bSD. It contains a lot of things that are common for Unix systems. Kernel, filesystem and base unix utilities as well as it's own package managers. It's not a secret that Mac OS X has a bSD kernel Darwin. The raw Mac OS X won't provide you with all power of Unix but this could be easily fixed: install package manager. There are 3 package manager: MacPorts, Fink and Homebrew. To dive in OpenSource world of mac os x we would try to install lates version of bash, bash-completion and few other utilities. Where we should start? First of all you need to install on you system dev-tools: Xcode – native development tools that contain GCC and libraries. Next step: bring a GIU – X11 into your system. Starting from Mac OS 10.8 X11 is not included in base-installation and it's need to install Xquartz(http://xquartz.macosforge.org). Now it's time to look closely to package managers MacPorts Site: www.macports.org Latest MacPorts release: 2.1.3 Number of ports: 16740 MacPorts born inside Apple in 2002.
    [Show full text]
  • About Basictex-2021
    About BasicTeX-2021 Richard Koch January 2, 2021 1 Introduction Most TeX distributions for Mac OS X are based on TeX Live, the reference edition of TeX produced by TeX User Groups across the world. Among these is MacTeX, which installs the full TeX Live as well as front ends, Ghostscript, and other utilities | everything needed to use TeX on the Mac. To obtain it, go to http://tug.org/mactex. 2 Basic TeX BasicTeX (92 MB) is an installation package for Mac OS X based on TeX Live 2021. Unlike MacTeX, this package is deliberately small. Yet it contains all of the standard tools needed to write TeX documents, including TeX, LaTeX, pdfTeX, MetaFont, dvips, MetaPost, and XeTeX. It would be dangerous to construct a new distribution by going directly to CTAN or the Web and collecting useful style files, fonts and so forth. Such a distribution would run into support issues as the creators move on to other projects. Luckily, the TeX Live install script has its own notion of \installation packages" and collections of such packages to make \installation schemes." BasicTeX is constructed by running the TeX Live install script and choosing the \small" scheme. Thus it is a subset of the full TeX Live with exactly the TeX Live directory structure and configuration scripts. Moreover, BasicTeX contains tlmgr, the TeX Live Manager software introduced in TeX Live 2008, which can install additional packages over the network. So it will be easy for users to add missing packages if needed. Since it is important that the install package come directly from the standard TeX Live distribution, I'm going to explain exactly how I installed TeX to produce the install package.
    [Show full text]
  • Jupyter Tutorial Release 0.8.0
    Jupyter Tutorial Release 0.8.0 Veit Schiele Oct 01, 2021 CONTENTS 1 Introduction 3 1.1 Status...................................................3 1.2 Target group...............................................3 1.3 Structure of the Jupyter tutorial.....................................3 1.4 Why Jupyter?...............................................4 1.5 Jupyter infrastructure...........................................4 2 First steps 5 2.1 Install Jupyter Notebook.........................................5 2.2 Create notebook.............................................7 2.3 Example................................................. 10 2.4 Installation................................................ 13 2.5 Follow us................................................. 15 2.6 Pull-Requests............................................... 15 3 Workspace 17 3.1 IPython.................................................. 17 3.2 Jupyter.................................................. 50 4 Read, persist and provide data 143 4.1 Open data................................................. 143 4.2 Serialisation formats........................................... 144 4.3 Requests................................................. 154 4.4 BeautifulSoup.............................................. 159 4.5 Intake................................................... 160 4.6 PostgreSQL................................................ 174 4.7 NoSQL databases............................................ 199 4.8 Application Programming Interface (API)..............................
    [Show full text]
  • Webroot Secureanywhere® Business – DNS Protection Apache License 2.0 • Aws-Sdk-Net Copyright © Amazon.Com, Inc. Apache
    Webroot SecureAnywhere® Business – DNS Protection Apache License 2.0 • aws-sdk-net Copyright © Amazon.com, Inc. Apache License Version 2.0, January 2004 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. “License” shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. “Licensor” shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. “Legal Entity” shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, “control” means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. “You” (or “Your”) shall mean an individual or Legal Entity exercising permissions granted by this License. “Source” form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. “Object” form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. “Work” shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
    [Show full text]
  • MAC OSX Tips
    Table of Contents MAC OSX tips keys linux-like environment and FINK MacPorts tips Build from source VS use binaries Useful commands MAC OSX tips Overview Some tips and hints on MacOSX usage: tame your keyboard and go ahead with compilation. edit 1414069126 [MAC OSX tips] section 1-168 1/8 documentation:tools:macosx_tips Edit keys quick copy and paste with CMD touch + c and + v key pipe | : alt + Maj + l tilde ~: alt +n square brackets [ or ]: alt + Maj + ( or ) antislash \:alt + maj + : edit 1414069126 [keys] section 169-383 documentation:tools:macosx_tips Edit linux-like environment and FINK 2/8 What is Fink? Fink is a distribution of Unix Open Source software for Mac OS X and Darwin. It brings a wide range of free command-line and graphical software developed for Linux and similar operating systems to your Mac. Quick Start Download the installer disk image: Fink 0.9.0 Binary Installer Double-click ?Fink-0.9.0-XYZ-Installer.dmg? to mount the disk image, then double-click the ?Fink 0.9.0 XYZ Installer.pkg? package inside. Follow the instructions on screen. At the end of the installation, the pathsetup utility will be launched. You will be asked for permission before your shell's configuration files are edited. When the utility has finished, you are set to go! Using the fink tool The fink tool uses several suffix commands to work on packages from the source distribution. Some of them need at least one package name, but can handle several package names at once. You can specify just the package name (e.g.
    [Show full text]
  • BSCW Administrator Documentation Release 7.4.1
    BSCW Administrator Documentation Release 7.4.1 OrbiTeam Software Mar 11, 2021 CONTENTS 1 How to read this Manual1 2 Installation of the BSCW server3 2.1 General Requirements........................................3 2.2 Security considerations........................................4 2.3 EU - General Data Protection Regulation..............................4 2.4 Upgrading to BSCW 7.4.1......................................5 2.4.1 Upgrading on Unix..................................... 13 2.4.2 Upgrading on Windows................................... 17 3 Installation procedure for Unix 19 3.1 System requirements......................................... 19 3.2 Installation.............................................. 20 3.3 Software for BSCW Preview..................................... 26 3.4 Configuration............................................. 30 3.4.1 Apache HTTP Server Configuration............................ 30 3.4.2 BSCW instance configuration............................... 35 3.4.3 Administrator account................................... 36 3.4.4 De-Installation....................................... 37 3.5 Database Server Startup, Garbage Collection and Backup..................... 37 3.5.1 BSCW Startup....................................... 38 3.5.2 Garbage Collection..................................... 38 3.5.3 Backup........................................... 38 3.6 Folder Mail Delivery......................................... 39 3.6.1 BSCW mail delivery agent (MDA)............................. 39 3.6.2 Local Mail Transfer Agent
    [Show full text]
  • Running Digital Micrograph on Linux and Mac OSX
    Downloaded from Running Digital Micrograph on Linux and Mac OSX https://www.cambridge.org/core Robert Hovden School of Applied and Engineering Physics, Cornell University, Ithaca, NY 14853 [email protected] Introduction that allows Unix-like operating systems to execute . IP address: Gatan Digital Micrograph (DM) software is considered programs written for Microsoft Windows. Wine provides a an industry standard among microscopists. The offline DM compatibility layer that allows Windows system calls to be run on a substitute operating system. As stated by internal application is freely available from Gatan [1]. Unfortunately, 170.106.202.58 DM software has been designed to run only on Microsoft Wine admins, “You can start your Windows application Windows operating systems, thus distancing the microscopy straight from your regular desktop environment, place that community from popular Unix-based systems, such as Linux application’s window side by side with native applications, or Mac OSX. An ad hoc solution to this problem has required copy/paste from one to the other, and run it all at full speed” , on a virtualized Windows operating system running on top [2]. After installing Wine and the necessary Microsoft 28 Sep 2021 at 14:01:56 of the user’s native operating system. This is not only slow, components, DM runs readily on Linux or OSX. The software having to emulate each processor instruction, but also requires has been tested using the offline DM V2.01 demo provided installation and licensing of Windows and the virtualization by Gatan. software. However, with the aid of open-source resources, it The steps for a Linux system are nearly identical and is possible to run DM natively on Linux and Mac OSX (Figure simpler than OSX, so the remainder of this guide is addressed , subject to the Cambridge Core terms of use, available at 1).
    [Show full text]
  • Linux Package Management
    Welcome A Basic Overview and Introduction to Linux Package Management By Stan Reichardt [email protected] October 2009 Disclaimer ● ...like a locomotive ● Many (similar but different) ● Fast moving ● Complex parts ● Another one coming any minute ● I have ridden locomotives ● I am NOT a locomotive engineer 2 Begin The Train Wreck 3 Definitions ● A file archiver is a computer program that combines a number of files together into one archive file, or a series of archive files, for easier transportation or storage. ● Metadata is data (or information) about other data (or information). 4 File Archivers Front Ends Base Package Tool CLI GUI tar .tar, tar tar file roller .tar.gz, .tgz, .tar.Z, .taz, .tar.bz2,.tbz2, .tbz, .tb2, .tar.lzma,.tlz, .tar.xz, .txz, .tz zip .zip zip zip file roller gzip gzip gunzip gunzip ● Archive file http://en.wikipedia.org/wiki/Archive_file ● Comparison of file archivers http://en.wikipedia.org/wiki/Comparison_of_file_archivers 5 tar ● These files end with .tar suffix. ● Compressed tar files end with “.t” variations: .tar.gz, .tgz, .tar.Z, .taz, .tar.bz2, .tbz2, .tbz, .tb2, .tar.lzma, .tlz, .tar.xz, .txz, .tz ● Originally intended for transferring files to and from tape, it is still used on disk-based storage to combine files before they are compressed. ● tar (file format) http://en.wikipedia.org/wiki/.tar 6 tarball ● A tar file or compressed tar file is commonly referred to as a tarball. ● The "tarball" format combines tar archives with a file-based compression scheme (usually gzip). ● Commonly used for source and binary distribution on Unix-like platforms, widely available elsewhere.
    [Show full text]
  • Json Schema Python Package
    Json Schema Python Package Epiphytical and irascible Stanly often tetanized some caraway astern or recap terminably. Alicyclic or sepaloid, Rajeev never lambastes any paedophilia! Lubricious and unperilous Martin unsolders while tonish Sherwin uprears her savers first-class and vitiates ungovernably. Thats it uses json package The jsonschema package must be installed separately in order against use this decorator Combining schemas Understanding JSON Schema 70 Apr 12 2020. It is in xml processing of specific use regular expressions are examples show you can create a mandatory conversion tactic can see full list. Any changes take effect, our example below is there is a given types, free edition of code example above, happy testing process generated from any. By which require that in addition, and click actions on disk, but you have a standard. Learn about JSON Schemas and how you agree use sometimes to build your own JSON Validator Server using Python and Django. You maybe transitive dependencies. The instance object. You really fast json package manager for packaging into a packages in python library in json schema, if there any errors with. Build Your Own Schema Registry Server Using Python and. Jsonchema Custom type format and validator in Python. Debian - Details of package python3-jsonschema in stretch. If you to your messy. Pyarrow datatype. In go to properly formatted string. Validate an XML or JSON file against a LIXI2 Schema Validate a LIXI package XML or JSON against a Schematron file that contains business. See if not build one. Lightweight data to configure canonical logging, seems somewhat different tasks that contain all news about contact search.
    [Show full text]
  • Web Scraping with Python
    2nd Edition Web Scraping with Python COLLECTING MORE DATA FROM THE MODERN WEB Ryan Mitchell www.allitebooks.com www.allitebooks.com SECOND EDITION Web Scraping with Python Collecting More Data from the Modern Web Ryan Mitchell Beijing Boston Farnham Sebastopol Tokyo www.allitebooks.com Web Scraping with Python by Ryan Mitchell Copyright © 2018 Ryan Mitchell. All rights reserved. Printed in the United States of America. Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://oreilly.com/safari). For more information, contact our corporate/insti‐ tutional sales department: 800-998-9938 or [email protected]. Editor: Allyson MacDonald Indexer: Judith McConville Production Editor: Justin Billing Interior Designer: David Futato Copyeditor: Sharon Wilkey Cover Designer: Karen Montgomery Proofreader: Christina Edwards Illustrator: Rebecca Demarest April 2018: Second Edition Revision History for the Second Edition 2018-03-20: First Release See http://oreilly.com/catalog/errata.csp?isbn=9781491985571 for release details. The O’Reilly logo is a registered trademark of O’Reilly Media, Inc. Web Scraping with Python, the cover image, and related trade dress are trademarks of O’Reilly Media, Inc. While the publisher and the author have used good faith efforts to ensure that the information and instructions contained in this work are accurate, the publisher and the author disclaim all responsibility for errors or omissions, including without limitation responsibility for damages resulting from the use of or reliance on this work. Use of the information and instructions contained in this work is at your own risk.
    [Show full text]
  • Ansible 2.2 Documentation Release 2.4
    Ansible 2.2 Documentation Release 2.4 Ansible, Inc October 06, 2017 Contents 1 About Ansible 1 i ii CHAPTER 1 About Ansible Welcome to the Ansible documentation! Ansible is an IT automation tool. It can configure systems, deploy software, and orchestrate more advanced IT tasks such as continuous deployments or zero downtime rolling updates. Ansible’s main goals are simplicity and ease-of-use. It also has a strong focus on security and reliability, featuring a minimum of moving parts, usage of OpenSSH for transport (with other transports and pull modes as alternatives), and a language that is designed around auditability by humans–even those not familiar with the program. We believe simplicity is relevant to all sizes of environments, so we design for busy users of all types: developers, sysadmins, release engineers, IT managers, and everyone in between. Ansible is appropriate for managing all envi- ronments, from small setups with a handful of instances to enterprise environments with many thousands of instances. Ansible manages machines in an agent-less manner. There is never a question of how to upgrade remote daemons or the problem of not being able to manage systems because daemons are uninstalled. Because OpenSSH is one of the most peer-reviewed open source components, security exposure is greatly reduced. Ansible is decentralized–it relies on your existing OS credentials to control access to remote machines. If needed, Ansible can easily connect with Kerberos, LDAP, and other centralized authentication management systems. This documentation covers the current released version of Ansible (2.3) and also some development version features (2.4).
    [Show full text]
  • 1- Using Homebrew Package Manager 2- Using Macports Package Manager
    This file describes how to install ATOMPAW on MacOS - Using Homebrew package manager - Using MacPorts package manager - Compiling by yourself This manpage is available as ~atompaw_src_dir/doc/README.MacOSX 1- USING HOMEBREW PACKAGE MANAGER A Homebrew third-party Formula for ATOMPAW is available Tested with macOS v10.9 to v10.14. Prerequisite: Homebrew installed (see: http://brew.sh/#install) To install ATOMPAW just type: brew install atompaw/repo/atompaw Note: libxc library is used by default. This can be disabled by passing --without-libxc option to brew install. 2- USING MACPORTS PACKAGE MANAGER ABINIT is available on MacPorts project, not necessarily in its latest version. Tested with mac OS v10.8 to 10.14. Prerequisites: § MacPorts installed (see: https://www.macports.org/install.php) § gcc (last version) port installed with Fortran variant (Fortran compiler), § Before starting, it is preferable to update MacPorts system: To install ABINIT just type: sudo port install atompaw By default, ATOMPAW is installed with the following libxc and accelerate (linear algebra) dependencies. Variant: Linking to OpenBLAS library: port install atompaw @X.Y.Z +openblas 3- COMPILING ATOMPAW BY YOURSELF under MacOSX Prerequisites: § MacOS (10.8+) § Xcode installed with command line tools (type: xcode-select --install) § A Fortran compiler installed. Possible options: - gfortran binary from: http://hpc.sourceforge.net - gfortran binary from: https://gcc.gnu.org/wiki/GFortranBinaries#MacOS - gfortran installed via a package manager (MacPorts, Homebrew, Fink) - Intel Fortran compiler § A Linear Algebra library. By default accelerate is included in MacOS. § By default the accelerate Framework is installed on MacOSX and ATOMPAW build system should find it.
    [Show full text]