lib/trinitycrmod/check_parameters.rb in trinitycrmod-0.4.7 vs lib/trinitycrmod/check_parameters.rb in trinitycrmod-0.5.0
- old
+ new
@@ -12,10 +12,10 @@
error( "Can't find geo_file #@geo_file (the path of geo file should be either absolute or set relative to the run folder #@directory). If you are not using a geometry file for this run please unset the parameter geo_file.") if @geo_file and not FileTest.exist? @geo_file
end
def check_parallelisation
error("nrad must be explicitly specified") unless @nrad
- error("Number of jobs: #{n_flux_tubes} must evenly divide the number of processors: #{actual_number_of_processors} when fork_flag is .true.") if fork_flag_actual.fortran_true? and not actual_number_of_processors%n_flux_tubes == 0
+ error("Number of jobs: #{n_flux_tubes_jac} must evenly divide the number of processors: #{actual_number_of_processors} when fork_flag is .true.") if fork_flag_actual.fortran_true? and not actual_number_of_processors%n_flux_tubes_jac == 0
end
def check_flux_option
if @flux_option == "gs2"