开通VIP,畅享免费电子书等14项超值服
首页
好书
留言交流
下载APP
联系客服
2014.07.22
When you interface COMSOL 3.5a with MATLAB 2009b or 2010a, some error messages may appear unless you have installed the latest software patch.
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}"
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}"
微信登录中...请勿关闭此页面