Skip to content

Installation

Justin M. LaPre edited this page Aug 16, 2013 · 9 revisions

Getting started

ROSS can be installed quickly by following these simple steps:

  • Download the source:

    git clone https://github.com/carothersc/ROSS.git

  • Create a new rossnet-build directory:

    mkdir rossnet-build

  • Change directories to rossnet-build:

    cd rossnet-build

  • Set the following variables

    export ARCH=x86_64

    export CC=mpicc

  • We use CMake to build rossnet. Make sure it is installed. Then do one of:

  • To build ROSS with ROSS models as most students will do, use the command:

    cmake -DROSS_BUILD_MODELS=ON ../ROSS

  • Or if you would prefer to build ROSS without the models, run the build-script shell script, located within the rossnet directory:

../ROSS/build-script

  • Optional Test the build

    make test All of the tests should pass

Once everything has built correctly, we can construct a simple model as an example on how to use the ROSS framework. Continue on to the section Constructing the Model or you can jump straight to the section Running the Simulator and skip a little background on developing models.

Running on CCNI Blue Gene

  • Login to the landing pad

  • Change to your project directory on either the large or small

  • Download the source from svn

    git clone https://github.com/gonsie/ROSS.git

  • Login to the Front End Node

    ssh fen

  • Change to the directory you downloaded ROSS to

  • Create and change to a build directory

    mkdir rossnet-build

    cd rossnet-build

  • If using the BGQ:

    module load xl (must be done before the next step)

  • Set the following variables

    ARCH=bgl or ARCH=bgq

    CC=mpixlc

    PATH=$PATH:/gpfs/small/RSNT/shared/usr/local/bin

  • Build using cmake (try cmake28 on the Q)

    cmake ../ROSS

    make -j 12

  • Create a run file

#!/bin/sh
mpirun -np 1024 -mode VN -cwd /gpfs/large/RSNT/RSNTgons/rossnet-build/ross/models/gates gates --synch=2 --end=100
  • Submit your job

    sbatch -p bigmem --nodes 512 ./runfile.sh

  • Check up on your submitted jobs

    squeue

  • See how your job is running, note: command never terminates, even if job completes

    tail -f slurm-JOBID.out

  • Cancel a job

    scancel jobid

Clone this wiki locally