File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 1290
1290
run_command_or_die(" export PATH=$opt_cuda_dir /bin:\\\$ PATH" );
1291
1291
run_command_or_die(" export LD_LIBRARY_PATH=/usr/lib64:$opt_cuda_dir /lib64:/usr/lib64/nvidia:\\\$ LD_LIBRARY_PATH" );
1292
1292
1293
- if ($version eq " 3.6.3" or $version eq " 3.7.3a" or $version eq " 3.7.3-next" ) {
1293
+ if ($version eq " 3.6.3" or $version eq " 3.7.3a" or $version eq " 3.7.3-next" or $version eq " 3.7.6 " ) {
1294
1294
if ($opt_viennacl eq " 0" ) {
1295
1295
# download and unpack compatible cusp source files
1296
1296
my $cusp_name = " cusp-v0.4.0.zip" ;
@@ -1367,6 +1367,17 @@ ()
1367
1367
my $COPTFLAGS =" -O3 " ;
1368
1368
my $CXXOPTFLAGS =" -O3 " ;
1369
1369
1370
+ # IBM BG/Q
1371
+ if ( $petsc_arch eq " arch-ppc64" ) {
1372
+ $CXXFLAGS =" -O3 -qstrict -qarch=qp -qtune=qp" ;
1373
+ $CFLAGS =" -O3 -qstrict -qarch=qp -qtune=qp" ;
1374
+ $FFLAGS =" -O3 -qstrict -qarch=qp -qtune=qp" ;
1375
+ $F90FLAGS =" -O3 -qstrict -qarch=qp -qtune=qp" ;
1376
+ $CXXOPTFLAGS =" -O3 -qstrict -qarch=qp -qtune=qp" ;
1377
+ $COPTFLAGS =" -O3 -qstrict -qarch=qp -qtune=qp" ;
1378
+ $FOPTFLAGS =" -O3 -qstrict -qarch=qp -qtune=qp" ;
1379
+ }
1380
+
1370
1381
if ($version eq " 3.7.6" ) {
1371
1382
$dynamicload =" " ;
1372
1383
}
You can’t perform that action at this time.
0 commit comments