分享

MATLAB 2009b interface problems

 myriad 2014-07-22
Problem Description


When you interface COMSOL 3.5a with MATLAB 2009b or 2010a, some error messages may appear unless you have installed the latest software patch.

Linux and Windows error message examples

Running COMSOL 3.5a with MATLAB 2009b or 2010a gives the following output on the command line:

OMP abort: Initializing libguide.so, but found libiomp5.so already initialized. This may cause performance degradation and correctness issues. Set environment variable KMP_DUPLICATE_LIB_OK=TRUE to ignore this problem and force the program to continue anyway. Please note that the use of KMP_DUPLICATE_LIB_OK is unsupported and using it may cause undefined behavior. For more information, please contact Intel(R) Premier Support.

/versions/comsol35ah1/comsol35ah1/bin/comsol: line 1291: 17714 Aborted ${MPICMD} ${MLCMD} ${MLARGS} ${MLR} "${MLRUN}"

Mac OS X error message examples

If COMSOL 3.5a with MATLAB R2009b is started with the command

comsol matlab

64-bit MATLAB is launched, but with 32-bit COMSOL paths set.
The error message displayed in the MATLAB command window is:

Java exception occurred:
java.lang.UnsatisfiedLinkError:
/tyr/versions/comsol35ah1/comsol35ah1/lib/maci64/libfljni.dylib:
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1702)
    at java.lang.Runtime.load0(Runtime.java:769)
    at java.lang.System.load(System.java:968)
    at com.femlab.jni.FlNativeUtil.loadLibrary(Unknown Source)
    at com.femlab.jni.FlNativeUtil.ensureLibIsLoaded(Unknown Source)

Error in ==> initcomsol at 92
com.femlab.jni.FlNativeUtil.ensureLibIsLoaded();

The following output occurs in the terminal window when lighting is activated in a 3D plot:

OMP: Warning #2: Cannot open message catalog "libiomp5.cat":
OMP: System error #2: (null)
OMP: Hint: Check NLSPATH environment variable, its value is "(null)".
OMP: Info #3: Default messages will be used.
OMP: Error #15: Initializing libiomp5.dylib, but found libguide.dylib already initialized.
OMP: Hint: This may cause performance degradation and correctness issues. Set environment variable KMP_DUPLICATE_LIB_OK=TRUE to ignore this problem and force the program to continue anyway. Please note that the use of KMP_DUPLICATE_LIB_OK is unsupported and using it may cause undefined behavior. For more information, please see http://www.intel.com/software/products/support/.
/Applications/COMSOL35a/bin/comsol: line 1306:  5078 Abort trap              ${MPICMD} ${MLCMD} ${MLARGS} ${MLR} "${MLRUN}"

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多