[Wien] FATAL ERROR when executing lapw1

Siyoung Choi siyoung.choi at gmail.com
Thu Apr 9 06:35:10 CEST 2009


Dear Peter,

I've found the good reference which was already posted as follows.
I changed some of the compiling options and recompiled.
The error was gone it seems that everything's working well without any error
message.
I hope it will become helpful to  you as well.

Best regards,
Young Choi

====================================================
Peter Blaha wrote:

Please try   -static
This should force the linker to include all libraries statically into
the executables and thus during execution, an error like
    MKL FATAL ERROR: Cannot load neither libmkl_mc.so nor libmkl_def.so
should not occur.
Most likely, -i-static only links the compiler libraries, but not the
mkl-libraries statically.

Alternatively, when you link dynamically, you need to tell at runtime,
where the libraries are.
This can be done by an environment variable   LD_LIBRARY_PATH and
you must put the proper pathname of the mkl library there.

The userconfig_lapw script already puts some (commented) statements into
your .bashrc (-cshrc) file and all you have to do is uncomment and
complete these lines.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20090409/9c7996fb/attachment.html


More information about the Wien mailing list