Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sundials-config(1) [debian man page]

sundials-config(1)						     SUNDIALS							sundials-config(1)

sundials-config - returns required flags for linking to SUNDIALS libraries SYNOPSIS
sundials-config -m {cvode|cvodes|ida|kinsol} -t {s|p} -l {c|f} [-s {libs|cppflags}] [-hv] DESCRIPTION
sundials-config provides a way to obtain various configuration options for compiling programs that use SUNDIALS OPTIONS
-m {cvode|cvodes|ida|kinsol} Select the SUNDIALS module -t {s|p} Use serial of parallel vectors -l {c|f} Use C or Fortran -s {libs|cppflags} Show linking flags or C preprocessor flags (show both of no option is given) -h Get usage and options information -v View the script NOTES
-lf is not valid for -m cvodes -s cppflags returns an empty string for -l f AUTHOR
Radu Serban <> This manual page was written by Andrey Romanenko for the Debian system (but may be used by others). Permission is granted to copy, dis- tribute and/or modify this document under the terms of the &gnu; General Public License, Version 2 any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. SEE ALSO
SUNDIALS Documentation 2006-07-25 sundials-config(1)

Check Out this Related Man Page

SC-CONFIG(1)						      General Commands Manual						      SC-CONFIG(1)

sc-config - script to get information about the installed version of SC SYNOPSIS
sc-config [--prefix[=DIR] ] [--exec-prefix[=DIR] ] [--version] [--libs] [--cppflags] [--cc] [--cflags] [--cxx] [--cxxflags] [--f77] [--f77flags] DESCRIPTION
The sc-config program can be used to obtain the compilers, compiler options and libraries needed to use the SC (Scientific Computing) tool- kit from your program. OPTIONS
The sc-config program returns information about how SC was compiled and installed. The following information is available: --prefix The directory where SC is installed. --version The version of SC. --libdir The directory were the libraries are found. --libs The libraries and library paths needed to link. --cppflags The include directories needed to build. --cc The C compiler. --cflags The C compiler flags. --cxx The C++ compiler. --cxxflags The C++ compiler flags. --f77 The FORTRAN 77 compiler. --f77flags The FORTRAN 77 compiler flags. EXAMPLES
To use the sc-config program to link your executable to SC, use a Makefile for GNU make similar to the following: SCCONFIG = /usr/bin/sc-config CXX := $(shell $(SCCONFIG) --cxx) CXXFLAGS := $(shell $(SCCONFIG) --cxxflags) CPPFLAGS := $(shell $(SCCONFIG) --cppflags) LIBS := $(shell $(SCCONFIG) --libs) myprog: myprog.o $(CXX) $(CXXFLAGS) -o $@ $^ $(LIBS) Version 2 15 Feb 2001 SC-CONFIG(1)
Man Page

2 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Capture linking failures

Hi all, I have a script file that has numerous linking commands (ln -s) and currently there is no checking to see if the linking is successful or not and I need to implement something that checks if any of the linking failed and report a failure. The method I can think of is a small function... (3 Replies)
Discussion started by: zmfcat1
3 Replies

2. Cybersecurity

ida-python script

I am writing a python script to add comment to the result of ida pro. My question is how to add my comment to the area of the assemble codes text? I remember there is a simple function to realize this, but don't know its name now... (0 Replies)
Discussion started by: Henryyy
0 Replies