12.07.2015 Views

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>ABORT• “Miscellaneous Run-Time Routines”Most of these routines require a USE IFCORE statement to obtain the proper interfaces.Required USE statements are prominent in the routine descriptions.In addition to the appropriate USE statement, for some routines you must specify the types oflibraries to be used when linking. For more information, see the following sections in Volume I ofyour user’s guide:• "Specifying Path, Library, and Include Directories"• "<strong>Libraries</strong> Options"Also see "Understanding Errors During the Build Process" in Volume I of your user’s guide.In the description of routines, pointers and handles are INTEGER(4) on IA-32 processors;INTEGER(8) on Intel® Itanium® processors.Portability Subroutine: Flushes and closes I/O buffers, and terminates program execution.Module: USE IFPORTSyntaxCALL ABORT [string]string(Input; optional) Character*(*). Allows you to specify an abort message at program termination.When ABORT is called, "abort:" is written to external unit 0, followed by string. If omitted, thedefault message written to external unit 0 is "abort: <strong>Fortran</strong> Abort Called."CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS LIBSee Also: the EXIT and STOP statements in the Language <strong>Reference</strong>ExampleUSE IFPORT! The following prints "abort: <strong>Fortran</strong> Abort Called"CALL ABORT! The following prints "abort: Out of here!"Call ABORT ("Out of here!")2-2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!