Skip to content

Commit

Permalink
enable maya 2023 (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom authored Apr 25, 2023
1 parent dc51d03 commit c13aa5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/models/maya_script.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def cluster
end

def available_versions
['2020', '2022']
['2020', '2022', '2023']
end

def job_name
Expand Down
4 changes: 2 additions & 2 deletions jobs/video_jobs/maya_submit.sh.erb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ echo "starting at $(date)"
module purge
#load the singularity and ACCAD modules and record the loaded module list
module use /usr/local/share/lmodfiles/project/osc
module load singularity/current
module load ruby

<%
Expand Down Expand Up @@ -89,7 +88,8 @@ END_FRAMES=(shift <%= task_end_frames.join(' ')%>)
export TASK_START_FRAME=${START_FRAMES[$SLURM_ARRAY_TASK_ID]}
export TASK_END_FRAME=${END_FRAMES[$SLURM_ARRAY_TASK_ID]}

CMD=(singularity exec -B $BIND_DIRS $MAYA_IMG Render)
ulimit -c 0
CMD=(apptainer exec -B $BIND_DIRS $MAYA_IMG Render)
CMD+=(-r $RENDERER $SKIP_EXISTING ${EXTRA_ARGS} -proj $PRJ_DIR -s $TASK_START_FRAME -e $TASK_END_FRAME)

echo "executing: ${CMD[@]} <%= Shellwords.escape(file) %>"
Expand Down

0 comments on commit c13aa5a

Please sign in to comment.