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 ,10.0D8 ,10.0D9],WP) print*, offsets end program
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 alignment. The compiler must use unaligned memory accesses, which may be less efficient. The value of n depends on the targeted instruction set and corresponds to the width of the vector instructions: 16 for Intel® SSE, 32 for Intel® AVX and 64 for Intel® AVX-512 instructions.
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 = TRIM(cwd) ! still holds all the trailing spaces
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 compile those first,
before compiling the routines that have the corresponding USE statements.
Hopefully, the compiler would know: if I am doing to a rebuild of the project,
that those SHOULD be done first. but I don't know if that's really the case.
My Win-7 computer did an automatic update last night. No changes were made to my Visual FORTAN project, but when I try to build this morning, I get a fatal error LNK1123: failure during conversion to COEFF: file invalid or corrupt. I would imagine that others may have the same problem, unless it is due to something like an incomplete installation of the update.
Can someone please give some guidance on generating more detailed debugging information to see which file is invalid or corrupt?
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 pointer name. Can anyone explain me why?
void print_c_data(int w, int *s, char *name)
printf("x=%d\n and y=%d\n and the name is %s\n",w,*s);
I have a DLL created from Fortran code using digital Fortran compiler in Visual Studio 2008 on window XP. I was able to use this DLL in my Excel VBA code without any issues in my Windows 7 64-bit PC. The DLL stopped working when Intel Parallel Studio XE 2013 and Microsoft Visual Studio 2010 shell is installed. I don't have the source code to recreate the DLL in Intel Fortran. Please help me in understanding what could have happened.
I have a subroutine that allocates a workspace for MKL routines, and I want to specify the alignment of the allocated buffer. I'm using the ATTRIBUTES ALIGN directive. This works for e.g. allocatable automatic variables, but doesn't want to work for allocatable dummy arguments. For example, this fails: