Making some changes to avert the compiler-related problems on rzzeus and hera

This commit is contained in:
falgout 2013-01-18 22:42:03 +00:00
parent d6ab821560
commit 0e54b32357
2 changed files with 6 additions and 1 deletions

View File

@ -49,7 +49,7 @@ mv -f configure.??? $output_dir
./test.sh make.sh $src_dir test
mv -f make.??? $output_dir
./test.sh run.sh $src_dir -D HYPRE_NO_SAVED
./test.sh run.sh -ams -ij -sstruct -struct $src_dir -D HYPRE_NO_SAVED
mv -f run.??? $output_dir
# Echo to stderr all nonempty error files in $output_dir

View File

@ -2874,8 +2874,13 @@ main( hypre_int argc,
k = index[i] - pdata.graph_ilowers[box][i];
k /= pdata.graph_strides[box][i];
k *= pdata.graph_index_signs[box][i];
#if 0 /* the following does not work with some Intel compilers with -O2 */
to_index[j] = pdata.graph_to_ilowers[box][j] +
k * pdata.graph_to_strides[box][j];
#else
to_index[j] = pdata.graph_to_ilowers[box][j];
to_index[j] += k * pdata.graph_to_strides[box][j];
#endif
}
HYPRE_SStructGraphAddEntries(graph, part, index,
pdata.graph_vars[box],