-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ckhrulev/packaging' into dev
- Loading branch information
Showing
67 changed files
with
493 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.2-dev | ||
2.1.99 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
find_program(RST2MAN_EXECUTABLE NAMES rst2man rst2man.py) | ||
mark_as_advanced(RST2MAN_EXECUTABLE) | ||
|
||
if (RST2MAN_EXECUTABLE) | ||
find_package(UnixCommands) | ||
macro(add_manpages names) | ||
foreach(name ${names}) | ||
# Note the sed command: this fixes formatting of command-line options: rst2man | ||
# cannot handle PISM's long options with one dash. | ||
add_custom_command(OUTPUT ${name}.1.gz | ||
COMMAND ${RST2MAN_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/${name}.rst ${name}.1 | ||
COMMAND sed -i -E -e "s/(-[a-zA-Z]+)\\\\fB /\\1/" ${name}.1 | ||
COMMAND ${GZIP} -n -9 ${name}.1 | ||
DEPENDS ${name}.rst | ||
VERBATIM) | ||
|
||
install(FILES | ||
${CMAKE_CURRENT_BINARY_DIR}/${name}.1.gz | ||
DESTINATION ${CMAKE_INSTALL_MANDIR}/man1) | ||
endforeach(name) | ||
endmacro(add_manpages) | ||
|
||
add_manpages("pismr;pismv") | ||
|
||
add_custom_target(manpages ALL DEPENDS pismr.1.gz pismv.1.gz) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
This directory contains very basic manpages for most important PISM executables. | ||
|
||
To build manpages, make sure that your system has `rst2man` in the `PATH` (on | ||
Debian/Ubuntu this requires `python3-docutils`) and set `Pism_BUILD_DOCS` to "on" using | ||
CMake. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
===== | ||
pismr | ||
===== | ||
|
||
------------------------------------------------ | ||
Parallel Ice Sheet Model (PISM): prognostic runs | ||
------------------------------------------------ | ||
:Author: [email protected] | ||
:Date: 2024-2-21 | ||
:Copyright: Copyright (C) 2024 Constantine Khrulev | ||
:Version: 0.1 | ||
:Manual section: 1 | ||
:Manual group: science | ||
|
||
SYNOPSIS | ||
======== | ||
|
||
| pismr -i *input_file.nc* ... | ||
| pismr -boot_file *bootstrapping_file.nc* ... | ||
DESCRIPTION | ||
=========== | ||
|
||
``pismr`` performs an evolution run using PISM, a Parallel Ice Sheet Model. Please see the | ||
*PISM User's Manual* for details. | ||
|
||
OPTIONS | ||
======= | ||
|
||
-i input file | ||
-bootstrap enables bootstrapping mode | ||
-y run length, in model years | ||
-o output file name | ||
-help prints PISM and PETSc command-line option help; use with **grep** | ||
-verbose selects stdout verbosity level, 1 -- minimal output, 2 -- normal, 3 -- more debugging info, ... | ||
|
||
SEE ALSO | ||
======== | ||
|
||
- The *User's Manual* and other documentation online at https://www.pism.io/docs/manual | ||
|
||
- **pismv** to run some verification tests |
Oops, something went wrong.