- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
my .bashrc looks like this
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific aliases and functions
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/intel/composer_xe_2011_sp1.9.293/mkl/lib/intel64
source /opt/intel/composer_xe_2011_sp1.9.293/bin/ifortvars.sh intel64
source /opt/intel/composer_xe_2011_sp1.9.293/mkl/bin/mklvars.sh intel64
export MKL_TARGET_ARCH=intel64
when I type in the terminal
[james@localhost ~]$ echo $LD_LIBRARY_PATH
I got th e following:
opt/intel/composer_xe_2011_sp1.9.293/compiler/lib/intel64:/opt/intel/composer_xe_2011_sp1.9.293/m
kl/lib/intel64:/opt/intel/composer_xe_2011_sp1.9.293/compiler/lib/intel64:/opt/intel/composer_xe_201
1_sp1.9.293/compiler/lib/intel64:/opt/intel/composer_xe_2011_sp1.9.293/mkl/lib/intel64::/opt/intel/co
mposer_xe_2011_sp1.9.293/mkl/lib/intel64:/opt/intel/composer_xe_2011_sp1.9.293/debugger/lib/intel
64:/opt/intel/composer_xe_2011_sp1.9.293/mpirt/lib/intel64
When I type "ls /opt/intel/composer_xe_2011_sp1.9.293/mkl/lib/intel64/libmkl_intel_lp64.so in the terminal
[james@localhost ~]$ ls /opt/intel/composer_xe_2011_sp1.9.293/mkl/lib/intel64/libmkl_intel_lp64.so
I got the following line:
/opt/intel/composer_xe_2011_sp1.9.293/mkl/lib/intel64/libmkl_intel_lp64.so
While compiling the WIEN2k, it is shown that the recommended options for system linuxifc are:
Compiler options: -FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML -traceback
Linker Flags: $(FOPT) -L$(MKLROOT)/lib/$(MKL_TARGET_ARCH) -pthread
Preprocessor flags: '-DParallel'
R_LIB (LAPACK+BLAS): -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -openmp -lpthread
and my current settings urrent settings are:
O Compiler options: -FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML -traceback
L Linker Flags: $(FOPT) -L$(MKLROOT)/lib/$(MKL_TARGET_ARCH) -pthread
P Preprocessor flags '-DParallel'
R R_LIB (LAPACK+BLAS): -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -openmp -lpthread
S Save and Quit
There were no error shown during the compilation. But when i tried to use the shared libraries
the error message comes
/home/james/wien2k/lapw0:
error while loading shared libraries: libmkl_intel_lp64.so: cannot open shared object file: No such file or directory > stop error
Please help me
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The -mp1 option is obsolete. Maybe you want -assume protect_parens. -openmp implies -lpthread, but that duplication is not a problem. -pc80 would have no effect in a compilation mode where you can use the MKL libraries you show. I prefer to avoid options of uncertain effect like -pad. None of these minor issues have any connection with the library path issue.
![](/skins/images/C4F7392A5C68ACA60290C9576F107044/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page