I'm a first-time ROMS 2.1 user. My computer system is a 2-cpu AMD Athlon Linux box and the compiler is absoft fortran 90. I already installed the NetCDF 3.5 library. However when I compiled with Makefile.absoft, I get the following error:

The routine flush is a standard Unix routine that flushes any output that has been buffered. The name of this routine may change in different Unix operating systems. ROMS/TOMS has its own flush routine, my_flush, which is declared in mp_routines.F, to allow easy change to other routines names with identical functionality.

Notice that whole pupose of the file mp_routines.F is to provide an interface for all kinds of standard Unix routines that may change their name across operating systems. For example, the function to get arguments from the comand-line is getarg in mostly all Unix systems but on the Cray is pxfgetarg. Similar construction is possible for the flush routine. Already, there is a construction for AIX systems where the routine name is flush_ instead.

You need to look the appropiate name for this routine in your operating system and provide the CPP structure in my_flush (file mp_routines.F). Notice that each computer has it own environmental name flag. Use this name in the #if CPP structure. I usually put this name in the Makefile CPPFLAGS macro. If there is not a flush routine in you system, you can leave this entry blank so nothing is done to flush the output buffer.

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum