Skip to content

Commit

Permalink
Rename main module to cadet-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
jbreue16 committed Nov 22, 2024
1 parent 71ab929 commit b88b3fa
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ jobs:

- name: Verify installation
run: |
./build/install/bin/chromatogram --version
./build/install/bin/cadet-cli --version
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,6 @@ Suppose your model is contained in the HDF5 file `model.h5`, then you can do the
* Compute the chromatogram via

```
chromatogram.exe model.h5 -o chromatogram.csv -e 1e-100 -p 250 -P 20 -t 4
cadet-cli.exe model.h5 -o chromatogram.csv -e 1e-100 -p 250 -P 20 -t 4
```
where no extrapolation method is used and, hence, the convergence detection tolerances are set to 0. This command also requests the usage of 250 decimal digits precision arithmetics (but only 20 digits of them are written to file), parallelization using 4 threads, and the total error to be less than 10^(-100). Extrapolation is enabled by adding `-x MET` to the command line, where `MET` is one of `ide`, `ads`, `wem`, `wrm`, `iad`, `lum`, `ltm`, `ibt`, `btm`, `nam`, `rem`, or `sgr`. The results are written to the file `chromatogram.csv`.
16 changes: 8 additions & 8 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ target_include_directories(casema_io PUBLIC



add_executable(chromatogram $<TARGET_OBJECTS:casema_common> $<TARGET_OBJECTS:casema_io> ProgressBar.cpp chromatogram.cpp)
target_link_libraries(chromatogram PUBLIC CASEMA::CompileOptions PRIVATE GMP::GMP MPFR::MPFR MPC::MPC Eigen3::Eigen)
target_include_directories(chromatogram PUBLIC
add_executable(cadet-cli $<TARGET_OBJECTS:casema_common> $<TARGET_OBJECTS:casema_io> ProgressBar.cpp cadet-cli.cpp)
target_link_libraries(cadet-cli PUBLIC CASEMA::CompileOptions PRIVATE GMP::GMP MPFR::MPFR MPC::MPC Eigen3::Eigen)
target_include_directories(cadet-cli PUBLIC
"${CMAKE_BINARY_DIR}"
"${CMAKE_CURRENT_BINARY_DIR}"
"${CMAKE_CURRENT_SOURCE_DIR}"
Expand All @@ -144,19 +144,19 @@ target_include_directories(chromatogram PUBLIC

if (OpenMP_FOUND)
target_link_libraries(casema_common PUBLIC OpenMP::OpenMP_CXX)
target_link_libraries(chromatogram PUBLIC OpenMP::OpenMP_CXX)
target_link_libraries(cadet-cli PUBLIC OpenMP::OpenMP_CXX)
endif()
if (HDF5_FOUND)
target_link_libraries(casema_io PUBLIC HDF5::HDF5)
target_link_libraries(chromatogram PUBLIC HDF5::HDF5)
target_link_libraries(cadet-cli PUBLIC HDF5::HDF5)
endif()

# ---------------------------------------------------
# Set installation related stuff
# ---------------------------------------------------

install(CODE "MESSAGE(\"\nInstall CHROMATOGRAM\n\")")
install(TARGETS chromatogram RUNTIME)
install(CODE "MESSAGE(\"\nInstall cadet-cli\n\")")
install(TARGETS cadet-cli RUNTIME)

## Info message
message(STATUS "Added CHROMATOGRAM module")
message(STATUS "Added cadet-cli module")
File renamed without changes.

0 comments on commit b88b3fa

Please sign in to comment.