M3MESG(), M3MSG2(), m3mesgc(), and m3msg2c()

Fortran version:

    SUBROUTINE M3MESG( MESGTXT )
        CHARACTER*(*)   MESGTXT !  caller-supplied message

C version:

m3mesgc() is a C wrapper calling the Fortran M3MESG()

    void m3mesgc( const char * mesgtxt ) ;

Summary:

Generate a 1-line message to the Fortran-program log. M3MSG2() is a variant which, in the case that the LOGFILE and standard output are distinct, writes the same message to both.

OpenMP thread-safe (when compiled with OpenMP enabled).

See also M3ERR() and m3errc() , M3EXIT() and m3exitc() , and M3WARN() and m3warnc() .

Preconditions:

#include "iodecl3.h" if called from C.

Fortran Usage:

    
    ...
    CALL M3MESG( 'Here is a message' ) ;
        ...

C Usage:

    ...
    #include "iodecl3.h"
    ...
    m3mesgc( "Here is a message" ) ;
    ... 


Previous: M3EXIT

Next: M3WARN

Up: Utility Routines

To: Models-3/EDSS I/O API: The Help Pages