Intel® Visual Fortran Compiler for Windows*

Profiler Error PRF1301

I am trying to profile a code using the follwing batch file, provided in the page, titled, "Profiler Batch

Processing". Here is the provided code, which I've pasted in a file, named ftime.bat.

PREP /OM /FT /EXC nafxcwd.lib %1
if errorlevel == 1 goto done
PROFILE %1 %2 %3 %4 %5 %6 %7 %8 %9
if errorlevel == 1 goto done
PREP /M %1
if errorlevel == 1 goto done
PLIST /SC %1 >%1.lst
PLIST /t %1 >%1.xls
:done

I issue the following command to run the process:

ftime d:......ssme_pw_mail.exe

Please try the CVF 6.6C update

I would like folks here to try a preliminary version of the CVF 6.6C update. The contents are complete, except the release notes have not yet been updated - I want to know of any problems installing.

Prerequisites: you must have CVF 6.6, 6.6A or 6.6B installed, either from a regular retail kit or upgraded from an earlier version. Evaluation copies are not supported. You must be logged in as an administrator to run the update.

Character

Two easy questions
First one:
Is there a difference between the following two character declarations
character :: text*80
character(len=80) :: text

second one:
can I declare a character also as allocatable ?

Thanks

step problem in up-down button

hello,
i am trying to add an spin control on a dlg box, created by DialogBaxParam. idc_spin1 attacehed to idc_edit1 in resource editor, using autosetbuddy-arrowkeys-hotkeys style. i didnt use set buddy integer style because i want to increase and decrease in step (lets say) 0,5. i could do it in step 1,easy. but how to overcome it with real number steps?

thank you

about tab controls...

hello,

i am trying to use tab controls. but compiler gives errors as follows. i already used "use comctl". what might be problem? besides, does it make different to use . instead of %? meaning, "itabmessages.code" or "itabmessages%code" ?

thank you...

...

type (T_NMHDR):: itabmessages
pointer (lptabm, itabmessages)

type (T_TCITEMHEADER) TabHead
type (T_INITCOMMONCONTROLSEX) iccex

iccex%dwSize = sizeof(iccex)
iccex%dwICC = ICC_TAB_CLASSES
Call initCommonControlsEx (iccex)

Base Conversion

Does anyone know of a Base conversion routine (source or library) that can be imemdiately used in CVF?

I had assumed that at least looking up a certain bit (i.e. base-2) of a given integer would be easily available but I cannot find this even in IMSL.

Thanks,
Tim

Question: Can fortran subroutine accept any type of data, but the type is

Now I want to write a subroutine (subroutine A) to realize the following function:
It can accept any type of array (integer, real, real*8, user defined structure) and then pass some of the elements to another subroutine (subroutine B). The data type of the array is unknown for the subroutine A but is known for the subroutine B.
Can you tell me how should I do? Thanks!

Can you integrate Compaq array visualiser into IFC compiler in VS.NET 2003

Hi every one,
I am a new user of ifc for windows but have used CVF with its array visualiser.
My IFC is integrated into Visual Studio.NET 2003, can I also integrate my old compaq Array visualiser into the Visual studio.net so that I can view array contents during debug.
I dearly miss my Compaq array visualiser during debug, the intel one is absolutely useles as it doesn't support interactive debug!

Thanks everyone

unsolved external symbol _DRNUN

Hi, I have a problem with the random number generator _DRNUN that I used as

call drnun (NR, R)

where NR - Number of random numbers to generate. (Input)
R - Vector of length NR containing the random uniform (0,1)deviates. (Output).

It is fine to compile the code in Compaq visual Fortran. However, it gives me error message as "error LNK2019: unresolved external symbol _DRNUN referenced in function XXX". Could anyone please tell me what is wrong and how should I correct it?

Thanks for your time and I appreciate your help.

char array allocate bug?

Below was uncovered in current CLF topic, and
other compilers may have similiar difficulties..
The code appears to be legal F95+ for CVF6.6B

! --------------------
program test
character(15), allocatable :: a(:)
call my_sub(a)
write (*,*) loc(a) ! outputs 256 which is wrong?
write (*,*) a ! access violation

contains
subroutine my_sub(a)
character(*), allocatable :: a(:)
allocate ( a(3) )
a = 'Hello World' ! statement executed, no trap
end subroutine my_sub
end program

Subscribe to Intel® Visual Fortran Compiler for Windows*