Skip to content

Commit

Permalink
Release 1.2.1 (#440)
Browse files Browse the repository at this point in the history
* Clarify dependencies in manual

* Set release version number

* Correct compiler version

* Update changelog

* Update Manual
  • Loading branch information
rs028 committed Jan 18, 2021
1 parent be547fc commit 9372a30
Show file tree
Hide file tree
Showing 26 changed files with 43 additions and 33 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
@@ -1,5 +1,14 @@
# AtChem2 - CHANGELOG

## v1.2.1 (January 2021)

- new environment variable `ASA` (aerosol surface area)
- fix bug in the C-binding for `gfortran` version 9 and above
- remove tabs from the configuration files
- update the Travis configuration file
- tidy the comments and printout messages of various source files
- update the manual

## v1.2 (May 2020)

- implement argument parser and named arguments for the `atchem2` executable
Expand All @@ -20,7 +29,7 @@
- new script to set the version of AtChem2 before a release (`tools/version.sh`)
- minor improvements to the install procedure
- move the example chemical mechanism file to the `mcm`/ directory, and add a minimal .fac file (`mechanism_skel.fac`)
- tidy and improve comments of various source files and scripts
- tidy and improve comments in various source files and scripts
- minor fixes and updates

## v1.1.1 (January 2019)
Expand Down
Binary file modified doc/AtChem2-Manual.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion doc/latex/AtChem2-Manual.tex
Expand Up @@ -51,7 +51,7 @@
\hspace{0.05\textwidth}
% Box for the title page text
\parbox[b]{0.75\textwidth}{
{\Huge\bfseries AtChem2\\[0.5\baselineskip] v1.3-dev}\\[2\baselineskip] % Title
{\Huge\bfseries AtChem2\\[0.5\baselineskip] v1.2.1}\\[2\baselineskip] % Title
{\LARGE\textit{User Manual}}\\[4\baselineskip] % Subtitle
{\Large\textsc{R. Sommariva\\S. Cox}} % Author(s)
\vspace{0.5\textheight}\\
Expand Down
17 changes: 9 additions & 8 deletions doc/latex/Installation.tex
Expand Up @@ -22,12 +22,12 @@ \section{Requirements} \label{sec:requirements}

\begin{itemize}
\item Fortran -- the model compiles with GNU \texttt{gfortran}
(version 4.8.5) and with Intel \texttt{ifort} (version 17.0)\\
(version 4.8 and above) and with Intel \texttt{ifort} (version 17.0)\\
$\hookrightarrow$ default compiler: \texttt{gfortran}
\item Python~\footnote{All Python scripts used in AtChem2 work equally
with Python v2 and v3. Support for Python v2 may be removed in
future versions of AtChem2.}
\item cmake
with Python v2 and v3. Support for Python v2 will be removed in
future versions of AtChem2.}
\item make and cmake
\item Ruby (optional)
\end{itemize}

Expand All @@ -38,9 +38,9 @@ \section{Requirements} \label{sec:requirements}
AtChem2 has the following dependencies:

\begin{itemize}
\item BLAS and LAPACK
\item CVODE
\item openlibm
\item BLAS and LAPACK
\item numdiff (optional)
\item FRUIT (optional)
\end{itemize}
Expand Down Expand Up @@ -99,9 +99,10 @@ \section{Dependencies} \label{sec:dependencies}
anywhere and given any name. In this manual, the \depdir\ is
assumed to be: \texttt{\$HOME/atchem-lib/}.

Before installing the dependencies, make sure that a Fortran compiler,
Python, cmake and (optionally) Ruby are installed on the operating
system, as explained in Sect.~\ref{sec:requirements}.
Before installing the dependencies, make sure that a Fortran compiler
(e.g., \texttt{gfortran}), Python, make, cmake and (optionally) Ruby
are installed on the operating system, as explained in
Sect.~\ref{sec:requirements}.

\subsection{Required dependencies} \label{subsec:required-dependencies}

Expand Down
2 changes: 1 addition & 1 deletion src/atchem2.f90
Expand Up @@ -150,7 +150,7 @@ end subroutine FCVFUN
rout(:) = -1.0_DP
rpar(:) = -1.0_DP

write (*, '(A)') 'AtChem2 v1.3-dev'
write (*, '(A)') 'AtChem2 v1.2.1'
write (*,*)
write (*, '(A)') '-------------'
write (*, '(A)') ' Directories'
Expand Down
4 changes: 2 additions & 2 deletions tools/version.sh
Expand Up @@ -14,8 +14,8 @@
#
# N.B.: the script MUST be run from the main directory of AtChem2.

VERS_OLD="v1.2"
VERS_NEW="v1.3-dev"
VERS_OLD="v1.3-dev"
VERS_NEW="v1.2.1"

find ./ -type f ! -name "version.sh" -print | xargs perl -pi -e "s/$VERS_OLD/$VERS_NEW/g"

Expand Down
2 changes: 1 addition & 1 deletion travis/tests/firstorder/firstorder.out.cmp
@@ -1,4 +1,4 @@
AtChem2 v1.3-dev
AtChem2 v1.2.1

-------------
Directories
Expand Down
2 changes: 1 addition & 1 deletion travis/tests/secondorder/secondorder.out.cmp
@@ -1,4 +1,4 @@
AtChem2 v1.3-dev
AtChem2 v1.2.1

-------------
Directories
Expand Down
2 changes: 1 addition & 1 deletion travis/tests/short/short.out.cmp
@@ -1,4 +1,4 @@
AtChem2 v1.3-dev
AtChem2 v1.2.1

-------------
Directories
Expand Down
2 changes: 1 addition & 1 deletion travis/tests/short_dense/short_dense.out.cmp
@@ -1,4 +1,4 @@
AtChem2 v1.3-dev
AtChem2 v1.2.1

-------------
Directories
Expand Down
2 changes: 1 addition & 1 deletion travis/tests/short_end_of_day/short_end_of_day.out.cmp
@@ -1,4 +1,4 @@
AtChem2 v1.3-dev
AtChem2 v1.2.1

-------------
Directories
Expand Down
2 changes: 1 addition & 1 deletion travis/tests/short_ext1/short_ext1.out.cmp
@@ -1,4 +1,4 @@
AtChem2 v1.3-dev
AtChem2 v1.2.1

-------------
Directories
Expand Down
2 changes: 1 addition & 1 deletion travis/tests/short_ext2/short_ext2.out.cmp
@@ -1,4 +1,4 @@
AtChem2 v1.3-dev
AtChem2 v1.2.1

-------------
Directories
Expand Down
2 changes: 1 addition & 1 deletion travis/tests/short_ext3/short_ext3.out.cmp
@@ -1,4 +1,4 @@
AtChem2 v1.3-dev
AtChem2 v1.2.1

-------------
Directories
Expand Down
2 changes: 1 addition & 1 deletion travis/tests/short_ext4/short_ext4.out.cmp
@@ -1,4 +1,4 @@
AtChem2 v1.3-dev
AtChem2 v1.2.1

-------------
Directories
Expand Down
2 changes: 1 addition & 1 deletion travis/tests/short_no_pre/short_no_pre.out.cmp
@@ -1,4 +1,4 @@
AtChem2 v1.3-dev
AtChem2 v1.2.1

-------------
Directories
Expand Down
2 changes: 1 addition & 1 deletion travis/tests/spec_no_env_yes1/spec_no_env_yes1.out.cmp
@@ -1,4 +1,4 @@
AtChem2 v1.3-dev
AtChem2 v1.2.1

-------------
Directories
Expand Down
2 changes: 1 addition & 1 deletion travis/tests/spec_no_env_yes2/spec_no_env_yes2.out.cmp
@@ -1,4 +1,4 @@
AtChem2 v1.3-dev
AtChem2 v1.2.1

-------------
Directories
Expand Down
2 changes: 1 addition & 1 deletion travis/tests/spec_yes_env_no/spec_yes_env_no.out.cmp
@@ -1,4 +1,4 @@
AtChem2 v1.3-dev
AtChem2 v1.2.1

-------------
Directories
Expand Down
@@ -1,4 +1,4 @@
AtChem2 v1.3-dev
AtChem2 v1.2.1

-------------
Directories
Expand Down
@@ -1,4 +1,4 @@
AtChem2 v1.3-dev
AtChem2 v1.2.1

-------------
Directories
Expand Down
@@ -1,4 +1,4 @@
AtChem2 v1.3-dev
AtChem2 v1.2.1

-------------
Directories
Expand Down
@@ -1,4 +1,4 @@
AtChem2 v1.3-dev
AtChem2 v1.2.1

-------------
Directories
Expand Down
2 changes: 1 addition & 1 deletion travis/tests/spec_yes_env_yes/spec_yes_env_yes.out.cmp
@@ -1,4 +1,4 @@
AtChem2 v1.3-dev
AtChem2 v1.2.1

-------------
Directories
Expand Down
@@ -1,4 +1,4 @@
AtChem2 v1.3-dev
AtChem2 v1.2.1

-------------
Directories
Expand Down
2 changes: 1 addition & 1 deletion travis/tests/static/static.out.cmp
@@ -1,4 +1,4 @@
AtChem2 v1.3-dev
AtChem2 v1.2.1

-------------
Directories
Expand Down

0 comments on commit 9372a30

Please sign in to comment.