After downloading the Ninf-G software and ensuring the above
requirements, perform the following steps.
The Ninf-G software is available for UNIX/UNIX-like operating systems. All
of the client and server software except the Globus toolkit is bundled into
one tar-gzipped file.
We assume that all of the Globus components work properly beforehand. The Globus
toolkit is available from the Globus project. The Ninf-G distribution
tar file is available from the Ninf
homepage.
Instruction steps are as below:
% gunzip -c ng-latest.tgz | tar xvf -This creates a directory called ng , which makes up the source tree along with its subdirectories.
% cd ng/ %./configureThis aids in the build process by providing host-specific software information to identify compilers and other tools to be used during compilation, and allows you to deploy the system in an easy way.
% ./configure --prefix=/usr/local/ng --with-globus=/usr/local/globus --with-globusVersion=1This example defines the following required arguments:
% ./configure --helpWhen using Globus Ver.1, --with-globusVersion=1 option must be specified. Version 2 is used as a default value of Globus Version.S
% makeNinf-G uses a configure script generated by GNU autoconf to produce makefiles. If you have POSIX make program then the makefiles generated by configure will try to take advantage of POSIX make features. If your make is unable to process the makefiles while building you may have a broken make. Should make file during the build, try using GNU make.
% make install
% cd ng/bin % ./server_install
0 cat ${GLOBUS_DEPLOY_PATH}/var/gridrpc/*.ldif
include ${GLOBUS_LOCATION}/etc/grpc.schemaThe line should be put just below the following line.
include ${GLOBUS_LOCATION}/etc/grid-info-resource.schema
% ${GLOBUS_LOCATION}/sbin/SXXGris stop
% ${GLOBUS_LOCATION}/sbin/SXXGris start
Available options to be used for configuration can be listed by typing
% ./configure --help
The following is detailed information on the options to the configure script.
Option | Description |
--cache-file=FILE | cache test results in FILE |
--help | print this message |
--no-create | do not create output files |
--quiet, --silent | do not print `checking...' messages |
--version | print the version of autoconf that created configure |
These options specify where Ninf-G objects will be placed.
Option | Description |
--prefix=PREFIX | install architecture-independent files in PREFIX [/usr/local] |
--exec-prefix=EPREFIX | install architecture-dependent files in EPREFIX [same as prefix] |
--bindir=DIR | user executables in DIR [EPREFIX/bin] |
--sbindir=DIR | system admin executables in DIR [EPREFIX/sbin] |
--libexecdir=DIR | program executables in DIR [EPREFIX/libexec] |
--datadir=DIR | read-only architecture-independent data in DIR [PREFIX/share] |
--sysconfdir=DIR | read-only single-machine data in DIR [PREFIX/etc] |
--sharedstatedir=DIR | modifiable architecture-independent data in DIR [PREFIX/com] |
--localstatedir=DIR | modifiable single-machine data in DIR [PREFIX/var] |
--libdir=DIR | object code libraries in DIR [EPREFIX/lib] |
--includedir=DIR | C header files in DIR [PREFIX/include] |
--oldincludedir=DIR | C header files for non-gcc in DIR [/usr/include] |
--infodir=DIR | info documentation in DIR [PREFIX/info] |
--mandir=DIR | man documentation in DIR [PREFIX/man] |
--srcdir=DIR | find the sources in DIR [configure dir or ..] |
--program-prefix=PREFIX | prepend PREFIX to installed program names |
--program-suffix=SUFFIX | append SUFFIX to installed program names |
--program-transform-name=PROGRAM | run sed PROGRAM on installed program names |
Option | Description |
--build=BUILD | configure for building on BUILD [BUILD=HOST] |
--host=HOST | configure for HOST [guessed] |
--target=TARGET | configure for TARGET [TARGET=HOST] |
In general, these options take the following forms.
Option | Description |
--disable-FEATURE | do not include FEATURE (same as --enable-FEATURE=no) |
--enable-FEATURE[=ARG] | include FEATURE [ARG=yes] |
--with-PACKAGE[=ARG] | use PACKAGE [ARG=yes] |
--without-PACKAGE | do not use PACKAGE (same as --with-PACKAGE=no) |
--x-includes=DIR | X include files are in DIR |
--x-libraries=DIR | X library files are in DIR |
--enable and --with | options recognized: |
--with-globusDir=DIR | specify where Globus is installed (GLOBUS_LOCATION (for GT2) or GLOBUS_INSTALL_PATH (for Globus Ver.1) environmental variable default) |
--with-globusFlavor=FLAVOR | specify Globus runtime library flavor. |
--with-globusVersion=VERSION(1 or 2) | specify the version of the Globus Toolkit (2 is default). |
--with-cc=CC | specify C compiler to use (cc default) |
--with-opt=OPT | specify C compiler options for optimization |
--with-debug=OPT | specify C compiler options for debuggable executaable file creation |
--with-cppflag=OPT | specify C preprocessor options |
--enable-gcc | allow use of gcc if available |
--enable-debug | enable generate executable with debug symbol (false default). |
@