Making some changes to avert the compiler-related problems on rzzeus and hera
This commit is contained in:
parent
d6ab821560
commit
0e54b32357
@ -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
|
||||
|
||||
@ -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],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user