rmnlib-install provides a portable version of the core RPN environment.
Until something better is devised, here is a quick and dirty setup recipe.
-
Clean environment: deactivate
.bashrc
,.profile
, etc. -
Use
/bin/bash
as login shell. -
A working
gfortran
andopemnmpi
are expected to be available. These packages should be available in standard distributions.
git clone https://github.com/mfvalin/rmnlib-install
mv rmnlib-install/Makefile.bootstrap Makefile
cp rmnlib-install/default-install.cfg rmnlib-install/rmnlib-install.cfg
vi rmnlib-install/rmnlib-install.cfg # adjust file contents
export LANG=C
make
You will be prompted to create some directories and maybe to install some software.
Perform adjustments/installs and rerun make. This may be an iterative process.
The installer will create a file:
${HOME}/.profile_armnlib
You can source it with this command:
. ${HOME}/.profile_armnlib
To activate the environment.