Intel® Moderncode for Parallel Architectures
Support for developing parallel programming applications on Intel® Architecture.

Different flags function

Saravana_Kumar_R_
404 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
Honored Contributor III
404 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.

 

0 Kudos
Reply