Ejemplo n.º 1
0
 def setupHelp(self, help):
     import nargs
     help.addArgument(
         'BLAS/LAPACK', '-with-blas-lapack-dir=<dir>',
         nargs.ArgDir(
             None, None,
             'Indicate the directory containing BLAS and LAPACK libraries'))
     help.addArgument(
         'BLAS/LAPACK',
         '-with-blas-lapack-lib=<libraries: e.g. [/Users/..../liblapack.a,libblas.a,...]>',
         nargs.ArgLibrary(
             None, None, 'Indicate the library containing BLAS and LAPACK'))
     help.addArgument(
         'BLAS/LAPACK',
         '-with-blas-lib=<libraries: e.g. [/Users/..../libblas.a,...]>',
         nargs.ArgLibrary(None, None,
                          'Indicate the library(s) containing BLAS'))
     help.addArgument(
         'BLAS/LAPACK',
         '-with-lapack-lib=<libraries: e.g. [/Users/..../liblapack.a,...]>',
         nargs.ArgLibrary(None, None,
                          'Indicate the library(s) containing LAPACK'))
     help.addArgument(
         'BLAS/LAPACK',
         '-download-c-blas-lapack=<no,yes,ifneeded,filename>',
         nargs.ArgDownload(
             None, 0, 'Automatically install a C version of BLAS/LAPACK'))
     help.addArgument(
         'BLAS/LAPACK',
         '-download-f-blas-lapack=<no,yes,ifneeded,filename>',
         nargs.ArgDownload(
             None, 0,
             'Automatically install a Fortran version of BLAS/LAPACK'))
     return
Ejemplo n.º 2
0
 def setupHelp(self, help):
     import nargs
     help.addArgument(
         'BLAS/LAPACK', '-with-blas-lapack-dir=<dir>',
         nargs.ArgDir(
             None, None,
             'Indicate the directory containing BLAS and LAPACK libraries'))
     help.addArgument(
         'BLAS/LAPACK',
         '-with-blas-lapack-lib=<libraries: e.g. [/Users/..../liblapack.a,libblas.a,...]>',
         nargs.ArgLibrary(
             None, None, 'Indicate the library containing BLAS and LAPACK'))
     help.addArgument(
         'BLAS/LAPACK',
         '-with-blas-lib=<libraries: e.g. [/Users/..../libblas.a,...]>',
         nargs.ArgLibrary(None, None,
                          'Indicate the library(s) containing BLAS'))
     help.addArgument(
         'BLAS/LAPACK',
         '-with-lapack-lib=<libraries: e.g. [/Users/..../liblapack.a,...]>',
         nargs.ArgLibrary(None, None,
                          'Indicate the library(s) containing LAPACK'))
     help.addArgument(
         'BLAS/LAPACK', '-with-blas-lapack-suffix=<string>',
         nargs.ArgLibrary(
             None, None,
             'Indicate a suffix for BLAS/LAPACK subroutine names.'))
     help.addArgument(
         'BLAS/LAPACK', '-known-64-bit-blas-indices=<bool>',
         nargs.ArgBool(None, 0, 'Indicate if using 64 bit integer BLAS'))
     return
Ejemplo n.º 3
0
 def setupHelp(self, help):
   config.package.Package.setupHelp(self,help)
   import nargs
   help.addArgument('BLAS/LAPACK', '-with-blas-lib=<libraries: e.g. [/Users/..../libblas.a,...]>',    nargs.ArgLibrary(None, None, 'Indicate the library(s) containing BLAS'))
   help.addArgument('BLAS/LAPACK', '-with-lapack-lib=<libraries: e.g. [/Users/..../liblapack.a,...]>',nargs.ArgLibrary(None, None, 'Indicate the library(s) containing LAPACK'))
   help.addArgument('BLAS/LAPACK', '-with-blaslapack-suffix=<string>',nargs.ArgLibrary(None, None, 'Indicate a suffix for BLAS/LAPACK subroutine names.'))
   help.addArgument('BLAS/LAPACK', '-with-64-bit-blas-indices', nargs.ArgBool(None, 0, 'Try to use 64 bit integers for BLAS/LAPACK; will error if not available'))
   help.addArgument('BLAS/LAPACK', '-known-64-bit-blas-indices=<bool>', nargs.ArgBool(None, 0, 'Indicate if using 64 bit integer BLAS'))
   return
Ejemplo n.º 4
0
 def setupHelp(self, help):
     import nargs
     PETSc.package.NewPackage.setupHelp(self, help)
     help.addArgument('X11', '-with-x=<bool>',
                      nargs.ArgBool(None, 1, 'Activate X11'))
     help.addArgument(
         'X11', '-with-x-include=<include dir>',
         nargs.ArgDir(None, None, 'Specify an include directory for X11'))
     help.addArgument(
         'X11', '-with-x-lib=<libraries: e.g. [/Users/..../libX11.a,...]>',
         nargs.ArgLibrary(None, None, 'Specify X11 library file'))
     help.addArgument('X11', '-with-xt=<bool>',
                      nargs.ArgBool(None, 0, 'Activate Xt'))
     return
Ejemplo n.º 5
0
 def setupHelp(self, help):
     '''Prints help messages for the package'''
     import nargs
     help.addArgument(
         self.PACKAGE, '-with-' + self.package + '=<bool>',
         nargs.ArgBool(None, self.required,
                       'Indicate if you wish to test for ' + self.name))
     help.addArgument(
         self.PACKAGE, '-with-' + self.package + '-dir=<dir>',
         nargs.ArgDir(
             None, None, 'Indicate the root directory of the ' + self.name +
             ' installation'))
     if self.download and not self.download[0] == 'redefine':
         help.addArgument(
             self.PACKAGE,
             '-download-' + self.package + '=<no,yes,ifneeded,filename>',
             nargs.ArgDownload(None, 0,
                               'Download and install ' + self.name))
     if hasattr(self, 'usePkgConfig'):
         help.addArgument(
             self.PACKAGE, '-with-' + self.package + '-pkg-config=<dir>',
             nargs.ArgDir(
                 None, None, 'Indicate the root directory of the ' +
                 self.name + ' installation'))
     help.addArgument(
         self.PACKAGE, '-with-' + self.package + '-include=<dir>',
         nargs.ArgDir(
             None, None, 'Indicate the directory of the ' + self.name +
             ' include files'))
     help.addArgument(
         self.PACKAGE, '-with-' + self.package +
         '-lib=<libraries: e.g. [/Users/..../lib' + self.package +
         '.a,...]>',
         nargs.ArgLibrary(None, None,
                          'Indicate the ' + self.name + ' libraries'))
     return