Skip to content
Snippets Groups Projects
Commit fb0269f3 authored by Danny Auble's avatar Danny Auble
Browse files

one more fix

parent 4585b4c0
No related branches found
No related tags found
No related merge requests found
...@@ -39,6 +39,7 @@ set job_id 0 ...@@ -39,6 +39,7 @@ set job_id 0
set job_size 32 set job_size 32
set prompt "PROMPT: " set prompt "PROMPT: "
set mpicc "/usr/local/bin/mpixlc_r" set mpicc "/usr/local/bin/mpixlc_r"
set mpicc_opts "-q64"
print_header $test_id print_header $test_id
...@@ -50,17 +51,16 @@ if {([test_bluegene] == 0) || [string compare [get_bluegene_type] "Q"]} { ...@@ -50,17 +51,16 @@ if {([test_bluegene] == 0) || [string compare [get_bluegene_type] "Q"]} {
# #
# Test for existence of mpi compiler # Test for existence of mpi compiler
# #
if {[info exists mpicc] && [file executable $mpicc]} { if {![info exists mpicc] || ![file executable $mpicc]} {
set mpicc "$mpicc -q64"
} else {
set mpicc $bin_cc set mpicc $bin_cc
set mpicc_opts "-m64"
} }
# #
# Delete left-over program and rebuild it # Delete left-over program and rebuild it
# #
exec $bin_rm -f $test_prog ${test_prog}.o exec $bin_rm -f $test_prog ${test_prog}.o
exec $mpicc -o $test_prog ${test_prog}.c exec $mpicc $mpicc_opts -o $test_prog ${test_prog}.c
# #
# Spawn a job via salloc # Spawn a job via salloc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment