Skip to content

lukasm91/environment

This branch is 1 commit ahead of ChristopherBignamini/environment:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9d8fe6e · Jun 6, 2018

History

21 Commits
Oct 17, 2017
Oct 27, 2017
Jun 6, 2018
Oct 27, 2017
Oct 16, 2017
Dec 15, 2017
Dec 15, 2017
Jun 6, 2018
Dec 15, 2017
Nov 27, 2017
Oct 18, 2017
Jun 5, 2018
Oct 17, 2017

Repository files navigation

Environment

Environment used for compilation and running code on various machines. The environments are defined as separate machine files with an environment in the format "env.(hostname).(environment).sh"

Usage

The script getenv will return an environment fitting to the system. By default the system selects the gnu environment. If no environment file matches the hostname then the default environment is returned (env.default.sh).

Arguments:

  • -h help
  • -e environment. Examples: -e cray, -e gnu.4.9.3
  • -l list supported systems

Examples

Let's assume the following files are available in the environment folder:

  • env.daint.pgi.sh
  • env.daint.cray.sh
  • env.kesch.gnu.sh
  • env.kesch.cray.sh
  • env.kesch.gnu.4.9.3.sh

And let's assume you are on host daint and execute the getenv script:

  • Requesting ./getenv will return env.daint.gnu.sh
  • Requesting ./getenv -e pgi will return env.daint.pgi.sh

If you are on kesch:

  • Requesting ./getenv will return env.kesch.gnu.sh
  • Requesting ./getenv -e gnu.4.9.3 will return env.kesch.gnu.4.9.3.sh

About

Computing Environments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 62.8%
  • Python 37.2%