QuickStart Python

Python is an interpreted high-level general-purpose programming language. Python's design philosophy emphasizes code readability with its notable use of significant indentation.

  • Be sure vpn-groups selected when you connect.
  • SSH your_netid@hpc.kennesaw.edu
  • string1 = 'Hello'
    string2 = ' World'
    joined_string = string1 + string2
    print(joined_string)
  • #!/bin/bash
    #PBS -l nodes=1:ppn=1
    #PBS -l walltime=10:00:00
    #PBS -m abe
    #PBS -M your_email@kennesaw.edu 

    JOBID=`echo $PBS_JOBID | cut -f1 -d.`

    module load Anaconda3

    eval "$(conda shell.bash hook)"

    conda activate myenv

    cd ${PBS_O_WORKDIR}

    python my_script.py

    exit 0

  • $qsub my_python.pbs