C mixing with strings
I am trying to use 'C' with FORTRAN , but first I need to learn some 'C' basics: In the following code everything works fine except the call to print_c_data, i.e., and don't have any output to the...
View ArticleHow to force compilation order?
Suppose I have a large set of routines, and I need them to compile in a certain order.i.e . when rebuilding a project from scratch.For example, one might have a set of Modules, and one would like to...
View ArticleProblem with TRIM and getcwd
Hi everyone,The TRIM function in combination with getcwd doesn't do anything for me. Why is that so? Any ideas? CHARACTER(len=255) :: cwd Character(:),allocatable :: trim_cwd CALL getcwd(cwd) trim_cwd...
View ArticleDiagnostic 15134: vectorization support: reference xxxx has unaligned access...
Cause:The vectorizer cannot safely use aligned loads or stores for this data access, either because the data are not aligned to an n-byte boundary in memory, or because the compiler does not know the...
View ArticleWarning # 6009, possible bug?
I don't really understand why the compiler is issuing warning #6009 to me. program inibug implicit none integer ,parameter :: WP = kind(1.0D0) real(WP) ,parameter :: offsets(3) = real([0.0D0...
View ArticleDiagnostic 15126: vectorization support: unaligned access used inside loop body
Cause:The loop contains one or more memory accesses for which the vectorizer could not safely use aligned load or store instructions, either because the data are not aligned to an n-byte boundary in...
View ArticleDiagnostic 15133: vectorization support: reference xxxx has aligned access...
Cause:The vectorizer was able to generate code for this memory access assuming the data to be aligned to an n-byte boundary in memory. The value of n depends on the targeted instruction set and...
View ArticlePorting applications
I am sitting in on a STAT class, so I generated an APP for the professor,that he could use to display bell-shaped curves and random sampling.Two issues:1) What kind of computers will be able to RUN an...
View ArticleExcluding files from build
Yesterday I made an unexpected discovery about how Visual Studio handles excluded files.Perhaps it is obvious (but wasn't to me) that excluding files from a build is specific to the configuration.As...
View ArticleControl Panel Entries
How do I clean up the entries in Control Panel?I still have Compose XE 2013 Update 15 listed as being installed, even though this does not appear in VS.When I attempt to uninstall the older version,...
View Article0.0000000567 becomes 0.000000000, why?
Hi, there is a parameter sigma which should be equal to 5.67*10**(-8) in my programming. When the code is like this sigma= 5.67*10**(-8) L=0.1 !m a=1.0 e=1.0...
View ArticleRequirement of Visual Studio for Intel® Visual Fortran Composer XE 2013
Whether Intel® Visual Fortran Composer XE 2013 will work with full functionality without Installation of Microsoft visual studio 2013 in Windows 7 Operating system ?. I
View ArticleProblem with allocatable string array expansion
program SumRes implicit none ! file1 ! lc120008A100Lh0_11 840.9 1031.9 1 843.3 1015.5 2 492.4 1496.3 5479.7 5956.7 1.26 3.03 ! lc122391A100Lh0_11 795.0 1146.5 8 796.8 1139.6 9 442.4 1453.2 5478.6...
View ArticleFortran shared library for Python with use of OpenMP
Hello,I have a problem while making a shared library in Fortran to be loaded from Python. I've put together a minimal example to show the problem.The subroutine: subroutine sgesvf() bind(C,...
View ArticleHow to hide __svml_* from a shared libary?
I would like to hide __svml_exp2 and __svml_log2 from a shared libary I build with ifort, currently the both are exposed: # nm -A libgtiusr74_dp.so | grep __svml libgtiusr74_dp.so:000af9a0 T...
View ArticleError 1 fatal error LNK1104: cannot open file 'uuid.lib' LINK
Hello AllI have been running VS 2008 shell for IVF (Intel Parallel Studio XE 2011) since late 2013. Yesterday, when I cleaned & compiled a project that compiled fine last week, I saw the following...
View ArticleHow to prevent Print statements from interfering with graphics?
I am working on a graphics APP, but I do from time to time have to insert Print statements, for user interaction,informational purposes, and for debugging.Despite my best efforts to keep the Print...
View Articleproblem with deferred assignment overloading
I believe the code below is "legal". However, ifort (14.0.1 20131008), with default options (i.e. "ifort -c") gives this error: ifort_reproducer_140226.f90(90): error #6197: An assignment of different...
View ArticleProblem with starting fortran compiler
Hi,I downloaded and installed Intel Visual Fortran Composer XE 2011 for Windows with IMSL for 64bit computer. Before that I installed MS visual studio 2010. Now, I can't start the compiler by visual...
View ArticleFortran C interoperability: Accessing constant variables (parameter) from...
Hi everybody,I've been using the Fortran-C interoperability features for some time now but always for accessing variables. I cannot figure out how to access a constant from inside a module. I have the...
View Article