Additional configuration > Moab Accounting Manager configuration options

Moab Accounting Manager configuration options

The following is a list of configure options:

Option Description
-h,--help Run ./configure --help to see the list of configure options.
--prefix=PREFIX Base installation directory where all subdirectories will be installed unless otherwise designated (defaults to /opt/mam).
--exec-prefix=EPREFIX Directory where architecture-depended subdirectories (such as bin, sbin, lib) will be installed (defaults to EPREFIX).
--bindir=DIR Client scripts and user executables will be installed to this subdirectory (defaults to EPREFIX/bin).
--sbindir=DIR System scripts and binaries (including goldd, goldsh, gauth) will be installed to this subdirectory (defaults to EPREFIX/sbin).
--libdir=DIR Object code libraries and Gold Perl modules will be installed in this subdirectory (defaults to EPREFIX/lib).
--localstatedir=DIR Home directory where per-configuration subdirectories (such as etc, log, data) will be installed (defaults to PREFIX).
--sysconfdir=DIR Subdirectory where configuration and stateful files reside (defaults to LOCALSTATEDIR/etc).
--datarootdir=DIR Directory where documentation subdirectories (such as doc, man) reside (defaults to PREFIX/share)
--docdir=DIR Directory where application documentation (pdf, html) resides (defaults to DATAROOTDIR/doc/mam).
--with-db-name=NAME Name of the SQL database that the server will sync with (defaults to mam).
--with-db-type=Pg|mysql|SQLite Use --with-db-type to specify the database server type you intend to use with MAM. Currently only PostgreSQL (Pg), MySQL (mysql) and SQLite (SQLite) have been tested for use with MAM. Postgres and MYSQL are external databases which runs in a distinct (possibly remote) process and communicates over sockets while SQLite is an embedded database with SQL queries being performed within the goldd process itself through library calls. Initial testing has shown SQLite to be at least as fast as PostgreSQL for small installations. The default is to use PostgreSQL.
--with-user=USER Use --with-user to specify the accounting admin userid that the server will run under and who will have full administrative privileges (defaults to the user running the configure command). It is recommended that this be a non-privileged user for the highest security.
--with-promotion=gauth|suidperl Command-line clients and scripts using the API need to use a security promotion method to authenticate and encrypt the communication using the symmetric key. The default is suidperl if it is installed on the system, otherwise the default is gauth. See the description for the security.promotion configuration parameter in the Client configuration section for more information about the two security promotion methods.
--with-gold-libs=local|site Use --with-gold-libs to indicate whether you want to install the Gold modules in a local gold directory (${exec_prefix}/lib) or in the default system site-perl directory (defaults to local).
--with-cgi-bin=DIR If you intend to use the web GUI, use --with-cgi-bin to specify the directory where you want the Moab HPC Suite – Enterprise Edition CGI files to reside (defaults to /var/www/cgi-bin/mam).
--with-context=hpc|cloud By specifying the accounting context some client commands can be adjusted to show the proper fields for that context. The default is hpc.
--with[out]-gui=SKIN If you do not intend to use the CGI web GUI, you can specify --without-gui to not install the CGI scripts. Otherwise, the default is to install the GUI CGI scripts using the viewpoint skin. You may supply an option argument to specify the desired skin (either viewpoint or legacy). The viewpoint skin design is more compatible with Viewpoint (if you intend to access the web GUI from within Moab Viewpoint). The legacy skin is normally used standalone. The default is viewpoint.
--without-init

If you do not intend to use the mam init.d service, you can use --without-init to specify that Moab HPC Suite should not install the mam init.d script. Otherwise, the script is installed by default.

--without-profile If you do not intend to use the mam profile.d environment scripts, you can use --without-profile to specify that Moab HPC Suite should not install the mam profile.d scripts. Otherwise, the scripts are installed by default.
--with-sha=SHA|SHA1 Allows you to override the auto-detected SHA Digest Perl (whether Digest::SHA1 or Digest::SHA) that should be used for your system.