Edit NanoHive-1\bin\win32-x86\set-env.bat to reflect where you unzipped to. Check the nh-home variable. Check the jdk-path variable if you'll be running the RMI_Control plugin, otherwise you can ignore it.
The nh-devel environment variable controls whether or not to copy (newly compiled) binaries to their respective locations when NanoHive-1 is run. This is handy for development; set this to "ok", ie, set nh-devel=ok
The nh-code environment variable determines whether to copy the files from the Debug directory or the Release directory.
NanoHive-1\bin\win32-x86 directory, and run the nh batch file. You should get something like the following:
C:\Program Files\NanoHive-1\bin\win32-x86>nh
Setting environment for NanoHive-1
Setting environment for NanoHive-1
nh-code: Release
_ESP_Image.dll
The system cannot find the path specified.
AIREBO.dll
1 file(s) copied.
BasicCellTraverser.dll
1 file(s) copied.
BondCalculator.dll
1 file(s) copied.
ConsoleCommand.dll
1 file(s) copied.
MeasurementSetToFile.dll
1 file(s) copied.
MPQC_SClib.dll
1 file(s) copied.
nanoML_ImportExport.dll
1 file(s) copied.
nanorexMMP_ImportExport.dll
1 file(s) copied.
NetCDF_DataSet.dll
1 file(s) copied.
NH_SimStateImportExport.dll
1 file(s) copied.
OpenBabelImportExport.dll
1 file(s) copied.
POVRayVideo.dll
1 file(s) copied.
RAMEntityManager.dll
1 file(s) copied.
RC_Traverser.dll
1 file(s) copied.
REBO_MBM.dll
1 file(s) copied.
RMI_Control.dll
1 file(s) copied.
SocketsControl.dll
1 file(s) copied.
SocketsPIC_Control.dll
1 file(s) copied.
NanoHive.exe
1 file(s) copied.
POVRayDataLayer.exe
The system cannot find the path specified.
HiveKeeper
The system cannot find the path specified.
The system cannot find the path specified.
CppUnit.exe
The system cannot find the path specified.
TestPIP.dll
The system cannot find the path specified.
TestPIP-2.dll
The system cannot find the file specified.
NanoHive-1 (TM) Version 1.2.0 Copyright (C) 2004,2005 NanoHive-1, LLC
NanoHive-1 comes with ABSOLUTELY NO WARRANTY; for details run 'NanoHive -l'
This is free software, and you are welcome to redistribute it under certain
conditions; run 'NanoHive -l' for details.
Loading configuration file: C:\Program Files\NanoHive-1\conf\configs.txt
Logging to C:\Program Files\NanoHive-1/log/NanoHive-1.log
ConsoleCommand Version 1.2.0 started. (Press Enter to begin interactive mode.)
SocketsControl Version 1.2.0 started.Don't worry about any files that the "system cannot find" if they are plugins you haven't installed the sourcecode for.
That's it. Now go back to the ReadMe for its Where To Start section.
gunzip NanoHive-1-x.x.x.tar.gz; tar xvf NanoHive-1-x.x.x.tarNanoHive-1-x.x.x/src directory.configure script is used to set up the build and installation. You use it to determine where NanoHive-1 will be installed and what plugins to install. If you run configure with no options, it will set NanoHive-1 up to be installed under /usr/local/ and include only the plugins that don't require additional non-standard libraries (BasicCellTraverser, BondCalculator, ConsoleCommand, MeasurementSetToFile, nanoML_ImportExport, nanorexMMP_ImportExport, NH_SimStateImportExport, RAMEntityManager, RC_Traverser, REBO_MBM, and SocketsControl.) See the Plugin Reference for a description of all plugins.
Here's how to build and install the basic configuration:
$ ./configure $ make $ su $ make install
If you don't want to install as root, or can't, use the --prefix option to install in your home directory:
$ ./configure --prefix=$HOME
To install the most typically used, standard plugin set (basic plugins plus AIREBO, MPQC_SClib, NetCDF_DataSet, OpenBabelImportExport, and SocketsPIC_Control), use this configure option:
$ ./configure --enable-standard-plugin-set
The following table shows the list of options for each plugin and component allowing you fine control over what gets built and installed. For example, a popular configuration is the standard plugin set, minus the MPQC_SClib plugin, plus the POVRayVideo plugin:
$ ./configure --enable-standard-plugin-set --disable-mpqc-sclib --enable-povrayvideo
Table 2.1. NanoHive-1 Configure Script Options
| Plugin | Package | Options | Notes |
|---|---|---|---|
| ConsoleCommand | basic | --disable-console-command | Requires a curses library to build. |
| REBO_MBM | basic | --disable-rebo-mbm | Fails to build with certain compilers, for example, HP's cc/aCC. |
| AIREBO | standard | --enable-airebo, --disable-airebo | Requires a Fortran compiler to build. |
| MPQC_SClib | standard | --disable-mpqc-sclib, --enable-mpqc-sclib | Requires MPQC to build. |
| NetCDF_DataSet | standard | --disable-netcdf-dataset, --enable-netcdf-dataset | Requires netCDF to build. |
| OpenBabelImportExport | standard | --disable-openbabel, --enable-openbabel | Requires OpenBabel to build. |
| SocketsPIC_Control | standard | --disable-sockets-pic-control, --enable-sockets-pic-control | Requires libcURL to build. |
| _ESP_Image | optional | --enable-esp-image | For nanoENGINEER-1 support. Requires the GD graphics library to build. |
| POVRayVideo | optional | --enable-povrayvideo | If the GD graphics library is found, the POVRayDataLayer tool will also be built. |
| RMI_Control | optional | --enable-rmi-control | Requires Java to build. Also add the --with-jdk-prefix option to specify where Java is installed. |
Execute ./configure --help to get the complete list of configuration customization options.
Here is the directory structure of the installation assuming the default PREFIX of /usr/local.
/usr/local/
_____________________|________________________
| | | |
bin/ include/ lib/ share/NanoHive-1/
| | | |
NanoHive | NanoHive-1/<plugins> |
NanoHive-config | libNanoHiveInterface.* |
| libNanoHiveUtil.* |
| |
NanoHiveInterface/*.h |
NanoHiveUtil/*.h |
|
____________________________________|________________________
| | | | | | |
classes/ conf/ data/ doc/ examples/ include/ scripts/
| | | | | |
| | | index.html | install-examples
| | | | set-env
| | | hydrogen-abstraction/ nh
| | | cytosine-guanine/ pv
| | | nanotube-5x5/
| | | cnt-esp/
| | |
| | mpeg_encode.param.tmplt
| | simulation-1.0.1.xsd
| | displayDataLogo.png
| | _________|____________
| | | | |
| | local/ MPQC_SClib/ REBO_MBM/
| | | | |
| | | | *.d
| | | atominfo.kv
| | | basis/<basis_sets>
| | |
| | en_resultCodes.txt
| |
| configs-template.txt
|
RMI_Control.jar
PREFIX/share/NanoHive-1/scripts/install-examplesThis will create a
NanoHive-1 folder in the directory where the script is run, then copy the examples directory into it, updating example configuration paths on the fly..NanoHive-1 directory under your home directory where it puts a conf/configs.txt file and log directory.That's it. Now go back to the ReadMe for its Where To Start section.