Skip to content

Commit

Permalink
disable ansys depdency check (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom authored May 16, 2023
1 parent 80eef4f commit 260e47e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion template/script.sh.erb
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,13 @@ export I_MPI_PMI_EXTENSIONS=on
# Add custom "OSC MPI" as a start method
export CFX5_START_METHODS_CCL="<%= session.staged_root.join("cfx_assets", "start-methods.ccl") %>"

# disable checking for dependencies because it takes forever. See INC0370959.
export ANS_NODEPCHECK='nothankyou'

# Make a hosts file that CFX will use in Parallel Distributed
mkdir -p "${HOME}/.cfx"
export CFX5_HOSTS_CCL="${HOME}/.cfx/hostinfo.${PBS_JOBID}"
NODES=$(tr '\n' ',' < "${PBS_NODEFILE}" | sed 's/,$//g')
touch "${CFX5_HOSTS_CCL}"
cfx5parhosts -add "${NODES}" -user -file "${CFX5_HOSTS_CCL}"

# Only give OSC MPI option to user through GUI
Expand Down

0 comments on commit 260e47e

Please sign in to comment.