Beam group Condor examples
COSY Infinity MPI batch scripts ( thanks to Herman Schaumburg)
- Description:
- Particles with High order Adaptive Dynamics (PHAD) is a COSY Infinity script for efficient simulation of the movement of charged particles within electromagnetic fields. It employs Strang splitting to combine the Fast Multipole Method with an adaptive Picard iteration-based integrator.
- Files to run the script except for those used to build COSY: mpi_COSY_minimal_job.zip , PHAD_10K_electron_beamlet.zip
- Note1: PHAD zip file: The PHAD fox file needs a binary of the FMM to run as well as COSY to run.
- Note2: Instructions for the NIU beam physics group: https://niu.edu/beamphysicscode/local_users/index.shtml
How to run:
- login to hpcm.nicadd.niu.edu
- create COSY project directory under /bdata/$USER or /xdata/$USER areas:
- mkdir -p /bdata/$USER/cosy_condor; cd /bdata/$USER/cosy_condor;
- download and unzip archives:
- unzip mpi_COSY_minimal_job.zip; unzip PHAD_10K_electron_beamlet.zip
- inspect and run submit_mpi_COSY_job_2018.sh script
- ./submit_mpi_COSY_job_2018.sh script phpc2 16
- check job status using condor tools
- condor_q -global; condor_q -analyze job_ID
- when completed ( ~10 min) check the job output directory:
- ls -ltrh ./condor_out/mpi*
- Customize submit_mpi_COSY_job_2018.sh script ( executable, e-mail, e.t.c)