Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

!DEC$ - Does it still exist?

Randy_Stonesifer
Beginner
697 Views

My old code has !DEC$ IF(bitsystem .eq. 64)  lines for conditional compiling.  I am trying to compile with the latest ivf version (2015) using the vf 2010 shell.  I see no info in the documentation about !DEC$.  Is it obsolete? If it is what is the best alternative?

Thanks,

Randy

 

0 Kudos
1 Solution
FortranFan
Honored Contributor III
697 Views

See online documentation at https://software.intel.com/en-us/node/525780.

You may want to go through the main section on "Directive Enhanced Compilation" in detail.

Of course, if you can minimize your use of such directives and work with standard Fortran (use /stand compiler option for checking), it will help you greatly in the long term via a largely portable codebase.

View solution in original post

0 Kudos
2 Replies
FortranFan
Honored Contributor III
698 Views

See online documentation at https://software.intel.com/en-us/node/525780.

You may want to go through the main section on "Directive Enhanced Compilation" in detail.

Of course, if you can minimize your use of such directives and work with standard Fortran (use /stand compiler option for checking), it will help you greatly in the long term via a largely portable codebase.

0 Kudos
Steven_L_Intel1
Employee
697 Views

Do you have "bitsystem" defined as a preprocessor variable? That's what the directive would look for, and this isn't one that is predefined.

0 Kudos
Reply