hpcugent / vsc_user_docs

VSC user training material and documentation
Creative Commons Attribution Share Alike 4.0 International
7 stars 33 forks source link

Export environment vars readme #608

Closed lbarraga closed 2 weeks ago

lbarraga commented 2 weeks ago

It may be obvious for some, but i spend some time figuring out why the dependencies were not installing. I ran

INSTALLDEPS=1
./build.sh

but ./build.sh initiates a new shell where INSTALLDEPS is not set. Exporting the variable fixed the issue:

export INSTALLDEPS=1
./build.sh

I also made it clearer that export INSTALLDEPS=1 needs to be run when building for the first time. If this is not done the script will exit with an error.