File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -28,3 +28,10 @@ soft add +python
2828if ( $? PERL ) then
2929 printenv
3030endif
31+ #
32+ # Variables to be used on the compute node need to be set in the LOCAL_ARGS
33+ # with the runjob --envs argument as in
34+ # setenv LOCAL_ARGS "--envs RUNFAST=reallyfast"
35+ #
36+ setenv LOCAL_ARGS " --envs MPI_TYPE_MAX=$MPI_TYPE_MAX --envs XLSMPOPTS=$XLSMPOPTS
37+ --envs OMP_DYNAMIC=$OMP_DYNAMIC --envs MALLOCMULTIHEAP=$MALLOCMULTIHEAP "
Original file line number Diff line number Diff line change @@ -850,6 +850,12 @@ my $LOCARGS = "--block $ENV{'COBALT_PARTNAME'}";
850850 {
851851 $LOCARGS .= "--shape $ENV{'COBALT_CORNER'}";
852852 }
853+ if(defined $ENV{'LOCAL_ARGS'})
854+ {
855+ $LOCARGS .= " $ENV{LOCAL_ARGS} ";
856+ }
857+
858+
853859E1
854860 my $code2 =<<"E2" ;
855861 $mpirun
You can’t perform that action at this time.
0 commit comments