Versions Compared

Key

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

...

  1. Open Windows command line (type cmd in start menu) / mac terminal
  2. Type ssh  <UNIX_USERNAME>@s3dflogin.slac.stanford.edu
  3. Enter UNIX password
  4. (You’re in! But to do anything useful, ssh away from login node.)
  5. ssh into iana: ssh iana          (Now you can do something) Iana is one of the interactive compute nodes for general tasks. Please don't run any intensive compute tasks on iana.


Accessing AD and FACET Resources

For now there are two types of shared resources: coact manages SLURM on S3DF which is what is used to submit batch jobs and allows access to CPUs and GPUs. Shared storage/data is managed via posix on RHEL. When you submit a request to be added to the S3DF FACET facility someone from FACET will manually add you to the posix that allows write privileges to FACET shared storage. Please confirm with your supervisor or FACET contact which resources (AD or FACET or both or other) you should request access to. Resources on S3DF are divided up into "facilities" and "repos".

How to request to be added to the AD and FACET facilities

Login to coact using your SLAC unix account. On the top of the bar is a "repos", select that.

...

  • Select "Request Access to Facility" and select "AD" from the drop down and submit.
  • When you're part of the AD facility, you can request access to "beamphysics" by selecting "Request Repo Membership" and entering "beamphysics" then on the drop down selecting "AD" and submitting.
  • To be added to the posix group for beamphysics see direction here, under prerequisites: Getting started on s3df

First time only - setup Conda

  1. ssh to an interactive cluster
  2. Code Block
    ssh iana
  3. run the miniconda setup script
  4. These four commands quickly and quietly install the latest 64-bit version of the installer and then clean up after themselves. To install a different version or architecture of Miniconda for Linux, change the name of the .sh installer in the wget command.

    Code Block
    mkdir -p ~/miniconda3
    wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
    bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
    rm -rf ~/miniconda3/miniconda.sh


     initialize miniconda for bash 

    Code Block
    ~/miniconda3/bin/conda init bash
    
    
  5. create your a conda env
  6. Code Block
    conda create -n <NAME> python=3.11
    conda activate <NAME>
    #install some packages
    conda install numpy scipy matplotlib h5py jupyterlab
    
    
    

More information on conda:

ARD's S3DF + conda + beamphysics tutorial and Getting Started on s3df with Python/Jupyter

...