InMAP
  • Docs
  • EIEIO
  • API
  • Help
  • Blog

›Using InMAP

Using InMAP

  • Quickstart
  • Installation
  • Running and Configuration
  • Emissions
  • Variable Grid
  • Output Results

Commands

  • inmap
  • inmap cloud
  • inmap cloud delete
  • inmap cloud output
  • inmap cloud start
  • inmap cloud status
  • inmap grid
  • inmap preproc
  • inmap preproc combine
  • inmap run
  • inmap run steady
  • inmap sr
  • inmap sr clean
  • inmap sr save
  • inmap sr start
  • inmap srpredict
  • inmap version

Reference

  • Model Variables

InMAP Installation

Getting InMAP

Go to releases to download the most recent release for your type of computer. For Mac systems, download the file with "darwin" in the name. You will need both the executable program and the input data ("evaldata_vX.X.X.zip"). All of the versions of the program are labeled "amd64" to denote that they are for 64-bit processors (i.e., all relatively recent notebook and desktop computers). It doesn't matter whether your computer processor is made by AMD or another brand, it should work either way.

Compiling from source

You can also compile InMAP from its source code. The instructions here are specific to Linux or Mac computers; other systems should work with minor changes to the commands below. Refer here for a list of theoretically supported systems.

  1. Install the Go compiler, version 1.11 or higher. Make sure you install the correct version (64 bit) for your system. It may be useful to go through one of the tutorials to make sure the compiler is correctly installed.

  2. Install the git version control program and the GCC compiler if they are not already installed. If you are using a shared system or cluster, you may just need to load them with the commands module load git and module load hg. If you are using Windows or a Mac, it may work best to install them using Anaconda.

  3. Download and install the main program:

    git clone https://github.com/spatialmodel/inmap.git # Download the code.
    cd inmap # Move into the InMAP directory
    go build ./cmd/inmap # Compile the InMAP executable.
    

    There should now be a file named inmap or inmap.exe in the current dirctory. This is the inmap executable file. It can be copied or moved to any directory of your choosing and run as described below in "Running InMAP".

  4. Optional: run the tests:

    cd /path/to/inmap # Move to the directory where InMAP is downloaded,
    # if you are not already there.
    go test ./... -short
    
← QuickstartRunning and Configuration →
  • Getting InMAP
    • Compiling from source
InMAP
Docs
Getting StartedPapersAPI Reference
Community
User ShowcaseStack Overflow
More
BlogGitHubStar
Copyright © 2023 the InMAP authors.