yesĬhecking if C preprocessor can work with Fortran compiler.
usr/local/bin/gfortran -> powerpc-apple-darwin8-gfortran-4.2,Īnd after then I changed it into another version of the gfortran_4.2, then did the configure again, it went like the following:Ĭhecking if Fortran 90 compiler performs preprocessing. When I did the above configure, I had the fortran linked to:
I had the errors like the following:Ĭhecking how to get the version output from gfortran. Looks like the configure didn't go through at first. Page or missing information are much appreciated. This is my first attempt to install the setup on a local machine so any inputs to the There is an alternative way to get around this error (also discussed in the same post) :Įxport NETCDF_INCDIR=/usr/local/Cellar/netcdf/4.3.2_1/includeĮxport NETCDF_LIBDIR=/usr/local/Cellar/netcdf/4.3.2_1/libĮxport HDF5_LIBDIR=/usr/local/Cellar/hdf5/1.8.14/lib Otherwise one would get an error discussed in detail on this post. LIBS := -L$(NETCDF_LIBDIR) -lnetcdf -lnetcdff
Note* Change the ROMS/Compilers/Darwin-gfortran.mk file and add -lnetcdff flag Next is to install and compile fortran enabled netcdf and hdf5 files Do a SVN check out of the source code (ROMS/COAWST)Įxport PATH="$(brew -prefix coreutils)/libexec/gnubin:/usr/local/bin:$PATH"Įxport PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"Ħ. To install ROMS/COAWST (subversion, GNUMAKE, Gfortran, Perl, Gcc, netcdf, hd5).Īdd the installation path to. It installs the setup with gfortran.Īll the next steps use homebrew to install the softwares required I believe that this post might help in installing ROMS/COAWST on Apple machines. I recently installed COAWST setup on my local Mac pro ( OSX 10.6.8 ) using homebrew (open source software package management system for installing softwares on MAC similar to linux using command line).