Difference between revisions of "makefile"

From WikiROMS
Jump to navigationJump to search
(first draft)   (change visibility)
(No difference)

Revision as of 00:53, 3 November 2006

The ROMS Makefile is in the file makefile in the top-level directory. As a user, you need to check and perhaps edit this to set the values of LARGE, MPI, OPENMP, DEBUG, and FORTRAN. See Gmake#Top_Level_Makefile and Gmake#Conditionals for more details.

Also as a user, you need to be aware of the files in the Compilers directory. The top-level makefile will be including one of these files, based on combining the result of uname -s with the value of FORTRAN. For instance, it might be including Darwin-gfortran.mk if you are on a Mac and using the gfortran compiler. You need to make sure this file exists and has the correct values for the compiler options and for finding the NetCDF library.