- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello,
i am using ifc to compile a big, old fortran code. is there any option that would force ifc to initialize all the variables to zero if they have not been explicitly initialized?
thanks,
barb.
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i found it myself: -zero
--barb.
> hello,
>
> i am using ifc to compile a big, old fortran code. is
> there any option that would force ifc to initialize
> all the variables to zero if they have not been
> explicitly initialized?
>
> thanks,
> barb.
--barb.
> hello,
>
> i am using ifc to compile a big, old fortran code. is
> there any option that would force ifc to initialize
> all the variables to zero if they have not been
> explicitly initialized?
>
> thanks,
> barb.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Since I have the same problem, can you tell me the solution ?.....
I have a similar problem, since I want to make all the variables zero in order to makeiterative runs of a code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Since I have the same problem, can you tell me the solution ?.....
I have a similar problem, since I want to make all the variables zero in order to makeiterative runs of a code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
-zero is not yet supported in Intel Fortran 8.0. It should be in an update to be released in April. Note that -zero will initialize only local scalar variables that are statically allocated.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page