Installing Software - General Steps
From HPC users
Jump to navigationJump to search
With example OpenCV, replace name of software if needed:
$ ml EasyBuild $ ml hpc-env/6.4 # or the env you want $ eb -S OpenCV # find version you want (or one that is close) $ cp $CFGS1/OpenCV-3.4.1-foss-2018a-Python-3.6.4.eb . # to copy eb file to ~erle1100/InstallationPackagesCE/6.4/VIS/OpenCV
Now you need to adjust eb file
- change version and/or toolchain, rename file if needed (attention if versionsuffix)
- check dependencies and adjust version if resonable
- identiy missing deps
- install missing deps, in other word go to top (eb -S <dep>)
- if possible install deps with GCCcore toolchain
- use version of hpc-env, here GCCcore/6.4.0
- add binutils (existing version) to builddependencies
- if all deps exist as module install eb file
$ eb64 $EB_DEF_ARGS OpenCV-3.4.1-foss-2017b-Python-3.6.3.eb