Intel® Visual Fortran Compiler for Windows*

DLL project run on some computers but not others

I have a project where the main program is written in VB6.  The VB6 calls a Fortran DLL, which subsequently calls two more Fortran DLL's.  All of the Fortran was recently converted from Compaq to Intel, using Intel Visual Fortran Composer XE 2013.  The code works fine on the computer in which it was compiled, and has been deployed successfully to several other computers which do not have any compilers.  On those, we installed the run-time libraries by running w_ccompxe_redist_ia32_2013.1.119.msi and w_fcompxe_redist_ia32_2013.1.119.msi.  However, on a few computers where the exact same inst

ifort option to specify object files directory

I have a project that is created using visual studio. I have following structure (as seen in the windows explorer)

helloworld.vcproj

Code

Release

Debug

All the source code is the "code" folder. 

a) I would like to compile the code folder and the object files and .exe should go to Release folder

could u someone tell me what should be the options for ifort?  

could someone tell me what should be the options to compile the code with debug option and how to debug program in command line?

I will come to the makefile later

Calling C++ from FORTRAN

I had read a topic of calling C++ from FORTRAN.

Basically, I need to access C++ class data from FORTRAN- when calling C++ from FORTRAN.

Steve suggested in one of his post to use access routines (get, put, etc.) if you need to communicate class data between the languages (

http://software.intel.com/en-us/forums/topic/296424)

.

Please can anyone advise what exactly you eman by access routines?

Record Length on Sequential WRITE

I need to be able to write a record to a sequential file that is longer than 1024 characters. I was under the impression that one could increase the record length using RECL= in the OPEN statement. However, the line keeps wrapping at 1024 characters. The following is some sample code. When I run it and open the file in notepad, the line appears as two lines with 1024 characters on one line and 6 on the next.

character*1030 line
do i=1,1030
line(i:i)='x'
enddo
open(1,file='test.txt',access='SEQUENTIAL',recl=1100)
write(1,10) line
10 format(a)
end

How is to specify debug target?

I would like to debug programs written in visual studio. However, whenever I click on start debugging it says "Visual Studio cannot debug because debug target has not been set". I tried several things, but no luck. Can someone post detailed instructions. BTW, I'm using "Intel Visual Fortran Composer XE2013 with Microsoft Visual Studio"

: Runtime errors when using D_NNLPF routine (new IMSL)

we are using the routine  D_NNLPF for optimization . The previous version of the above routine is called DNCONF

It appears the signature of the new D_NNLPF is changed. It has required and optional arguments.

The following are arguments we are passing to the D_NNLPF

    CALL D_NNLPF(FCN7, M, ME, IBTYPE, XLB, XUB, X,N, XGUESS, XSCALE, IPRINT, MAXITN, EPSDIF, TAU0, DEL0, EPSFCN, IDTYPE, TAUBND, SMALLW, DELMIN,SCFMAX, FVALUE)

 Per documentation, below is the call without optional arguments. 

    CALL D_NNLPF(FCN7, M, ME, IBTYPE, XLB, XUB, X)

How to call a subroutine in a project from a different project

i have a project which has two subprojects in the visual studio.

one project contains the subroutine. another project contains the calling programs that call above subroutines.

When I call the subroutine say maxmin, it gives error saying "...unresolved external symbol _maxmin in the MAIN program"

Any help is highly appreciated.

ifort is not recognized

Hello gentlemen,

I'm trying to use subroutine in MSC.Marc 2010. I've done all requirements that was written in MARC installation guide:

Install MVS 2005 +SP1, with MKL library, then

Install Fortran compiller ver. 10.1(MARC2010 need this version of compiller)

Then, I checked environmental variables path for ifort and lib_path. There are path to ifort.exe and libraries for fortran dll's.

XE12--> XE13 : performance issue when reading files

Hello, 

  I have a program that read quite big files (~ 100 Mo). Reading time was not a problem until I updated to XE 13. Below is a part of the program that is now very slow. 

XE12 --> 0.03 s  (clock time)

XE13 --> 5.50 s  (clock time)  , whatever the update  (13.0 , 13.1.1 ... )

Regards, 

   Guillaume

call chrono2%start()

do ihdg=1, nbhead

Pages

Subscribe to Intel® Visual Fortran Compiler for Windows*