#!/bin/bash #SBATCH --job-name=dppo_mujoco_fix #SBATCH --account=hk-project-p0022232 #SBATCH --partition=dev_accelerated #SBATCH --gres=gpu:1 #SBATCH --nodes=1 #SBATCH --ntasks-per-node=1 #SBATCH --cpus-per-task=8 #SBATCH --time=00:30:00 #SBATCH --mem=24G #SBATCH --output=logs/dppo_mujoco_fix_%j.out #SBATCH --error=logs/dppo_mujoco_fix_%j.err # Purge all modules to avoid Intel compiler interference module purge module load devel/cuda/12.4 # Force system GCC export PATH="/usr/bin:$PATH" export CC=/usr/bin/gcc export CXX=/usr/bin/g++ # Clear all Intel-related environment variables unset ICC_PATH unset INTEL_COMPILER_HOME unset INTEL_LICENSE_FILE cd $SLURM_SUBMIT_DIR source .venv/bin/activate echo "Testing MuJoCo compilation with pure GCC environment..." python fix_mujoco_env.py