Cannot open ucrt.lib
I have just recently installed Visual Studio 2015 and Intel Fortran.During the build process I get the error, "error 1104, cannot open ucrt.lib"I am linking with the nodefaultlib option set to "No" (...
View ArticleUsing Generic Interfaces and Parameterized Types for selective early binding
I am using a parameterized type (called dispersion_type in the code) to select a function based on the value of a kind parameter of the type (namely, fkind). The different functions would have...
View ArticleDifficulties building/linking with ISO C binding with ifort on Windows
Big picture: I am trying to embed a Lua interpreter in Fortran code via the F2003 ISO C bindings (see https://bitbucket.org/haraldkl/aotus ).I can get it to work with ifort and Windows, just not both...
View Articlecharacter initialization using hexadecimal
The following specification is accepted by the compiler: CHARACTER*1 FALSE/Z'00'/, TRUE/Z'01'/but is not accepted in the next case:CHARACTER(LEN=1), PARAMETER :: FALSE=Z'00', TRUE=Z'01'...
View ArticleAssign allocated array to other allocatable array
Hi,I've got two codes, which I want to combine. In one code I've got type: TYPE, PUBLIC ::m_type INTEGER :: m, REAL ( KIND( 1.0D+0 ) ), ALLOCATABLE, DIMENSION(:) :: val END TYPEand subroutine which...
View ArticleOlder Version of Compiler Not Recognizing My Manually Generated License File...
Hello. I am in urgent need of some guidance. I recently purchased a single named-user license for Intel's Fortran Compiler for Linux. While the baseline purchase was for the newest 2016 version of...
View ArticleImport statement failes. Compiler bug?
The following code fails (Update 1, 2016.0.1.51; both 32 bits and 64 bits.) MODULE ti_mod USE ISO_C_BINDING IMPLICIT none PRIVATE ! INTEGER,PUBLIC,PARAMETER :: GLintptr = C_INTPTR_T ! PUBLIC...
View ArticleChanging the language of the output report
Greetings,apologies for the title of the topic, which may seem a bit cryptic, but I doubt I can find a better one - nor a worse either ;-)Let me explain the unusual situation I am facing. My PC runs...
View ArticleInstalled Composer 2016 Update 1, now VS 2015 Community won't lauch
I had VF 13.0 working fine in VS 2010.I installed VS 2015 Community with C++ custom install, used it ok.I bought and installed Composer 2016 Update 1, said it installed fine in both 2010 and 2015...
View ArticleMultiple Output files
I've written a 3D finite difference diffusion code in Microsoft Visual studio and I need to output the concentrations are certain time step values. I need multiple output files that include the...
View Articlefreelibrary fails to unload dll
I have a couple of fortran dll's (Intel® Parallel Studio XE 2016 Update 1 Composer Edition for Fortran Windows) that get loaded into a c++ program. After they're done I'd like to unload the dll's. One...
View ArticleIllegal instruction when running programs compiled by mpifort
Hi all,Recently I compiled VASP using Intel Fortran Compilers, but the program does not seem to work properly on my cluster. I got errors like: running on 1 total cores distrk: each k-point on 1 cores,...
View ArticleSIZE function on an ALLOCATABLE array
Hello,The following code prints out 10 as the size of the ALLOCATABLE array after the array is deallocated. Is this the correct behavior or a compiler bug? I am using the latest version of the Intel...
View Articleva_list Fortran implementation: Compiles fine but gives runtime errors
I'm trying to come up with the object to store scalars and arrays in one type. It will ultimately allow me to pass arbitrary number of some predefined objects into any function. The code is compiled...
View Articlemixed prgraming - force passing argument
Hi I am working on VS2010 mixed-programing and use the Intel Compiler / VisualStudio (Intel Parallel 2015) to compile my project in VS 2010.Console - c source: #include <stdio.h> #include...
View ArticleAliasing problem when passing the private components of a base type to its child
From what I gather, it's best to avoid any kind of aliasing in Fortran. What would be a proper way of implementing the following?Say, I have two derived types: base_t and child_t, each one defined in...
View ArticleOptimizer bug
I wrote a driver program to solve the SNLS (Separable Nonlinear Least Squares) problems at http://www.itl.nist.gov/div898/strd/nls/nls_main.shtml using the JPL math77 library (high quality, recently...
View ArticleQ about integer multiply
Suppose we have: integer(4) x,y integer (8) z z=x*yIn almost all cases, the result will be wrong, in fact, more than 99.9999 percent of thetime, since the compiler does not understand...
View Articleproblems with StretchDIbit
I am converting a program from Fortran 10 to fortran 16 (evaluation version at the moment) in Windows 10.Most things have converted well but I am having problems with a bitmap routine (based on a...
View Articleifort linker can't find my user libs
I've searched the forum for this issue but no luck. This is my first time trying to link user libs into my source code on linux. I am NOT using -static or -fast when I compile. libA.a and libB.a are...
View Article