Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

*** Make sure that Prof. Keller has added you to both the spin and spinquest groups in Rivanna. ***

Using

...

Tensorflow with BKM2002-Formulation


1.  Copy the sample files from the following Rivanna folder "/project/ptgroup/ANN_scripts/BKM-Formulation-Test/BKM-tf"
       cd  /project/ptgroup/ANN_scripts/BKM-Formulation-Test/BKM-tf

2. Run the following commands on your terminal
                    module load anaconda/2020.11-py3.8
                    module load singularity/3.7.1
                    module load tensorflow/2.1.0-py37
                     following step is needed to run only once (it will copy the relevant .sif file to your /home directory)
                    cp  $$CONTAINERDIR/tensorflow-2.1.0-py37.sif /home/$USER  

 (make sure that you have  the same module loads included in your grid.slurm file)

3. Run the following command to submit the job
    ./jobscript.sh <Name_of_Job> <Number_of_Replicas>

example: 
./jobscript.sh CFF_BKM_tf_Test 10

Using PyTorch with BKM2002-Formulation



1.  Copy the sample files from the following Rivanna folder "/project/ptgroup/ANN_scripts/BKM-Formulation-Test/BKM-PyTorch"
      $        cd  /project/ptgroup/ANN_scripts/BKM-Formulation-Test/BKM-PyTorch

2. Run the following commands on your terminal
                   $                     module load anaconda/2020.11-py3.8
                   $                     module load singularity/3.7.1
                   $     module load pytorch/1.58.1
                   $ cp $CONTAINERDIR                     following step is needed to run only once (it will copy the relevant .sif file to your /home directory)
                    cp  $$CONTAINERDIR/pytorch-1.58.1.sif /home/$USER

 (make sure that you have  the same module loads included in your grid.slurm file)

...

example:  $ ./jobscript.sh CFF_BKM_PyTorch_Test 10


Note:
If you download the code from GitHub to a Windows machine and then if you upload those files to Rivanna; then you will need to do the following steps

...