Skip to content
Snippets Groups Projects
slurm_cosine_simiarity.sh 1.09 KiB
Newer Older
Atharva Jadhav's avatar
Atharva Jadhav committed
#!/usr/bin/zsh

### Add basic configuration for job

#SBATCH --job-name=cosine_simiarity_evaluation
#SBATCH --output=logs/cosine_simiarity_evaluation_analysis%j.log
#SBATCH --error=logs/cosine_simiarity_evaluation_analysis_error_%j.log
Atharva Jadhav's avatar
Atharva Jadhav committed
#SBATCH --nodes=1
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=1
#SBATCH --time=00:30:00
Atharva Jadhav's avatar
Atharva Jadhav committed


###------------------------------------------------------------------------------------------------------------------------------

### Run the project in work directory of the cluster (configure based on need!! 
### RWTH File System : https://help.itc.rwth-aachen.de/en/service/rhr4fjjutttf/article/da307ec2c60940b29bd42ac483fc3ea7/
cd $HPCWORK
cd codebud/evaluation
###------------------------------------------------------------------------------------------------------------------------------

### JOB SCRIPT RUN
module load GCCcore/.13.2.0
module load Python/3.11.5
module load CUDA

source ../../venvs/codebud/bin/activate
echo $VIRTUAL_ENV

python --version

python cosine_similarity_evaluation.py
Atharva Jadhav's avatar
Atharva Jadhav committed
module unload CUDA
module unload Python/3.11.5

deactivate
echo "Script ran successfully"