Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
marchdf committed Sep 16, 2024
1 parent 28bee20 commit c192f22
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions dot_local/share/zinit/plugins/hpc/hpc.plugin.zsh.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,23 @@ export TMPDIR=${SCRATCH}/.tmp

umask u=rwx,go=rx,o=rx

function pv510server() {
module load paraview/5.10.1-server
srun -n $1 -c 1 --cpu_bind=cores pvserver
}

function pv510gui() {
module load paraview/5.10.1-gui
vglrun paraview
}

function pvtunnel() {
ssh -L 11111:$1:11111 mhenryde@$1
}

{{ end }}

{{- if or (.nrel_hpc) (.ornl_hpc) }}
function load_custom_modules {

{
Expand Down Expand Up @@ -91,23 +108,6 @@ function load_custom_modules {
} &> /dev/null
}

function pv510server() {
module load paraview/5.10.1-server
srun -n $1 -c 1 --cpu_bind=cores pvserver
}

function pv510gui() {
module load paraview/5.10.1-gui
vglrun paraview
}

function pvtunnel() {
ssh -L 11111:$1:11111 mhenryde@$1
}

{{ end }}

{{- if or (.nrel_hpc) (.ornl_hpc) }}
load_custom_modules
{{ end }}

Expand Down

0 comments on commit c192f22

Please sign in to comment.