From 5eef845790584f992a2fd55477abc0db71ffcac3 Mon Sep 17 00:00:00 2001 From: soj0018 <radim.sojka@vsb.cz> Date: Mon, 11 Sep 2017 09:55:50 +0200 Subject: [PATCH] MD syntax corrections --- docs.it4i/salomon/software/numerical-libraries/Clp.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs.it4i/salomon/software/numerical-libraries/Clp.md b/docs.it4i/salomon/software/numerical-libraries/Clp.md index da22ec341..6b376a5d0 100644 --- a/docs.it4i/salomon/software/numerical-libraries/Clp.md +++ b/docs.it4i/salomon/software/numerical-libraries/Clp.md @@ -1,18 +1,22 @@ + # Clp ## Introduction + Clp (Coin-or linear programming) is an open-source linear programming solver written in C++. It is primarily meant to be used as a callable library, but a basic, stand-alone executable version is also available. Clp (https://projects.coin-or.org/Clp) is a part of the COIN-OR (The Computational Infrastracture for Operations Research) project (https://www.coin-or.org/). ## Modules + Clp, version 1.16.10 is available on Salomon via module Clp: -```sh +```console $ ml Clp ``` The module sets up environment variables required for linking and running applications using Clp. This particular command loads the default module Clp/1.16.10-intel-2017a, Intel module intel/2017a and other related modules. ## Compiling and linking + !!! note Link with -lClp @@ -24,6 +28,7 @@ $ icc myprog.c -o myprog.x -Wl,-rpath=$LIBRARY_PATH -lClp ``` ## Example + An example of Clp enabled application follows. In this example, the library solves linear programming problem loaded from file. ```cpp @@ -45,8 +50,9 @@ int main (int argc, const char *argv[]) ``` ### Load modules and compile: + ```console ml Clp icc lp.c -o lp.x -Wl,-rpath=$LIBRARY_PATH -lClp ``` -In this example, the lp.c code is compiled using the Intel compiler and linked with Clp. To run the code, the Intel module has to be loaded. \ No newline at end of file +In this example, the lp.c code is compiled using the Intel compiler and linked with Clp. To run the code, the Intel module has to be loaded. -- GitLab