X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=cgi-bin%2Fctsim.cgi;h=1c2d4a1dea4a8c4124aa00b0e54c0f81d029d821;hb=0c41eadc2ba97b93d6cfbaa16d8bf0a1e75597e3;hp=d81ee68fba76b9371ca92ab42ecb47a0a9a3911b;hpb=d0628f1ae00136e2202a614917f52a2b0655df70;p=ctsim.git diff --git a/cgi-bin/ctsim.cgi b/cgi-bin/ctsim.cgi index d81ee68..1c2d4a1 100644 --- a/cgi-bin/ctsim.cgi +++ b/cgi-bin/ctsim.cgi @@ -65,7 +65,7 @@ if ($Disp_Max ne 'auto' && ! ($Disp_Max =~ /^[\d\.]+$/)) { my $MPI_Str = FilterMetaChars($in{'MPI'}); my $MPI = 0; -$MPI = 1 if ($MPI_Str eq "yes"); +$MPI = 1 if ($MPI_Str eq "yes" && $::mpi_enable ne ""); $error .= "IR Nx and Ny must be between 5 and 1024
" if ($IR_Nx < 5 || $IR_Nx > 1024 || $IR_Ny < 5 || $IR_Ny > 1024); $error .= "IR Filter Parameter must be between 0 and 1
" if ($IR_Filter_Param < 0 || $IR_Filter_Param > 1);