Quantcast
Channel: Intel® Fortran Compiler
Browsing all 3270 articles
Browse latest View live

The file size is twice bigger when writing real8 into binary file.

Hi,I am a newbie to Fortran language. I try to write a real8 array into binary file using code as follow (compiler: Intel Fortran 2015)open(unit=219,...

View Article


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...

View Article


Is this a bug in ifort ?

I think i'm observing a bug in ifort.  $> ifort test.f90 -O1 -g  && ./a.out    6 0 0 0 0 0 0    1 0 $> ifort test.f90 -O0 -g  && ./a.out    6 0 0 0 0 0 0    6 0 0 0 0 0 0The...

View Article

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...

View Article

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...

View Article


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...

View Article

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...

View Article

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...

View Article


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...

View Article


values of parameters in ENTRY

Working with :============================================================1>------ Build started: Project: Xdsim10, Configuration: Debug Win32 ------1>Compiling with Intel(R) Visual Fortran...

View Article

link error

Hello I have upgraded to the new version of the compiler and I am getting the following error1>LINK : fatal error LNK1104: cannot open file 'libmmdd.lib'I am using Intel(R) Visual Fortran Compiler...

View Article

passing a character string in c++ t oa dll function in Fortran

HelloI have a fortran dll with a large number of functions receiving character strings as argumentsfor exampledouble precision function func(str1,prop1,prop2,str2) BIND(C,name='cppfunc')use, intrinsic...

View Article

Need an advice on programming graphic using either Visual Fortran or Visual C/C+

Dear All,I have a project on fluid flow with graphics on. I am looking forward to continue developing the solver part in Fortran but the UI with a graphic console in mixed language form. I just need an...

View Article


Submodule+coarray bug with IVF 16.0

The following code triggers compiler error #8361 (A coarray or an object with a coarray ultimate component shall be a dummy argument or have the ALLOCATABLE or SAVE attribute.) for coarray J. I think...

View Article

Problem compiling with -warn interfaces on ifort 12.1.6

I'm trying to compile a large software project with ifort 12.1.6 20120928 on RHEL6 using the -warn interfaces option (to detect possible argument mismatches in function calls). In many cases, I get the...

View Article


Help connecting COM Library in Fortran Code

Hi,I need some help to connect a COM library to my Fortran code. To start of I am using Visual Studios 2010 with Visual Fortran Compiler XE15.0 Update 3. I do have some experiance with Fortran...

View Article

Internal procedure as actual argument (error)

Dear readers, I am seeking you for advice on passing internal procedures as actual arguments, which is a fortran 2008 feature supported by ifort 15.0. The following module does not compile in ifort...

View Article


How To Install GDB-IA Only.

Our application is a fortran based application. The standard GDB that comes with Linux is not sufficient in debugging issues on production systems. We would like to install GDB-IA on those servers. Can...

View Article

Latest update of IVF

My latest update was "w_fcompxe_redist_ia32_2013_sp1.4.237.msi" in August 2014.Can anyone tell me if there is a more recent upgrade available, and where to find it? ( I have still an active license) 

View Article

unnecessary warning for variables that have not been used in the definition...

View Article
Browsing all 3270 articles
Browse latest View live