Licensing and Access
CASINO is licensed software that is free to academic users. All HECToR users have access to the CASINO binaries.
To run CASINO you need to add the correct module to your environment. The default version of CASINO on HECToR is currently 2.6 so
module add casino
will give you access to CASINO 2.6. If you want CASINO 2.3 then you should use:
module add casino/2.3
The CASINO job should be run from the directory in which the input files are stored.
Example Job Submission Script
An example CASINO job submission script is shown below.
#!/bin/bash --login #PBS -N casino_job #PBS -l mppwidth=2048 #PBS -l mppnppn=32 #PBS -l walltime=01:00:00 # Use the correct budget code for your project #PBS -A budget # Move to directory that script was submitted from export PBS_O_WORKDIR=$(readlink -f $PBS_O_WORKDIR) cd $PBS_O_WORKDIR module load casino # Set the number of threads to 1 # This prevents any system libraries from automatically # using threading. export OMP_NUM_THREADS=1 aprun -n 2048 -N 32 $CASINO/bin/casino
Compiling CASINO 2.1 on HECToR
Unpack CASINO_v2.1.tar.gz in your $HOME directory. Set the following environment variables
export QMC_ARCH="xt4" export PATH=$PATH:$HOME/CASINO/bin_qmc/utils/$QMC_ARCH
Go to the CASINO/src/ directory and type make.
Go to the CASINO/utils/ directory and type make.
If the compilation was successful, the executable will be put into CASINO/bin_qmc/utils/$QMC_ARCH/.