Skip to content

Installation

After starting Julia, execute:

import Pkg; Pkg.add("Mads")

Installation of MADS without PYTHON

MADS uses PyYAML and matplotlib. To avoid using these libraries set the following environmental variable:

(bash)

export MADS_NO_PYTHON=""

or

(tcsh)

setenv MADS_NO_PYTHON ""

or

(julia)

ENV["MADS_NO_PYTHON"] = ""

Installation of MADS without plotting modules

MADS uses Gadfly and matplotlib for plotting. To avoid using these modules set the following environmental variable:

(bash)

export MADS_NO_PLOT=""

or

(tcsh)

setenv MADS_NO_PLOT ""

or

(julia)

ENV["MADS_NO_PLOT"] = ""

Installation of MADS behind a firewall

ulia uses git for package management. Add in the .gitconfig file in your home directory to support git behind a firewall:

[url "git@github.com:"]
    insteadOf = https://github.com/
[url "git@gitlab.com:"]
    insteadOf = https://gitlab.com/
[url "https://"]
    insteadOf = git://
[url "http://"]
    insteadOf = git://

or execute:

git config --global url."https://".insteadOf git://
git config --global url."http://".insteadOf git://
git config --global url."git@gitlab.com:".insteadOf https://gitlab.com/
git config --global url."git@github.com:".insteadOf https://github.com/

Set proxies executing the following lines in the bash command-line environment:

export ftp_proxy=http://proxyout.<your_site>:8080
export rsync_proxy=http://proxyout.<your_site>:8080
export http_proxy=http://proxyout.<your_site>:8080
export https_proxy=http://proxyout.<your_site>:8080
export no_proxy=.<your_site>

For example, at LANL, you will need to execute the following lines in the bash command-line environment:

export ftp_proxy=http://proxyout.lanl.gov:8080
export rsync_proxy=http://proxyout.lanl.gov:8080
export http_proxy=http://proxyout.lanl.gov:8080
export https_proxy=http://proxyout.lanl.gov:8080
export no_proxy=.lanl.gov

Proxies can be also set up directly in the Julia REPL as well:

ENV["ftp_proxy"] =  "http://proxyout.lanl.gov:8080"
ENV["rsync_proxy"] = "http://proxyout.lanl.gov:8080"
ENV["http_proxy"] = "http://proxyout.lanl.gov:8080"
ENV["https_proxy"] = "http://proxyout.lanl.gov:8080"
ENV["no_proxy"] = ".lanl.gov"

Docker

Mads is also available @ Docker:

docker run --interactive --tty montyvesselinov/madsjulia