Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
5 Views

Modify compiler options

Jump to solution

Hello there,

I'm really new to the IDE Visual Studio and the Intel Fortran, I am trying to do a modification to the compiler, as is asked in this past post of this forum, specifically the last answer to that post. The problem is that as being new to this environment I do not know where to write the "/Qinit:zero" statement. I tried searching on the forum but it is a little complicated to me understand exactly where to write the previous command from the Compiler Options on Visual Studio as is noted here. I understand all the advices against using that command and I will try to implement them in a near future but right now I need just to do that. 

Also, any advice for using the features of the Intel compiler to find undeclared and uninitialized variables would be appreciated, such a tutorial or reference book. Thanks in advance!

I'm using Intel Fortan compiler 19 and Visual Studio 2019.
 

Jose Manuel Rosales
0 Kudos

Accepted Solutions
Highlighted
Retired Employee
5 Views

If you're using Visual Studio

Jump to solution

If you're using Visual Studio, most options can be set by using one of the project property pages. The documentation tells you where each setting is, if there is a property for it. For example, you want Data > Initialize Variables to Zero (Most common ones are there). For options not available in properties, you can type them in on the Command Line property page.

There is a compiler option to do run-time checking of uninitialized variables, but it is limited in usefulness. Run-time > Check for Uninitialized Variables (-check [no]uninit)

Documentation can be found online and available for download to reference locally. For pointers and more useful tips, see https://software.intel.com/en-us/articles/intel-fortran-compiler-information-and-frequently-asked-questions

--
Steve (aka "Doctor Fortran") - https://stevelionel.com/drfortran

View solution in original post

0 Kudos
10 Replies
Highlighted
Retired Employee
6 Views

If you're using Visual Studio

Jump to solution

If you're using Visual Studio, most options can be set by using one of the project property pages. The documentation tells you where each setting is, if there is a property for it. For example, you want Data > Initialize Variables to Zero (Most common ones are there). For options not available in properties, you can type them in on the Command Line property page.

There is a compiler option to do run-time checking of uninitialized variables, but it is limited in usefulness. Run-time > Check for Uninitialized Variables (-check [no]uninit)

Documentation can be found online and available for download to reference locally. For pointers and more useful tips, see https://software.intel.com/en-us/articles/intel-fortran-compiler-information-and-frequently-asked-questions

--
Steve (aka "Doctor Fortran") - https://stevelionel.com/drfortran

View solution in original post

0 Kudos
Highlighted
Beginner
5 Views

Hello Steve Lionel! thanks

Jump to solution
Hello Steve Lionel! thanks for the guideance it worked, I know what I asked is pretty basic but for me all this is new. By the way, this is not the first time that you helped me out, Im new to Intel Fortran but I've been working with Fortran for over a year, and every time I asked to google about some how to fortran, your name is listed now and then, so again thanks!
Jose Manuel Rosales
0 Kudos
Highlighted
Beginner
5 Views

Hello Steve Lionel! thanks

Jump to solution

Hello Steve Lionel! thanks for the guidance it worked, I know what I asked is pretty basic but for me all this is new. By the way, this is not the first time that you helped me out, I’m new to Intel Fortran but I've been working with Fortran for over a year, and every time I asked to google about a "how in fortran?", your name appeared now and then, so again thanks!

Jose Manuel Rosales
0 Kudos
Highlighted
Retired Employee
5 Views

You're welcome. You may want

Jump to solution

You're welcome. You may want to look through:

--
Steve (aka "Doctor Fortran") - https://stevelionel.com/drfortran
0 Kudos
Highlighted
Beginner
5 Views

Thanks again!

Jump to solution

Thanks again!

I will check those links, but the first and second doesn't work.

 

Jose Manuel Rosales
0 Kudos
Highlighted
Black Belt
5 Views

I can reach those pages even

Jump to solution

I can reach those pages even on Windows where I am blocked from reaching Intel login server. From Android I can reach the pages either by satellite or 4G cell tower. If I disable mobile data I can't reach anything on this site through cell tower.

0 Kudos
Highlighted
Retired Employee
5 Views

All of the links work - I

Jump to solution

All of the links work - I checked them - but Intel's external-facing network can behave very oddly at times.

--
Steve (aka "Doctor Fortran") - https://stevelionel.com/drfortran
0 Kudos
Highlighted
New Contributor I
5 Views

Quote:Steve Lionel (Ret.)

Jump to solution

Steve Lionel (Ret.) (Blackbelt) wrote:

All of the links work - I checked them - but Intel's external-facing network can behave very oddly at times.

Yes network issues can be interesting -- I am trying to access a computer remotely and some set systems juat make this impossible for some methods. 

If today is today of the dead is it Fortran's birthday. 

 

0 Kudos
Highlighted
5 Views

Fortran .NOT. DEAD

Jump to solution

Fortran .NOT. DEAD

Jim Dempsey

0 Kudos
Highlighted
Beginner
5 Views

Yeah those links worked, but

Jump to solution

Yeah those links worked, but it is odd that only in chrome didn’t; anyway, thank you. I will go through those pages.

Jose Manuel Rosales
0 Kudos