OpenCV on Biowulf

OpenCV (Open Source Computer Vision Library: http://opencv.org) is an open-source library that includes several hundreds of computer vision algorithms.

Documentation
Important Notes

Interactive job
Interactive jobs should be used for debugging, graphics, or applications that cannot be run as batch jobs.

Allocate an interactive session and run the program. Sample session:

[user@biowulf]$ sinteractive -c 8 --gres=lscratch:20
[user@cn3144 ~]$ module load OpenCV/4.6.0
[+] Loading opencv 4.6.0_gcc-11.3.0_cuda-11.2.2 on cncn3144
[user@cn3144 ~]$ cd /lscratch/$SLURM_JOB_ID
[user@cn3144 ~]$ git clone https://github.com/opencv/opencv_extra.git
[user@cn3144 ~]$ export OPENCV_TEST_DATA_PATH=$(pwd)/opencv_extra/testdata
[user@cn3144 ~]$ /usr/local/apps/OpenCV/opencv-4.6.0/build-2022-11-02/bin/opencv_test_core
...
[ RUN      ] BufferArea.default_align/1, where GetParam() = false
[       OK ] BufferArea.default_align/1 (0 ms)
[ RUN      ] BufferArea.bad/0, where GetParam() = true
[       OK ] BufferArea.bad/0 (0 ms)
[ RUN      ] BufferArea.bad/1, where GetParam() = false
[       OK ] BufferArea.bad/1 (0 ms)
[----------] 8 tests from BufferArea (0 ms total)

[----------] Global test environment tear-down
[ SKIPSTAT ] 43 tests skipped
[ SKIPSTAT ] TAG='mem_6gb' skip 1 tests
[ SKIPSTAT ] TAG='skip_bigdata' skip 1 tests
[ SKIPSTAT ] TAG='skip_other' skip 41 tests
[==========] 11672 tests from 257 test cases ran. (55443 ms total)
[  PASSED  ] 11672 tests.

  YOU HAVE 13 DISABLED TESTS
[user@cn3144 ~]$ exit
salloc.exe: Relinquishing job allocation 46116226
[user@biowulf ~]$