Quantcast
Browsing all 3270 articles
Browse latest View live

Fortran DLL - incorrect array size

Dear Steve and Fortran Masters,I have a Fortran DLL called from C++ that is used in a chemical process simulator. The subroutines / functions in the DLL are normally called millions of times during the...

View Article


Generic subroutine for various types of input arguments

Hi,I have a subroutine that receives a vector and rearranges its elements according to "mapping" vector. So for example the 1st element becomes 3rd, etc. This is done on integer, double, and double...

View Article


How to import a DLL into a Microsoft Visual Studio Fortran Project?

Hello,I am having problems importing a DLL into my current Fortran project. The DLL file I am trying to import, fdlltest.dll, has the following functions defined when I do dumpbin...

View Article

intel fortran MAC OSX 10.11

hi i was usinig mac osx 10.10.5 and intel compiler fortran 2015 and everything worked just fine , after updating to mac osx 10.11 when i use ifort in terminal it says " command not found " but gfortran...

View Article

Namelist problem

HelloII use the namelist to save the data to a file. If some variables in the namelist change places or if a new variable is added to the namelist, there is no problem when data are reading from the...

View Article


OpenMP: initialize Threadprivate

Dear folks, let's suppose to have this FORTRAN module:MODULE MyUtility IMPLICIT NONE REAL*8, ALLOACATABLE(:,:) :: r INTEGER :: i1, i2, i3, i3 REAL*8 :: r1,r2,r3 CONTAINS SUBROUTINE work(x,y) REAL*8 ::...

View Article

vectorization of short array constructor

forall(i=1:n/2) a(i*2-1:i*2)= b(i)+ [c(i),e(i)] *d(i)generates efficiently vectorized code with current gfortran, but ifort says there is a dependency which prevents vectorization, regardless of...

View Article

explain error code 151

I get error code 151 when trying to allocate an array.I have -traceback, but still don't get any further info.In another thread, I saw 151 being associated with allocatingan array that is already...

View Article


Advance in Coarray Fortran (PGAS) Programming

Hi everybody, this is just to shortly share information about the current status of advancing in our Coarray Fortran programming (task-based MPMD-like parallel software development in serial Fortran...

View Article


assume_aligned not recognised by compiler

Hi all,I am getting the following remark while compiling.remark #7867: This directive is misplaced or not supported on this platform. !dir$ assume_aligned pnm : 64Here pnm is an array of dimensions...

View Article

Converting a character variable to a real variable

Please,Someone could explain me how to convert a character variable get from an edit box to a real variable, using just a command? I am developing a Win32 program.Thank you in advance.Carlos Santos

View Article

Setting text to an edit control box in Win32 API (Fortran)

Hello everybody,I am presently working on a simple Win32 application in Visual Fortran which launches an external program, takes the results of calculations and then displays the data on the child...

View Article

Improving performance

I developed a Fortran 77 program which is over 10,000 lines long and performs general engineering calculations and matrix computations. As an example, for a specific problem I am working on, the...

View Article


ICE with OpenMP workshare construct

Hello,the following code leads to an internal compiler error:module ifc_openmp_workshare_bug implicit none type t real, pointer :: u(:,:) end type t contains subroutine sub (z, x, y) real, intent(out)...

View Article

Data in Array Constructor using multiplier has error

Can anyone help? I cannot get the array constructor data values to compile when using a multiplier on a constant.This is an f77 conversion. Using MS VS 2003 and Intel V9. The array used to look like:...

View Article


Image may be NSFW.
Clik here to view.

Debbuger Installation Failure

I used the parallel_studio_xe_2016_composer_edition_for_fortran_setup.exe installer. During installation the message "The Intel(R) Debugger Extension for Intel(R) MIC Architecture cannot be installed....

View Article

porting old code, finding functions

I'm porting over some old f77 code from another platform, and trying to figure out how to deal with some old function calls.I'm getting 'undefined reference to' errors with the functions dgesl and...

View Article


Array Declaration

Hi All,For a Fortran array, Is there any compiler specific parameter to set the array lower bound to zero? Because Linux considers the lower bound as one always.

View Article

link error

Bonjour Fortran fellows,My projects used to link and work fine. Then suddenly I get the following error.So I go to "project properties", change the default libs, try again, most of the times it does...

View Article

Question on optimization directive IVDEP

Hello,consider the code:module ifc_ivdep_test contains subroutine sub1 (z, x, y) real, intent(out) :: z(:) real, intent(in) :: x(:) real, intent(in) :: y(:) !dir$ ivdep z = x * y ! OK end subroutine...

View Article
Browsing all 3270 articles
Browse latest View live


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