Quantcast
Channel: Fortran
Browsing all 3108 articles
Browse latest View live

Calling a C function in Visual Studio from a Visual Fortran code

Hi,I have a Visual Studio 2012 installed on Windows 8.1. Also, I installed Visual Fortran. I want to create a solution with two projects one in Fortran and one in C, then be able to call C function...

View Article


Redistributable Libraries and/or static compilation

Hi,I need to send a co-worker the redistributable libraries for the latest Fortran compiler. Where can I find those (in my computer or on-line)?Also, does the recipient have to do anything else (move...

View Article


Getting Started with the MPI Performance Snapshot

The MPI Performance Snapshot (MPS) is a scalable lightweight performance tool for MPI applications. It collects a variety of MPI application statistics (such as communication, activity, and load...

View Article

Parameterized Derived Data Type Allocation Error

Hi all, the following is a simplified version of a code that I wrote that does not seem to work. For the larger code I just get a generic "compliation error" and then the compiler stops. I tracked that...

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


Stack Overflow with OpenMP

Hi everyone, I'm getting an inexplicable "stack overflow" error with OpenMP. Without parallelization, the program runs smoothly, however, when it comes to parallelizing it, it seems like stacksize is...

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
Browsing all 3108 articles
Browse latest View live


Latest Images