pnnl / tesp

Other
39 stars 37 forks source link

v1.0.0 incorrect install on Ubuntu LTS 20.04 #36

Closed trevorhardy closed 3 years ago

trevorhardy commented 3 years ago

Using a clean VirtualBox VM install of Ubuntu LTS 20.04.1 the tesp installer runs to completion but the installation doesn't run properly.

trevorhardy commented 3 years ago

It looks like $TESP_INSTALL also hadn't been set in the installation process. Setting that environment variable and re-running the command cleared it up.

After reviewing the "Installing on Linux" section on RTD I see that there is a sentence in there that $TESP_INSTALL needs to be set. Can setting these environmental variables be part of the installation process, adding them to the appropriate login script?

temcdrm commented 3 years ago

The environment variables should have been set during the installation; this was tested in Ubuntu 20.04 LTS inside VirtualBox. It should have put this file into /etc/profile.d

Is that file present? Did you change the default location during installation? Had you logged out and logged back in after the first installation?

trevorhardy commented 3 years ago

tesp_envar.sh was in /etc/profile.d.

I can't recall if I logged out or not so let's assume I didn't.

I logged out and logged back in again and $PATH is now correct.