Skip to content

Commit f995c63

Browse files
committed
[corrections]
1 parent 123e089 commit f995c63

2 files changed

Lines changed: 25 additions & 23 deletions

File tree

muffin.pdf

2.3 KB
Binary file not shown.

muffin.tex

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2743,7 +2743,7 @@ \chapter{Marine ecosystems and dynamics}
27432743

27442744
\hfill \break
27452745

2746-
\noindent \textit{The following is based on workshop material originally devised by Ben Ward <b.a.ward@bristol.ac.uk>}
2746+
\noindent \textit{The following is based on workshop material originally devised by Ben Ward <b.a.ward@soton.ac.uk>}
27472747

27482748
\section*{Stuff to keep in mind\dots}
27492749
\begin{itemize}
@@ -2754,7 +2754,7 @@ \section*{Stuff to keep in mind\dots}
27542754

27552755
\section*{Background reading}
27562756
\begin{itemize}
2757-
\item \href{http://www.seao2.info/pubs/EcoGEnIE.pdf}{\textit{Ward et al.} [2017]} -- manuscript submitted to GMD.
2757+
\item \href{https://doi.org/10.5194/gmd-2017-258}{\textit{Ward et al.} [2017]} -- Ward, B. A., Wilson, J. D., Death, R. M., Monteiro, F. M., Yool, A., and Ridgwell, A.: EcoGEnIE 0.1: Plankton Ecology in the cGENIE Earth system model, \textit{Geosci. Model Dev. Discuss.}, https://doi.org/10.5194/gmd-2017-258, 2017.
27582758
\end{itemize}
27592759

27602760
%------------------------------------------------
@@ -6655,7 +6655,7 @@ \section{HOW-TO ... macOS muffin}\label{how-to-macos}
66556655
\noindent\rule{4cm}{0.1mm}
66566656
\vspace{2mm}
66576657

6658-
\noindent To install the \textbf{muffin} release of cGENIE on a Mac you will need a number of software packages, including Fortran, C++ and NetCDF. The best way to get hold of these is via a package management system, such as Homebrew (\href{}{https://brew.sh}) or MacPorts (\href{}{https://www.macports.org}). This guide is based on Homebrew, because it is slightly more user friendly than MacPorts, and is kept more up-to-date with changes in the Apple operating system. (If you are already a MacPorts user, please see Appendix~A.)
6658+
\noindent To install the \textbf{muffin} release of cGENIE on a Mac you will need a number of software packages, including Fortran, C++ and NetCDF. The best way to get hold of these is via a package management system, such as Homebrew (\href{}{https://brew.sh}) or MacPorts (\href{}{https://www.macports.org}). This guide is based on Homebrew, because it is slightly more user friendly than MacPorts, and is kept more up-to-date with changes in the Apple operating system. (If you are already a MacPorts user, please see Section \ref{how-to-macports}).
66596659

66606660
\begin{enumerate}
66616661

@@ -6665,9 +6665,12 @@ \section{HOW-TO ... macOS muffin}\label{how-to-macos}
66656665

66666666
% I think XCode automatically comes with Homebrew and command line tools enabled
66676667
\item Get Homebrew by pasting the following at the terminal command line...
6668-
\\ \texttt{/usr/bin/ruby -e "\$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"}
6669-
\\ Next, type `\texttt{brew doctor}'. This should tell you ``\texttt{your system is ready to brew}''. If it doesn't, see Appendix~B.
6670-
6668+
\\ \texttt{/usr/bin/ruby -e
6669+
\small
6670+
\\"\$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
6671+
\normalsize}
6672+
(\uline{all one line})
6673+
\\Next, type `\texttt{brew doctor}'. This should tell you ``\texttt{your system is ready to brew}''. If it doesn't, see Section \ref{how-to-macports-errors}.
66716674
\item Install Fortran, C++, NetCDF and some other useful libraries at the command line (using Homebrew) as follows:
66726675

66736676
% brew tap homebrew/science % deprecated in homebrew
@@ -6692,7 +6695,7 @@ \section{HOW-TO ... macOS muffin}\label{how-to-macos}
66926695
\end{verbatim}\vspace{-5pt}
66936696
(This was from my most recent install, with version \texttt{4.6.1\_2})
66946697

6695-
\item Adjust the cGENIE environment variables for your machine and netcdf installation by editing
6698+
\item Finaly, adjust the cGENIE environment variables for your machine and netcdf installation by editing
66966699
\\\texttt{cgenie.muffin/genie-main/user.mak}, setting:
66976700
\vspace{-5pt}\begin{verbatim}
66986701
MACHINE=OSX
@@ -6703,18 +6706,6 @@ \section{HOW-TO ... macOS muffin}\label{how-to-macos}
67036706
\end{verbatim} \vspace{-5pt}
67046707
to reflect your netcdf path (Step 5).
67056708

6706-
\item Finally, in cgenie.muffin/genie-main/makefile.arc, comment out:
6707-
\vspace{-5pt}\begin{verbatim}
6708-
#NETCDF=
6709-
$(LIB_SEARCH_FLAG)$(PATH_QUOTE)$(NETCDF_DIR)/lib$(PATH_QUOTE) $(LIB_FLAG)$(NETCDF_NAME)
6710-
\end{verbatim}\vspace{-5pt}
6711-
and un-comment
6712-
\vspace{-5pt}\begin{verbatim}
6713-
NETCDF_NAMEF=$(NETCDF_NAME)f
6714-
NETCDF=$(LIB_SEARCH_FLAG)$(PATH_QUOTE)$(NETCDF_DIR)/lib$(PATH_QUOTE)
6715-
$(LIB_FLAG)$(NETCDF_NAME) $(LIB_FLAG)$(NETCDF_NAME) $(LIB_FLAG)$(NETCDF_NAMEF)
6716-
\end{verbatim}
6717-
67186709
\item To test the code installation -- change directory to \texttt{cgenie.muffin/genie-main} and type:
67196710
\vspace{-5pt}\begin{verbatim}
67206711
make testbiogem
@@ -6728,11 +6719,9 @@ \section{HOW-TO ... macOS muffin}\label{how-to-macos}
67286719

67296720
\noindent That is is for the basic installation.
67306721

6731-
\newpage
6732-
67336722
%------------------------------------------------
67346723
%
6735-
\subsection*{MacPorts}
6724+
\subsection{MacPorts}\label{how-to-macports}
67366725

67376726
You are here because you have already installed MacPorts, presumably by following the instructions here:
67386727
\\\href{https://www.macports.org/install.php}{https://www.macports.org/install.php}.
@@ -6798,7 +6787,7 @@ \subsubsection*{Option 2: Install required packages through MacPorts and precomp
67986787

67996788
%------------------------------------------------
68006789
%
6801-
\subsection*{Errors}
6790+
\subsection{Errors}\label{how-to-macports-errors}
68026791

68036792
Errors identified by `\texttt{brew doctor}' are most likely associated with some incompatible files in your software libraries, perhaps from a previous installation of MacPorts. Try to follow the suggestions given to you by `\texttt{brew doctor}', deleting any problematic files (using \texttt{sudo rm} to overcome any permission issues). Note that you may wish to do a system backup first.
68046793

@@ -6808,6 +6797,19 @@ \subsection*{Errors}
68086797

68096798
%------------------------------------------------
68106799

6800+
\section{HOW-TO ... Windows(!) muffin}\label{how-to-redhat}
6801+
\vspace{2mm}
6802+
6803+
%------------------------------------------------
6804+
6805+
TBA ...
6806+
6807+
%------------------------------------------------
6808+
6809+
\newpage
6810+
6811+
%------------------------------------------------
6812+
68116813
\section{HOW-TO ... (general)}\label{how-to-1}
68126814
\vspace{2mm}
68136815

0 commit comments

Comments
 (0)