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

Recursive routines - execution order

I was wondering if when a recursive routine calls itself, what happens to statements AFTER the call.Example:subroutine SUB1(isq)call sub1(isq+1)print *,"Does it ever get here?"print *,isq+1endNow if it...

View Article


Preprocessing Partial Words

I want to use to the fpp preprocessor to achieve the following, however fpp doesnt seem to support the preprocessing of partial words. Is there a work around?#ifdef DOUBLE_PRE#define pre_...

View Article


Compiling Error: "Can't open file x64/Release/myfile.obj to write"?

I got a weird error in updating my programs. The programs have been compiled before and the set up didn't change. But now I cannot compile, not even modify the code. Trying to re-compile the original...

View Article

Debugging Visual Fortran 5.0

Have Windows XP. Microsoft Developer Studio 97. On debugging Fortran program and asking for the value of an integer variable, i now get a pound sign and number or letter.  Values of non-integer...

View Article

mkl libraries compiling and not compiling

Dear all,I have a strange problem. I wrote two programs where I use MKL libraries. I compile them with the following command:ifort -r8 *.f90 -lmkl_blas95_lp64 -lmkl_lapack95_lp64 -mkl=sequentialand...

View Article


Image may be NSFW.
Clik here to view.

Link error?

I'm just getting started after many years away from Fortran.  I installed the compiler and tried to Build a couple of the Samples like WHIZZY and I get an error: Error 1  fatal error LNK1123: failure...

View Article

Image may be NSFW.
Clik here to view.

can't start because libiomp5md.dll is missing from your computer

Hi all:I met one problem when I use XE2015 with visual studio 2010 in windows 7, 64 bit. The program can compiled successfully, but when I run it in CMD command window, I met the following error: Can...

View Article

Image may be NSFW.
Clik here to view.

internal compiler error

I have run into the following error:fortcom: Fatal: There has been an internal compiler error (C0000005)At first I could not reproduce it because it only happened on some workstations during make....

View Article


Can't find ifort in Parallel Studio XE installation

I've installed Intel Parallel Studio XE 2015 Professional uneventfully on my 64 bit machine and used "source opt/intel/bin compilervars.sh intel64".But I still get the ifort: command not found message,...

View Article


beginthreadex FORTRAN interface

I am converting my win32 application to 64bit version and I have problem with beginthreadex function. Interface for this function is not present in IVF include files.Where I can find interface for this...

View Article

Leading zero in formatted real output

I have a configuration file that defines templates, options, tokens ete etc to allow a user to format data from my software for a vast range of different CNC type machine controllers…Often leading...

View Article

Error message improvement suggestion (structure length)

When the following error message is generated:... warning #6380: The structure length is not a multiple of its largest element; could create misalignments for arrays of this type. [...]I think it would...

View Article

Error #5522 in Visual Fortran Composer 2015

Hi,Today I've tried to compile my solution with new Intel Visual Fortran Composer 2015.I get permanent compiler errors for "final" implementation: #5522: FINAL subroutines must be defined with the...

View Article


Image may be NSFW.
Clik here to view.

I need some help for running f90 files.

Hi, I just started to study fortran language.And I have some problem. F90 files which my prof give me doesn't work.There are two f90 files. and i think one of them is main file and the other is source...

View Article

How to prevent the Heap memory from exhaust ?

Hi all, Sorry if this is a side topic compared to this forum main scope, but I hope couple of us will benefit from it :What is the best practice (in Fortran-90) to prevent the heap memory from exhaust...

View Article


Interface Checking

Is it possible for the interface warning check during compilation to be applied across a solution which consists of several projects each containing several files? The reason I ask is that my...

View Article

Making DLL arguments part of a module

I am trying to make the arguments of a subroutine be part of the module so other subroutines can use it. Is there anyway to make this work without having to assign local variables (testDLL's a and b)...

View Article


Compiling an an OpenMP-included source code with -FAST switch

Hi all,I usually compile my Fortran-90 source code (which include OepnMP clauses) with :ifort -g -debug extended -O3 -xHost -openmp -openmp-simd -openmp-report -ipo -fpconstant -fp-model strict -fpe0...

View Article

Viewing module variables in /O3

This seems to be a new debugging quirk (VS 2010 with IVF V15 Update 1)I have a module that defines a user defined type:module  MOD_HOST     type TypeHOST       ...     end type TypeHOST...

View Article

Cannot compile/run OpenMP codes

Hi, I'm trying to compile and run OpenMP codes on my machine (2013 Mac Pro, Composer XE 2015, OSX Yosemite), but they don't run successfully. I compile with the -openmp flag and it compiles just fine,...

View Article
Browsing all 3108 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>