Skip to content

Commit

Permalink
Better solution to avoid changing option numbering: if users select a…
Browse files Browse the repository at this point in the history
… serial option, output an error message
  • Loading branch information
mkavulich committed Feb 20, 2020
1 parent e71132f commit c673ef3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sorc/arch/Config.pl
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
$validresponse = 0 ;

## UPP only supports dmpar @platforms for this release
@platforms = qw ( dmpar ) ;
@platforms = qw ( serial dmpar ) ;

until ( $validresponse ) {
print "-"x73 . "\n" .
Expand Down Expand Up @@ -249,6 +249,7 @@
# Serial compile uses a stub library for mpi calls
if ( $paropt eq 'serial' )
{
die "\nERROR ERROR ERROR ERROR ERROR ERROR\n\nserial builds are not available for this release;\nThis option will be re-implemented in the future\n\nERROR ERROR ERROR ERROR ERROR ERROR\n";
$sw_serial_mpi_stub = "wrfmpi_stubs" ;
$sw_serial_mpi_lib = "-lmpi" ;
$sw_dmparallelflag = "-DSTUBMPI" ;
Expand Down

0 comments on commit c673ef3

Please sign in to comment.