Commit 5213f2a7 authored by Alvarez, Gonzalo's avatar Alvarez, Gonzalo
Browse files

TjAncillaC:: cannot parallel for now

parent e0e9183d
......@@ -210,7 +210,12 @@ sub procMemcheck
my $mode = "OK";
my $extra = "UNDEFINED";
my %lost;
open(FILE, "<", $file1) or die "$0: Cannot open $file1 : $!\n";
my $ret = open(FILE, "<", $file1);
if (!$ret) {
print STDERR "$0: Cannot open $file1 : $!\n";
return;
}
while (<FILE>) {
if (/FATAL: You are requesting/ || /mandatory label/) {
$mode = "FATAL";
......
......@@ -131,7 +131,10 @@ public:
: ModelBaseType(solverParams, geometry, io),
modelParameters_(io),
geometry_(geometry)
{}
{
if (PsimagLite::Concurrency::codeSectionParams.npthreads != 1)
err("TjAncillaC:: cannot be run with Threads > 1 sorry\n");
}
void write(PsimagLite::String label1, PsimagLite::IoNg::Out::Serializer& io) const
{
......
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