Hi Ernesto,
thanks for the reply. Indeed it seems some memory issues....I tried to
go to the basic and remove the MA57 and running Valgrind I got only
these errors:
==6791== Conditional jump or move depends on uninitialised value(s)
==6791== at 0x4C2CF23: bcmp (in /usr/lib/valgrind/
vgpreload_memcheck-amd64-linux.so)
==6791== by 0x228BAD56: _gfortran_compare_string (in /usr/lib/
libgfortran.so.3.0.0)
==6791== by 0x5044271: algencan_ (algencan.f:191)
==6791== by 0x505A38A: algencan(double, double, int, int, int,
double*, double*, double*, int, double*, int*, int*, int*, int,
double*, double*, double*, double*, int*) (cwrapper.cpp:163)
==6791== by 0x420512: double algencan_opt<DaoVector, Plan,
std::vector<double, std::allocator<double> > >(DaoVector&, Plan&,
std::vector<double, std::allocator<double> >&, std::vector<double,
std::allocator<double> >&, double) (algencan.hpp:40)
==6791== by 0x4191AC: main (opt4D.cpp:47)
==6791==
==6791== Conditional jump or move depends on uninitialised value(s)
==6791== at 0x228BAD59: _gfortran_compare_string (in /usr/lib/
libgfortran.so.3.0.0)
==6791== by 0x5044271: algencan_ (algencan.f:191)
==6791== by 0x505A38A: algencan(double, double, int, int, int,
double*, double*, double*, int, double*, int*, int*, int*, int,
double*, double*, double*, double*, int*) (cwrapper.cpp:163)
==6791== by 0x420512: double algencan_opt<DaoVector, Plan,
std::vector<double, std::allocator<double> > >(DaoVector&, Plan&,
std::vector<double, std::allocator<double> >&, std::vector<double,
std::allocator<double> >&, double) (algencan.hpp:40)
==6791== by 0x4191AC: main (opt4D.cpp:47)
==6791==
==6791== Conditional jump or move depends on uninitialised value(s)
==6791== at 0x5044274: algencan_ (algencan.f:191)
==6791== by 0x505A38A: algencan(double, double, int, int, int,
double*, double*, double*, int, double*, int*, int*, int*, int,
double*, double*, double*, double*, int*) (cwrapper.cpp:163)
==6791== by 0x420512: double algencan_opt<DaoVector, Plan,
std::vector<double, std::allocator<double> > >(DaoVector&, Plan&,
std::vector<double, std::allocator<double> >&, std::vector<double,
std::allocator<double> >&, double) (algencan.hpp:40)
==6791== by 0x4191AC: main (opt4D.cpp:47)
==6791==
The problem seems to be at line 191 in algencan.f where the code check
for MA57. No other memory issues seem to be detected. I can not
understand...
Andrea
> > Seehttp://
www.ime.usp.br/~egbirgin/tango/for details.