I have studied the openmp reduction function kmp_reduce and the conclusion is :
if (lck!=NULL) ==> we can do CRITICAL version
if (reduce_data!=NULL && reduce_func!=NULL) ==> we can do TREE version
if ((loc->flags & KMP_IDENT_ATOMIC_REDUCE) == KMP_IDENT_ATOMIC_REDUCE) ==> we can do ATOMIC version
So i have created 3 flags which tests the conditions above (CRITICAL, TREE, ATOMIC)
I have done some tests of openmp reductions to look at the results of these flags, but it seems to be always at 1.
In our group, we work with different versions of Intel Visual Fortran. Recently, we have included some parallelization directives in some subroutines. It seems that when we create a static library with an older version of Intel Fortran that includes OpenMP parallelization, this library cannot run properly in a new version of Intel Visual Fortran, producing a run-time error. Is this normal? Would it be any way around it? When we do not include processing for OpenMP directives, the functioning of the library is proper. Thank you very much.
Im trying to implement subroutine umat(user defined code is written in 2006- not sure which version of abaqus is used?! ) and run a job.However, i,m getting this error through abaqus cae and cmd (attached file),i was wondering if you could help me out?i,m using abaqus 6.10 -VS2008-IVF 11 AND successfully run some examples from abaqus verification.i also can send my fortran file ( .for) and input abaqus file for more clarification if you require.
I am compiling and linking code developed by another source. They have recently changed to using Fortran 11.1 so we are using the trial version of that compiler (previously using 9.1).
can you suggest the cause of the following errors?
关于英特尔 INDE OpenCV
英特尔® Integrated Native Developer Experience（英特尔® INDE）是一款跨架构办公套件，可为 开发人员提供工具、支持和 IDE 集成，从而帮助他们面向基于英特尔® 架构的 Windows* 和面向 ARM* 和英特尔® 架构的 Android* 创建高性能 C++/Java* 应用。
全新 OpenCV 测试版（具备英特尔 INDE 特性）可兼容全新的开放源 OpenCV 3.0 测 试版（开放源码计算机视觉库： http://opencv.org ）。 OpenCV 测试版可为计算机视觉应用开发和生产提供免费二进制，以支持增强摄影、 增强现实，视频摘要等用法。
英特尔® INDE OpenCV 的主要性能包括：
The following minimal code will yield to many issues with ifort 184.108.40.206 and visual studio 2013 12.0.31101.00 update 4, but I couldn't figure out what is wrong with it. It produces three issues when a structure has a member which has pointers as sub-structure. I also don't understand why it reports error when I pass the pointer inside a subroutine and declare it as pointer (toBeCalled2). In fact, another piece of my code seems to be doing the same thing but ran into no issue. Any comment is appreciated
I'm attempting to create global-ish-ly available allocatable array of a set of derived types that share inheritance with a single object. Fortran does not seem to make this very easy. The below is what I have so far.
First the derived types and module with the allocatable array.
I have found that that dynamic character array of deferred length in subroutine could not be allocated.
Here is the sample code. One array is declared in the main program (var name is array_main) and is being passed to subroutine. In subroutine this array is being declared as array_sub1. Also subroutine contains another array - array_sub2.