Intel® Moderncode for Parallel Architectures
Support for developing parallel programming applications on Intel® Architecture.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Different flags function

Saravana_Kumar_R_
158 Views

I recently started working on someone's code. And I found some compiler flags that I don't know what they are for?

Can anyone explain me what these flags are?

1. -Dintel_

2. -DALLOW_NON_INIT

3. -nofor_main

Thanks in advance

0 Kudos
1 Reply
TimP
Black Belt
158 Views

-D sets the variable as a preprocessor symbol. You must look in the source code to see how it is used.

-nofor_main asserts the lack of a Fortran main program such as when main() is provided in another language.

These will appear in compiler documentation.

 

Reply