Spartan '14

Spartan 14 v1.1.11 has passed testing on the following Linux distributions...


Installation instructions for Spartan '14 version 1.1.11. Release Notes

Spartan '14 for Linux is available only for 64-bit Intel EM64T or AMD64 architectures.

============================================================
Installation for Desktop, Server, or Cluster Head Node...
============================================================

Step 1:  Download and install Spartan '14 version 1.1.11   (466MB)

If using Firefox choose the 'Save File' option when prompted.

Now, unpack the compressed tar archive into any directory. You will use the following commands. (assuming the archive was downloaded to "/tmp" and the program is to be installed into the "/usr" directory)

cd /usr

tar -xvzf  /tmp/spar14.1.11_x86-64.tgz

Next, run the installation program. The installation program must be run as the root user to allow Spartan to be configured for all users.

cd spartan14.1_x86-64

./sp_install

Step 2:  Download and install Spartan Spectra and Properties Database, SSPD version 3.0.0  (12GB)

If using Firefox choose the 'Save File' option when prompted.

Now, unpack the compressed tar archive. You will use the following commands (assuming the archive was downloaded to your 'HOME' downloads folder).

cd $HOME/Downloads

tar -xvzf SSPDV300.tgz

Next, run the installation script. The installation program must be run as the root user to allow the database to be configured for all users.

cd SSPDV300

sh spinstalldb.sh


Step 3:  Download and install Spartan Molecular Database, SMD version 3.0.0 (2.5GB)

If using Firefox choose the 'Save File' option when prompted.

Now, unpack the compressed tar archive. You will use the following commands (assuming the archive was downloaded to your 'HOME' downloads folder).

cd $HOME/Downloads

tar -xvzf SMDV300.tgz

Next, run the installation script. The installation program must be run as the root user to allow the database to be configured for all users.

cd SMDV300

sh spinstalldb.sh

============================================================
Installation for Cluster Compute Node...
============================================================

Further configuration on the head node...

Step 1:  Obtain the group id of the sparsrvc group...

getent group sparsrvc | cut -d: -f3


Step 2:  Obtain the user id of the sparsrvc user...
 
getent passwd sparsrvc | cut -d: -f3


Step 3:  Activate the network license on the head node to provide licenses to the compute nodes...

spartan14 --license --server

If a firewall is enabled, open port 1947 (udp and tcp) to allow the compute nodes to access the license manager on the head node.

Perform either Step 4a or 4b
Step 4a:  Export the directory '/var/spartan/spartanrc/spartan14/SpartanServerRepository' to the compute nodes.

Step 4b:  Alternatively, move the /var/spartan/spartanrc/spartan14/SpartanServerRepository directory to a directory shared with the compute nodes and then create a symbolic link to it.

mv /var/spartan/spartanrc/spartan14/SpartanServerRepository {SHARED_DIRECTORY}

ln -s {SHARED_DIRECTORY}/SpartanServerRepository       /var/spartan/spartanrc/spartan14/SpartanServerRepository

On each compute node..


Step 1:  During installation of Spartan '14, the installer will create the Spartan Compute Service group and user, sparsrvc.  The sparsrvc group and user will be assigned the next available group id and user id.  Since the group and user id must be kept in sync with the head node,  run the following commands to setup the sparsrvc group and user prior to installing Spartan '14 on the compute node.

groupadd --gid {GID_FROM_HEADNODE} --system sparsrvc

useradd --uid {UID_FROM_HEADNODE} --system --gid sparsrvc --comment "Spartan Compute Service" -M --home "/var/spartan" --shell "/bin/bash" sparsrvc


Step 2:   Download and install Spartan '14 version 1.1.11 (64 bit)

cd /usr

tar -xvzf /tmp/spar14.1.11_x86-64.tgz

cd spartan14.1_x86-64/

./sp_install --cluster-node --license-type network --license-server {IP address or FQDN of the head node}


Step 3:   Check the license on the cluster node by running the following command...

spartan14 --license-check --cluster-node

Perform either Step 4a or 4b
Step 4a:  Make the Spartan molecule data submitted to the head node available to the compute node.  The path must be the same on the head node and the compute node.

cd /var/spartan/spartanrc/spartan14

mkdir SpartanServerRepository

mount -t nfs {HEADNODE_HOSTNAME}:/var/spartan/spartanrc/spartan14/SpartanServerRepository 

/var/spartan/spartanrc/spartan14/SpartanServerRepository


Step 4b:   Alternatively, create a symbolic link if server repository was moved to a directory shared with the compute node.

ln -s {SHARED_DIRECTORY}/SpartanServerRepository /var/spartan/spartanrc/spartan14/SpartanServerRepository