[Ipopt] ipopt timing statistics w/ openmp timers ?
Stefan Vigerske
stefan at math.hu-berlin.de
Sat Jul 18 17:54:44 EDT 2015
Hi,
can you clarify a bit what you mean by "way off"?
The timers are implemented in Ipopt/src/Common/IpUtils.cpp
For CPU time, getrusage() is used. For wallclock time, gettimeofday() is
used.
So you suggest to use omp_get_wtime() instead of gettimeofday(), if
OpenMP is enabled?
Stefan
On 07/15/2015 07:52 PM, Ian Washington wrote:
> Hi All,
>
> The total cpu (or wall clock) timings reported by ipopt when using an
> openmp enabled linear solver like ma86, ma97, etc. appear to be way off.
> This fairly evident when using the option: print_timing_statistics yes
>
> Does anyone know which timers are being used (i.e., the standard system
> timers from <sys/time.h>, it would appear so.)
>
> Is there a way to configure an ipopt build to use the openmp timers ?
>
> Thanks,
> Ian.
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt
>
More information about the Ipopt
mailing list