gfortran
TMPDIR
—Directory for scratch filesGFORTRAN_STDIN_UNIT
—Unit number for standard inputGFORTRAN_STDOUT_UNIT
—Unit number for standard outputGFORTRAN_STDERR_UNIT
—Unit number for standard errorGFORTRAN_UNBUFFERED_ALL
—Do not buffer I/O on all unitsGFORTRAN_UNBUFFERED_PRECONNECTED
—Do not buffer I/O on preconnected unitsGFORTRAN_SHOW_LOCUS
—Show location for runtime errorsGFORTRAN_OPTIONAL_PLUS
—Print leading + where permittedGFORTRAN_LIST_SEPARATOR
—Separator for list outputGFORTRAN_CONVERT_UNIT
—Set endianness for unformatted I/OGFORTRAN_ERROR_BACKTRACE
—Show backtrace on run-time errorsGFORTRAN_FORMATTED_BUFFER_SIZE
—Set buffer size for formatted I/OGFORTRAN_UNFORMATTED_BUFFER_SIZE
—Set buffer size for unformatted I/OX
format descriptor without count fieldFORMAT
specificationsFORMAT
specificationsF
, G
and I
format descriptorsQ
exponent-letterLOGICAL
and INTEGER
valuesCONVERT
specifier%VAL
, %REF
and %LOC
STRUCTURE
and RECORD
UNION
and MAP
AUTOMATIC
and STATIC
attributes_gfortran_set_args
— Save command-line arguments_gfortran_set_options
— Set library option flags_gfortran_set_convert
— Set endian conversion_gfortran_set_record_marker
— Set length of record markers_gfortran_set_fpe
— Enable floating point exception traps_gfortran_set_max_subrecord_length
— Set subrecord length_gfortran_caf_init
— Initialiation function_gfortran_caf_finish
— Finalization function_gfortran_caf_this_image
— Querying the image number_gfortran_caf_num_images
— Querying the maximal number of images_gfortran_caf_image_status
— Query the status of an image_gfortran_caf_failed_images
— Get an array of the indexes of the failed images_gfortran_caf_stopped_images
— Get an array of the indexes of the stopped images_gfortran_caf_register
— Registering coarrays_gfortran_caf_deregister
— Deregistering coarrays_gfortran_caf_is_present
— Query whether an allocatable or pointer component in a derived type coarray is allocated_gfortran_caf_send
— Sending data from a local image to a remote image_gfortran_caf_get
— Getting data from a remote image_gfortran_caf_sendget
— Sending data between remote images_gfortran_caf_send_by_ref
— Sending data from a local image to a remote image with enhanced referencing options_gfortran_caf_get_by_ref
— Getting data from a remote image using enhanced references_gfortran_caf_sendget_by_ref
— Sending data between remote images using enhanced references on both sides_gfortran_caf_lock
— Locking a lock variable_gfortran_caf_lock
— Unlocking a lock variable_gfortran_caf_event_post
— Post an event_gfortran_caf_event_wait
— Wait that an event occurred_gfortran_caf_event_query
— Query event count_gfortran_caf_sync_all
— All-image barrier_gfortran_caf_sync_images
— Barrier for selected images_gfortran_caf_sync_memory
— Wait for completion of segment-memory operations_gfortran_caf_error_stop
— Error termination with exit code_gfortran_caf_error_stop_str
— Error termination with string_gfortran_caf_fail_image
— Mark the image failed and end its execution_gfortran_caf_atomic_define
— Atomic variable assignment_gfortran_caf_atomic_ref
— Atomic variable reference_gfortran_caf_atomic_cas
— Atomic compare and swap_gfortran_caf_atomic_op
— Atomic operation_gfortran_caf_co_broadcast
— Sending data to all images_gfortran_caf_co_max
— Collective maximum reduction_gfortran_caf_co_min
— Collective minimum reduction_gfortran_caf_co_sum
— Collective summing reduction_gfortran_caf_co_reduce
— Generic collective reductionABORT
— Abort the programABS
— Absolute valueACCESS
— Checks file access modesACHAR
— Character in ASCII collating sequenceACOS
— Arccosine functionACOSD
— Arccosine function, degreesACOSH
— Inverse hyperbolic cosine functionADJUSTL
— Left adjust a stringADJUSTR
— Right adjust a stringAIMAG
— Imaginary part of complex numberAINT
— Truncate to a whole numberALARM
— Execute a routine after a given delayALL
— All values in MASK along DIM are trueALLOCATED
— Status of an allocatable entityAND
— Bitwise logical ANDANINT
— Nearest whole numberANY
— Any value in MASK along DIM is trueASIN
— Arcsine functionASIND
— Arcsine function, degreesASINH
— Inverse hyperbolic sine functionASSOCIATED
— Status of a pointer or pointer/target pairATAN
— Arctangent functionATAND
— Arctangent function, degreesATAN2
— Arctangent functionATAN2D
— Arctangent function, degreesATANH
— Inverse hyperbolic tangent functionATOMIC_ADD
— Atomic ADD operationATOMIC_AND
— Atomic bitwise AND operationATOMIC_CAS
— Atomic compare and swapATOMIC_DEFINE
— Setting a variable atomicallyATOMIC_FETCH_ADD
— Atomic ADD operation with prior fetchATOMIC_FETCH_AND
— Atomic bitwise AND operation with prior fetchATOMIC_FETCH_OR
— Atomic bitwise OR operation with prior fetchATOMIC_FETCH_XOR
— Atomic bitwise XOR operation with prior fetchATOMIC_OR
— Atomic bitwise OR operationATOMIC_REF
— Obtaining the value of a variable atomicallyATOMIC_XOR
— Atomic bitwise OR operationBACKTRACE
— Show a backtraceBESSEL_J0
— Bessel function of the first kind of order 0BESSEL_J1
— Bessel function of the first kind of order 1BESSEL_JN
— Bessel function of the first kindBESSEL_Y0
— Bessel function of the second kind of order 0BESSEL_Y1
— Bessel function of the second kind of order 1BESSEL_YN
— Bessel function of the second kindBGE
— Bitwise greater than or equal toBGT
— Bitwise greater thanBIT_SIZE
— Bit size inquiry functionBLE
— Bitwise less than or equal toBLT
— Bitwise less thanBTEST
— Bit test functionC_ASSOCIATED
— Status of a C pointerC_F_POINTER
— Convert C into Fortran pointerC_F_PROCPOINTER
— Convert C into Fortran procedure pointerC_FUNLOC
— Obtain the C address of a procedureC_LOC
— Obtain the C address of an objectC_SIZEOF
— Size in bytes of an expressionCEILING
— Integer ceiling functionCHAR
— Character conversion functionCHDIR
— Change working directoryCHMOD
— Change access permissions of filesCMPLX
— Complex conversion functionCO_BROADCAST
— Copy a value to all images the current set of imagesCO_MAX
— Maximal value on the current set of imagesCO_MIN
— Minimal value on the current set of imagesCO_REDUCE
— Reduction of values on the current set of imagesCO_SUM
— Sum of values on the current set of imagesCOMMAND_ARGUMENT_COUNT
— Get number of command line argumentsCOMPILER_OPTIONS
— Options passed to the compilerCOMPILER_VERSION
— Compiler version stringCOMPLEX
— Complex conversion functionCONJG
— Complex conjugate functionCOS
— Cosine functionCOSD
— Cosine function, degreesCOSH
— Hyperbolic cosine functionCOTAN
— Cotangent functionCOTAND
— Cotangent function, degreesCOUNT
— Count functionCPU_TIME
— CPU elapsed time in secondsCSHIFT
— Circular shift elements of an arrayCTIME
— Convert a time into a stringDATE_AND_TIME
— Date and time subroutineDBLE
— Double conversion functionDCMPLX
— Double complex conversion functionDIGITS
— Significant binary digits functionDIM
— Positive differenceDOT_PRODUCT
— Dot product functionDPROD
— Double product functionDREAL
— Double real part functionDSHIFTL
— Combined left shiftDSHIFTR
— Combined right shiftDTIME
— Execution time subroutine (or function)EOSHIFT
— End-off shift elements of an arrayEPSILON
— Epsilon functionERF
— Error functionERFC
— Error functionERFC_SCALED
— Error functionETIME
— Execution time subroutine (or function)EVENT_QUERY
— Query whether a coarray event has occurredEXECUTE_COMMAND_LINE
— Execute a shell commandEXIT
— Exit the program with status.EXP
— Exponential functionEXPONENT
— Exponent functionEXTENDS_TYPE_OF
— Query dynamic type for extensionFDATE
— Get the current time as a stringFGET
— Read a single character in stream mode from stdinFGETC
— Read a single character in stream modeFINDLOC
— Search an array for a valueFLOOR
— Integer floor functionFLUSH
— Flush I/O unit(s)FNUM
— File number functionFPUT
— Write a single character in stream mode to stdoutFPUTC
— Write a single character in stream modeFRACTION
— Fractional part of the model representationFREE
— Frees memoryFSEEK
— Low level file positioning subroutineFSTAT
— Get file statusFTELL
— Current stream positionGAMMA
— Gamma functionGERROR
— Get last system error messageGETARG
— Get command line argumentsGET_COMMAND
— Get the entire command lineGET_COMMAND_ARGUMENT
— Get command line argumentsGETCWD
— Get current working directoryGETENV
— Get an environmental variableGET_ENVIRONMENT_VARIABLE
— Get an environmental variableGETGID
— Group ID functionGETLOG
— Get login nameGETPID
— Process ID functionGETUID
— User ID functionGMTIME
— Convert time to GMT infoHOSTNM
— Get system host nameHUGE
— Largest number of a kindHYPOT
— Euclidean distance functionIACHAR
— Code in ASCII collating sequenceIALL
— Bitwise AND of array elementsIAND
— Bitwise logical andIANY
— Bitwise OR of array elementsIARGC
— Get the number of command line argumentsIBCLR
— Clear bitIBITS
— Bit extractionIBSET
— Set bitICHAR
— Character-to-integer conversion functionIDATE
— Get current local time subroutine (day/month/year)IEOR
— Bitwise logical exclusive orIERRNO
— Get the last system error numberIMAGE_INDEX
— Function that converts a cosubscript to an image indexINDEX
— Position of a substring within a stringINT
— Convert to integer typeINT2
— Convert to 16-bit integer typeINT8
— Convert to 64-bit integer typeIOR
— Bitwise logical orIPARITY
— Bitwise XOR of array elementsIRAND
— Integer pseudo-random numberIS_CONTIGUOUS
— Test whether an array is contiguousIS_IOSTAT_END
— Test for end-of-file valueIS_IOSTAT_EOR
— Test for end-of-record valueISATTY
— Whether a unit is a terminal device.ISHFT
— Shift bitsISHFTC
— Shift bits circularlyISNAN
— Test for a NaNITIME
— Get current local time subroutine (hour/minutes/seconds)KILL
— Send a signal to a processKIND
— Kind of an entityLBOUND
— Lower dimension bounds of an arrayLCOBOUND
— Lower codimension bounds of an arrayLEADZ
— Number of leading zero bits of an integerLEN
— Length of a character entityLEN_TRIM
— Length of a character entity without trailing blank charactersLGE
— Lexical greater than or equalLGT
— Lexical greater thanLINK
— Create a hard linkLLE
— Lexical less than or equalLLT
— Lexical less thanLNBLNK
— Index of the last non-blank character in a stringLOC
— Returns the address of a variableLOG
— Natural logarithm functionLOG10
— Base 10 logarithm functionLOG_GAMMA
— Logarithm of the Gamma functionLOGICAL
— Convert to logical typeLONG
— Convert to integer typeLSHIFT
— Left shift bitsLSTAT
— Get file statusLTIME
— Convert time to local time infoMALLOC
— Allocate dynamic memoryMASKL
— Left justified maskMASKR
— Right justified maskMATMUL
— matrix multiplicationMAX
— Maximum value of an argument listMAXEXPONENT
— Maximum exponent of a real kindMAXLOC
— Location of the maximum value within an arrayMAXVAL
— Maximum value of an arrayMCLOCK
— Time functionMCLOCK8
— Time function (64-bit)MERGE
— Merge variablesMERGE_BITS
— Merge of bits under maskMIN
— Minimum value of an argument listMINEXPONENT
— Minimum exponent of a real kindMINLOC
— Location of the minimum value within an arrayMINVAL
— Minimum value of an arrayMOD
— Remainder functionMODULO
— Modulo functionMOVE_ALLOC
— Move allocation from one object to anotherMVBITS
— Move bits from one integer to anotherNEAREST
— Nearest representable numberNEW_LINE
— New line characterNINT
— Nearest whole numberNORM2
— Euclidean vector normsNOT
— Logical negationNULL
— Function that returns an disassociated pointerNUM_IMAGES
— Function that returns the number of imagesOR
— Bitwise logical ORPACK
— Pack an array into an array of rank onePARITY
— Reduction with exclusive ORPERROR
— Print system error messagePOPCNT
— Number of bits setPOPPAR
— Parity of the number of bits setPRECISION
— Decimal precision of a real kindPRESENT
— Determine whether an optional dummy argument is specifiedPRODUCT
— Product of array elementsRADIX
— Base of a model numberRAN
— Real pseudo-random numberRAND
— Real pseudo-random numberRANDOM_INIT
— Initialize a pseudo-random number generatorRANDOM_NUMBER
— Pseudo-random numberRANDOM_SEED
— Initialize a pseudo-random number sequenceRANGE
— Decimal exponent rangeRANK
— Rank of a data objectREAL
— Convert to real typeRENAME
— Rename a fileREPEAT
— Repeated string concatenationRESHAPE
— Function to reshape an arrayRRSPACING
— Reciprocal of the relative spacingRSHIFT
— Right shift bitsSAME_TYPE_AS
— Query dynamic types for equalitySCALE
— Scale a real valueSCAN
— Scan a string for the presence of a set of charactersSECNDS
— Time functionSECOND
— CPU time functionSELECTED_CHAR_KIND
— Choose character kindSELECTED_INT_KIND
— Choose integer kindSELECTED_REAL_KIND
— Choose real kindSET_EXPONENT
— Set the exponent of the modelSHAPE
— Determine the shape of an arraySHIFTA
— Right shift with fillSHIFTL
— Left shiftSHIFTR
— Right shiftSIGN
— Sign copying functionSIGNAL
— Signal handling subroutine (or function)SIN
— Sine functionSIND
— Sine function, degreesSINH
— Hyperbolic sine functionSIZE
— Determine the size of an arraySIZEOF
— Size in bytes of an expressionSLEEP
— Sleep for the specified number of secondsSPACING
— Smallest distance between two numbers of a given typeSPREAD
— Add a dimension to an arraySQRT
— Square-root functionSRAND
— Reinitialize the random number generatorSTAT
— Get file statusSTORAGE_SIZE
— Storage size in bitsSUM
— Sum of array elementsSYMLNK
— Create a symbolic linkSYSTEM
— Execute a shell commandSYSTEM_CLOCK
— Time functionTAN
— Tangent functionTAND
— Tangent function, degreesTANH
— Hyperbolic tangent functionTHIS_IMAGE
— Function that returns the cosubscript index of this imageTIME
— Time functionTIME8
— Time function (64-bit)TINY
— Smallest positive number of a real kindTRAILZ
— Number of trailing zero bits of an integerTRANSFER
— Transfer bit patternsTRANSPOSE
— Transpose an array of rank twoTRIM
— Remove trailing blank characters of a stringTTYNAM
— Get the name of a terminal device.UBOUND
— Upper dimension bounds of an arrayUCOBOUND
— Upper codimension bounds of an arrayUMASK
— Set the file creation maskUNLINK
— Remove a file from the file systemUNPACK
— Unpack an array of rank one into an arrayVERIFY
— Scan a string for characters not a given setXOR
— Bitwise logical exclusive ORThis manual documents the use of gfortran
, the GNU Fortran compiler. You can find in this manual how to invoke gfortran
, as well as its features and incompatibilities.
• Introduction: | ||
Part I: Invoking GNU Fortran | ||
---|---|---|
• Invoking GNU Fortran: | Command options supported by gfortran . |
|
• Runtime: | Influencing runtime behavior with environment variables. | |
Part II: Language Reference | ||
• Fortran standards status: | Fortran 2003, 2008 and 2018 features supported by GNU Fortran. | |
• Compiler Characteristics: | User-visible implementation details. | |
• Extensions: | Language extensions implemented by GNU Fortran. | |
• Mixed-Language Programming: | Interoperability with C | |
• Coarray Programming: | ||
• Intrinsic Procedures: | Intrinsic procedures supported by GNU Fortran. | |
• Intrinsic Modules: | Intrinsic modules supported by GNU Fortran. | |
• Contributing: | How you can help. | |
• Copying: | GNU General Public License says how you can copy and share GNU Fortran. | |
• GNU Free Documentation License: | How you can copy and share this manual. | |
• Funding: | How to help assure continued work for free software. | |
• Option Index: | Index of command line options | |
• Keyword Index: | Index of concepts |
Next: Introduction, Up: (dir) [Contents][Index]
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-10.2.0/gfortran/index.html