Commit febbd7f4 authored by Hamilton, Steven P's avatar Hamilton, Steven P
Browse files

Fixing input arguments.

parent 1bd069cd
......@@ -324,12 +324,6 @@ void Source_Transporter<Geometry>::solve(SP_Source source) const
size_type num_particles = source->num_batch();
size_type num_particles_left = num_particles;
if (d_verbosity >= LOW)
{
std::cout << "Starting solve with " << num_particles
<< " particles on node " << profugus::node() << std::endl;
}
thrust::device_vector<int> event(num_particles);
thrust::device_vector<int> indirection(num_particles);
thrust::counting_iterator<int> cnt(0);
......
......@@ -38,8 +38,8 @@ void print_usage()
{
if (node == 0)
{
std::cout << "Usage: profugus " << std::endl;
std::cout << "Executes the profugus executable using N "
std::cout << "Usage: profugus -arch <cpu/gpu> -np <N>" << std::endl;
std::cout << "Executes the profugus executable on cpu/gpu using N "
<< "particle histories." << std::endl;
exit(1);
}
......@@ -116,7 +116,7 @@ std::tuple<std::string,def::size_type> parse_input_arguments(
std::cout << "Executing with Np = " << Np << std::endl;
}
return std::make_tuple(arch, 1e6);
return std::make_tuple(arch, Np);
}
//---------------------------------------------------------------------------//
......@@ -177,7 +177,7 @@ int main(int argc, char *argv[])
problem_db->set("Np",Np);
// Set arch
problem_db->set("arch",arch);
problem_db->set("architecture",arch);
// Set cross section file
auto mat_db = Teuchos::sublist(master,"MATERIAL");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment