• eResearch
    • Collaborative Technologies
      • ARDC (Australian Research Data Commons)
      • ARDC Nectar Research Cloud
      • Australian Access Federation
      • QRIScloud
      • Video Collaboration
    • Data Management
      • Research Data Management Plans
    • Data Services
      • Australian and International Data Portals
      • CQUni Research Data Storage Options
      • CQUniversity Research Data Storage
      • GEOSCIENCE DATA PORTALS
    • eResearch and Security: MFA and CyberSafety
      • Encrypting Data on Portable Devices
    • High Performance Computing
      • The History of CQU’s HPC Facilities
        • Ada Lovelace Cluster (New HPC)
        • Marie Curie Cluster (Current HPC)
        • Einstein Cluster (Decommissioned)
        • Isaac Newton HPC Facility (Decommissioned)
      • HPC User Guides and FAQs
        • Basics of working on the HPC
        • Getting started on CQUniversity’s Ada Lovelace HPC System
        • Graphical Connection to the HPC System
        • Compiling Programs (and using the optimization flags)
        • Connecting to the Marie Curie Cluster
        • Finding Installed Software
        • Frequently Asked Questions
        • Graphical connection HPC via Open On Demand
        • HPC Job Scheduler
        • HPC Trouble Shooting
        • Machine and Deep Learning
        • PBS Commands
        • PBS to Slurm Command tables (HPC Scheduler)
        • Running LLM’s on the HPC system
        • Running Python on HPC
        • Simple Unix Commands
        • Software Module Information
        • Submitting an Interactive Job
        • Transferring Files to the HPC System
        • Transferring Files to the HPC System (Ada)
        • Using Abaqus
        • Using ANSYS (Fluent) on the HPC System
        • Using APSIM
        • Using HPC Scheduler on Ada Lovelace Cluster
        • Using MATLAB
        • Using R
        • Virtualisation and Containers
      • HPC Community
      • HPC Related Links
      • HPC Sample Code Scripts
        • MATLAB Sample Scripts
        • Multiple Job Submission
        • Multiple Run Job Submission
        • PBS Job Array Submission
        • R Sample Scripts
        • Sample PBS Submission Script
        • Sample Slurm Submission Script
      • HPC Software
        • Mathematica Sample Scripts
    • Research Software
    • Scholarly Communication
    • Survey Tools
    • Training
      • QCIF – Queensland Cyber Infrastructure Foundation
      • Teaching Lab Skills for Scientific Computing

eResearch

HPC Sample Code and Scripts

On the CQ University HPC systems, a number of of sample code and scripts have been developed to assist users using the HPC system.

All sample scripts can be found at on the HPC systems at: /apps/samples/

The sample code and scripts include:

Script files that demonstrate submitting multiple jobs whilst passing different input variables for each job;

Current samples

/apps/samples/hpc-training:
hello.sh

/apps/samples/job-arrays:
multi-job multi-var

/apps/samples/job-submission:
input job_submit.pbs

/apps/samples/matlab:
hello.m matlab-test.sh

/apps/samples/multi-submit:
hello.exe multi-submit.sh

/apps/samples/PBS:
example.pbs mathemathica.pbs matlab.pbs R.pbs

/apps/samples/sys-files:
gnome-terminal.desktop log-strudel-node-usage remove-old-vnc-pids.sh vnc-log-delete.sh
xstartup-backup-23.01.2018 xstartup-old-isaac-newton hpcusers.txt log-strudel-usage
startup-checker.sh xstartup xstartup-backup-25.01.2018
bash-4.2$

Information on various script can be found at:

  • Sample PBS Submission Script
  • MATLAB Sample Scripts
  • Mathematica Sample Scripts
  • Multiple Job Submission
  • Multiple Run Job Submisson
  • PBS Job Array Submission
  • R Sample Scripts

It is hoped that these sample scripts and programs will assist you to develop better MATLAB programs and assist to increase your research output, by being able to submit many jobs in parallel.

Support

eresearch@cqu.edu.au

tasac@cqu.edu.au OR 1300 666 620

Hacky Hour (3pm – 4pm every Tuesday)

High Performance Computing Teams site