Skip to content

Commit e254ccc

Browse files
authored
Merge pull request #222 from trz42/sync_nessi_eessi_update_init_dir
subtle changes to make clear this is for NESSI
2 parents b634d34 + 2076db7 commit e254ccc

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

init/Magic_Castle/bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ else
3636
module reload
3737
fi
3838

39-
echo "Environment set up to use EESSI (${EESSI_VERSION}), have fun!"
39+
echo "Environment set up to use NESSI (${EESSI_VERSION}), have fun!"

init/Magic_Castle/eessi_python3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ eessi_python=$(ls ${EESSI_SOFTWARE_PATH}/software/Python/3*GCCcore*/bin/python |
1616
if [ -f "$eessi_python" ]; then
1717
$eessi_python "$@"
1818
else
19-
echo "ERROR: No EESSI Python 3 available."
19+
echo "ERROR: No NESSI Python 3 available."
2020
false
2121
fi

init/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
# Bash initialisation for EESSI
1+
# Bash initialisation for NESSI
22

33
This directory contains the default initialisation script for a bash shell used to
4-
configure Lmod and use the EESSI software modules. The (bash)
4+
configure Lmod and use the NESSI software modules. The (bash)
55
file `eessi_environment_variables` is used to set and export the full set of EESSI
66
environment variables:
77

88
- `EESSI_PREFIX`: The base directory of the entire software stack.
99
- `EESSI_EPREFIX`: The location of Gentoo Prefix compatability layer (for the architecture).
1010
- `EESSI_EPREFIX_PYTHON`: Path to `python3` in the Gentoo Prefix layer.
1111
- `EESSI_SOFTWARE_SUBDIR`: Hardware specific software subdirectory.
12-
- `EESSI_SOFTWARE_PATH`: Full path to EESSI software stack.
12+
- `EESSI_SOFTWARE_PATH`: Full path to NESSI software stack.
1313
- `EESSI_MODULEPATH`: Path to be added to the `MODULEPATH`. This can be influenced by two
1414
externally defined environment varialbes:
1515
- `EESSI_CUSTOM_MODULEPATH`: defines a fully custom directory to be added to
1616
`MODULEPATH`, the end user is entirely responsible for what this directory contains.
17-
- `EESSI_MODULE_SUBDIR`: EESSI may ship with a number of possible module naming schemes.
17+
- `EESSI_MODULE_SUBDIR`: NESSI may ship with a number of possible module naming schemes.
1818
This variable can be used to point to a non-default module naming scheme.
1919

2020
All scripts respect the environment variable `EESSI_SILENT` which, if defined to any
@@ -25,5 +25,5 @@ value, will make them produce no (non-error) output.
2525
The `Magic_Castle` subdirectory is home to the bash initialisation that we use for
2626
[Magic Castle](https://github.com/ComputeCanada/magic_castle).
2727

28-
It also contains a wrapper for a hardware optimised EESSI Python 3 installation that is used
28+
It also contains a wrapper for a hardware optimised NESSI Python 3 installation that is used
2929
by Magic Castle to properly configure JupyterHub.

init/bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ source $(dirname "$BASH_SOURCE")/eessi_environment_variables
1313
# only continue if setting EESSI environment variables worked fine
1414
if [ $? -eq 0 ]; then
1515

16-
export PS1="{EESSI $EESSI_VERSION} $PS1"
16+
export PS1="{NESSI $EESSI_VERSION} $PS1"
1717

1818
# add location of commands provided by compat layer to $PATH;
1919
# see https://github.com/EESSI/software-layer/issues/52
@@ -34,6 +34,6 @@ if [ $? -eq 0 ]; then
3434
#echo >> $output
3535
#echo >> $output
3636

37-
echo "Environment set up to use EESSI (${EESSI_VERSION}), have fun!"
37+
echo "Environment set up to use NESSI (${EESSI_VERSION}), have fun!"
3838

3939
fi

init/eessi_archdetect.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ cpupath(){
7171
[ $EESI_SOFTWARE_SUBDIR_OVERRIDE ] && echo ${EESI_SOFTWARE_SUBDIR_OVERRIDE} && exit
7272

7373
# Identify the best matching CPU architecture from a list of supported specifications for the host CPU
74-
# Return the path to the installation files in EESSI of the best matching architecture
74+
# Return the path to the installation files in NESSI of the best matching architecture
7575
local cpu_arch_spec=()
7676

7777
# Identify the host CPU architecture

init/eessi_environment_variables

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function error() {
1919
source $EESSI_INIT_DIR_PATH/minimal_eessi_env
2020

2121
if [ -d $EESSI_PREFIX ]; then
22-
echo "Found EESSI repo @ $EESSI_PREFIX!" >> $output
22+
echo "Found NESSI repo @ $EESSI_PREFIX!" >> $output
2323

2424
export EESSI_EPREFIX=$EPREFIX
2525
if [ -d $EESSI_EPREFIX ]; then
@@ -63,7 +63,7 @@ if [ -d $EESSI_PREFIX ]; then
6363
export EESSI_MODULEPATH=$EESSI_MODULEPATH
6464
echo "Using ${EESSI_MODULEPATH} as the directory to be added to MODULEPATH." >> $output
6565
else
66-
error "EESSI module path at $EESSI_MODULEPATH not found!"
66+
error "NESSI module path at $EESSI_MODULEPATH not found!"
6767
false
6868
fi
6969

@@ -75,7 +75,7 @@ if [ -d $EESSI_PREFIX ]; then
7575
fi
7676

7777
else
78-
error "EESSI software layer at $EESSI_SOFTWARE_PATH not found!"
78+
error "NESSI software layer at $EESSI_SOFTWARE_PATH not found!"
7979
fi
8080
else
8181
error "no value set for \$EESSI_SOFTWARE_SUBDIR"
@@ -84,5 +84,5 @@ if [ -d $EESSI_PREFIX ]; then
8484
error "Compatibility layer directory $EESSI_EPREFIX not found!"
8585
fi
8686
else
87-
error "EESSI repository at $EESSI_PREFIX not found!"
87+
error "NESSI repository at $EESSI_PREFIX not found!"
8888
fi

init/eessi_software_subdir_for_host.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python3
22
#
3-
# Determine EESSI software subdirectory to use for current build host, using archspec
3+
# Determine NESSI software subdirectory to use for current build host, using archspec
44
#
55
import glob
66
import os

init/minimal_eessi_env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# define minimal EESSI environment, without relying on external scripts
1+
# define minimal NESSI environment, without relying on external scripts
22
#
33
# this script is *sourced*, not executed, so can't rely on $0 to determine path to self
44
# $BASH_SOURCE points to correct path, see also http://mywiki.wooledge.org/BashFAQ/028

0 commit comments

Comments
 (0)