Intel® Fortran Compiler

link error

Hello I have upgraded to the new version of the compiler and I am getting the following error

1>LINK : fatal error LNK1104: cannot open file 'libmmdd.lib'

I am using Intel(R) Visual Fortran Compiler XE 15.0.3.208 both in 32 and 64 bit

any help would be welcome

best

jac

 

values of parameters in ENTRY

Working with :

============================================================

1>------ Build started: Project: Xdsim10, Configuration: Debug Win32 ------

1>Compiling with Intel(R) Visual Fortran Compiler XE 15.0.1.148 [IA-32]...

================================================================

in Visual Studio Professional 12 - Update 4.

In debugging, values of parameters passed in ENTRY statements are not displayed.

Quick watch notification is : 'undefined variable' or something like that.

Compiler errors with parameterized types using defined assignment and - operator

module TestParamTypeMod
   integer, parameter :: DP =  SELECTED_REAL_KIND(13)
   
   type DoubleDif(n)
      integer, len :: n
      real(DP) :: v
      real(DP) :: d(n)
   end type
   
   interface assignment(=)
      module procedure ass_D_Dpdif, ass_Dpdif_Dpdif
   end interface
   
   interface operator(-)
      module procedure sub_Dpdif_Dpdif
   end interface
   
contains

pure elemental subroutine ass_D_Dpdif(b, a)
   real(DP), intent(in) :: a
   type(DoubleDif(*)), intent(inout) :: b
   b%v = a
   b%d = 0.0_DP
end subroutine

Character String Length Problems

To the Intel Forum,

I'm converting a Compaq Fortran code to compile and run under Intel Fortran XE 2013 SP1 (M/S Windows 7)  However, I seem to be having some very basic Character String length problems when using the debug tool under Intel Fortran 2013. For example:

CHARACTER ACS*5, NAME*10

ACS = 'Pitch'

give an error, or even inserting a character from one string into another with I=3,

WFILE(1:1) = NAME(I:I)

also generates an error under Debug step through.

Q about debugging difficulty

I am debugging a program, and I get a breakpoint, apparently because of an out-of-range subscript.

Anyway, when I open the relevant subroutine, isn't it supposed to SHOW me where the breakpoint occurred?

(It is mentioned in the OUTPUT pane.) but it doesn't show me where in the CODE listing.

I also wanted to put the cursor on some variables that would show me their contents

so I can track down why it occurred. But I don't get anything regarding what is stored in any of them.

Error when build Fortran Project in Xcode

 

Hi, I have Mac Yosemite 10.10.3, Xcode 6.3 and Fortran composer_xe_2015.3.187.

I could build my project in command line using this command:

"/opt/intel/bin/ifort -static-intel -dynamiclib -openmp *.o -o libsamplesize.dylib"

I tried to use Xcode to debug as there is some issue with memory management,

this is my first time to use Xcode for Fortran project, I have followed instruction

how to create Fortran project in Xcode and linked "libiomp5.dylib" to

the project, but got error message below,

what I need to do to fix it? Thanks!

Fortran 14.1 command prompt redefining environment variable COMMONPROGRAMFILES

Has anyone noticed an issue with the intel 14.1 command prompt (either 32 or 64 bit) and having the COMMONPROGRAMFILES environment variable changed from the windows default (C:\Program Files\Common Files) to C:\Program Files (x86)\Common Files?  If a try to run some other software that uses the default environment variable from the intel prompt it does not function and I must switch to another prompt that does not support the fortran.  So on my system I have the following set by default

>echo %COMMONPROGRAMFILES%
C:\Program Files\Common Files

RANDOM_NUMBER, RANDOM_SEED dependencies?

I am observing some unexpected behavior  from RANDOM_NUMBER.   I am getting differences between sequences generated by RANDOM_NUMBER after using RANDOM_SEED to set the seed.   I am writing to see if anyone can confirm or deny that Intel RANDOM_NUMBER sequences only depend upon calls to either RANDOM_NUMBER or RANDOM_SEED, and there is no dependency,  either on other Fortran routines or C/C++/C# libraries?

Regards,

Scott

Passing an allocated array

I have an array that is defined to be ALLOCATABLE (defined in my main program).  A subroutine is call and that is where it will be allocated.  So the dummy argument of the subroutine also needs to be ALLOCATABLE.  For this work correctly, the subroutine needs an explicit interface and I have that in a module.

After that, the array will need to be passed into other subroutines.  These subroutines will never be messing around with allocation -- simply using the contents of the array.

Suscribirse a Intel® Fortran Compiler