SMOKE shared libraries error

I am new to SMOKE and emissions modeling in general and I am having an issue trying to run the test case in SMOKE. I am getting the error below. Any help would be greatly appreciated. Thank you!

/home/nrice/smoke//subsys/smoke/Linux2_x86_64ifort/smkinven: error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory
0.000u 0.000s 0:00.00 0.0% 0+0k 0+0io 0pf+0w
/home/nrice/smoke//subsys/smoke/Linux2_x86_64ifort/spcmat: error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory
0.000u 0.000s 0:00.00 0.0% 0+0k 0+0io 0pf+0w
/home/nrice/smoke//subsys/smoke/Linux2_x86_64ifort/grdmat: error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory
0.000u 0.000s 0:00.00 0.0% 0+0k 0+0io 0pf+0w
/home/nrice/smoke//subsys/smoke/Linux2_x86_64ifort/smkreport: error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory
0.000u 0.000s 0:00.00 0.0% 0+0k 0+0io 0pf+0w
Running part 2, for 20050710 …
Running part 4, for 20050710…
/home/nrice/smoke//subsys/smoke/Linux2_x86_64ifort/temporal: error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory
0.000u 0.000s 0:00.00 0.0% 0+0k 0+0io 0pf+0w
/home/nrice/smoke//subsys/smoke/Linux2_x86_64ifort/smkmerge: error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory
0.000u 0.000s 0:00.00 0.0% 0+0k 0+0io 0pf+0w
/home/nrice/smoke//subsys/smoke/Linux2_x86_64ifort/smkreport: error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory
0.000u 0.000s 0:00.00 0.0% 0+0k 0+0io 0pf+0w

Do your compile and link flags have -qopenmp in them? If not, add it and see what happens.

@NRiceKYDAQ Did you resolve this issue? I’m getting the same error trying to run the test case with SMOKE v4.7.
@cjcoats Do I add “-qopenmp” to the Makeinclude file at $SMK_HOME/subsys/smoke/src/, then do “make clean” and then “make”?

Alternatively, this might be a LD_LIBRARY_PATH problem. Go to the directory where the Intel compilers are installed, and find the directory where libiomp lives (find . -name 'libiomp.*') and make sure that this directory is in it: if this directory is /foo/intel/lib, then

setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:/foo/intel/lib"

and try make for SMOKE again.

1 Like

@epenning I was using a fresh install of Ubuntu and did not have the /opt/intel directory installed. I installed Intel Parallel Studio XE with root permission and it fixed this issue.

@epenning @NRiceKYDAQ Sorry, I am new to SMOKE. How to add “-qopenmp” to the Makeinclude file? Thanks in advance.